Words-to-Numbers Converter
Fast, accurate and free online words to numbers toolsti converter tool running directly in your browser.
-
1Enter data
Enter content, paste text or load a file from disk. -
2Click the button
The tool will immediately process your data in the browser. -
3Get the result
Copy the finished text or save the file to your device.
return "Result ready in 0.1s";
}
Rate this tool:
Related tools
Other tools you may find usefulWord to number converter - convert text to numbers and vice versa
Word to number converterconverts numbers written in words (e.g. "two hundred and thirty-five") to digits (235) and vice versa - digits to the full verbal representation in Polish. Useful for invoices, contracts, legal documents and language learning.
When do we write numbers in words?
In Polish, typographic and legal conventions indicate several cases when numbers are written in words: in legal documents and contracts, amounts are often given in numbers and words - e.g. "PLN 10,000 (in words: ten thousand zlotys)", bank checks - the amount in words is a protection against forgery, formal correspondence - numbers from one to ten are usually written in words, numbers at the beginning of the sentence - always in words ("Twenty people..." not "20 people..."), age and dates in literary texts - "thirty-five-year-old man".
How does the converter work?
Digit → word conversion: the algorithm divides the number into orders of magnitude (thousands, hundreds, tens, ones) and uses Polish dictionary forms. Particularly difficult are: numbers 11-19 (eleven, twelve...), the genitive form after numbers 5-21, grammatical gender (two/two, both/both), declination - the calculator gives the nominative form. Word → digit conversion: tokenizing text, mapping words to numeric values, and merging groups (e.g. "two thousand" = 2 × 1000 = 2000).
Specificity of the Polish language
Polish is exceptionally complex in terms of numbers: the word "thousand" is inflected by cases (thousand, thousand, thousand, thousand), the numbers 2–4 require a different form than 5–21 ("two thousand", but "five thousand"), million numbers have a third form for 11–19 ("eleven million", not "eleven million"), a kind grammatical influences the form of numbers ("two cats" but "two women"). The converter supports these rules for nominative forms.
Applications in documents
The converter is particularly useful for: lawyers and notaries (amounts in contracts), accountants (invoices and financial documents), clerks (letters and administrative decisions), teachers (mathematics tests), programmers (generating test data with verbal representation, recognizing amounts in NLP text).
Frequently asked questions
How to write 1,234,567 in words in Polish?
One million two hundred thirty-four thousand five hundred sixty-seven. Breakdown: 1,000,000 = one million, 234,000 = two hundred and thirty-four thousand, 500 = five hundred, 67 = sixty-seven. The converter automatically performs this breakdown and reassembly of grammatical forms.
How to write the amount in words on an invoice or contract?
Standard entry in documents: "PLN 10,500.00 (in words: ten thousand five hundred zlotys 00/100 cents)" or "PLN 10,500.50 (in words: ten thousand five hundred zlotys 50/100 cents)". The cent part is written as a fraction (cents/100) or in words "and fifty cents". The converter generates both formats.
What are the rules for spelling numerals in Polish?
The main rules: numbers from 1 to 10 are written in words in literary texts, numbers from 11 and up - in numbers (except when starting a sentence), numbers with units are written in numbers (5 km, 20 kg), multi-digit numbers can be divided by a space (10,000, not 10,000), in comparative statements ("from 5 to 10 times") we use numbers for consistency.
How does the converter deal with negative numbers and fractions?
Negative numbers: "minus two hundred" = -200. Decimal fractions: "three point five" or "three point five" = 3.5. Fractions: "two thirds" = 2/3. The converter supports all these cases, although fractions have irregular forms (half, quarter, three quarters, two fifths).
How to implement number-to-word conversion in Python?
pip install num2words: from num2words import num2words; num2words(1234, lang='pl')= "one thousand two hundred thirty-four". The library supports the Polish language (lang='pl') and various grammatical cases (to='ordinal' for ordinal numbers: "thousand two hundred and thirty-four"). JavaScript: "written-number" library with translations or your own implementation.