How the Words to Numbers Converter Reads Your Text
This words to numbers converter reads English number words and writes them as digits. It understands hyphens (forty-two), the word and (one hundred and five), a hundred, negatives, decimals with point, multi-word ordinals such as twenty-third, and amounts in dollars and cents or rupees and paise. Capital letters do not matter. The sample on this page:
one hundred and five
forty-two
one lakh twenty thousand
three million two hundred fifty thousand
minus seven point two five
one hundred dollars and fifty centscomes out as:
105
42
120000
3250000
-7.25
100.50To go the other way, use Numbers to Words, which writes a figure out in words. The two tools share one vocabulary, so a number written by one can be read back by the other.
Lakh and Crore or Million and Billion
Both systems are read without a setting: thousand, million, billion and trillion, and lakh (or lac), crore, arab and kharab. The digits are the same either way, only the commas differ. With Separators set to Indian, one lakh twenty thousand and two crore fifty lakh become:
1,20,000
2,50,00,000With Separators set to International, three million two hundred fifty thousand becomes 3,250,000. With Separators set to None you get plain digits such as 3250000, which is the safest choice if the result goes into a spreadsheet or a program.
Convert Numbers Written Inside a Sentence
Set Read to Numbers inside text to change only the spelled-out numbers in a paragraph. This sentence:
We ordered twenty-one chairs and a hundred and fifty plates for the twenty-third of May. The bill came to two thousand four hundred dollars and fifty cents.becomes:
We ordered 21 chairs and 150 plates for the 23rd of May. The bill came to 2400.50 dollars.Ordinary English is full of words that look like numbers, so this mode follows a few fixed rules. Read the result before you use it.
- The word one is always changed, so no one becomes no 1 and the second one becomes the second 1.
- A lone first or second stays a word, because it is often not a number (at first, one second). Longer ordinals such as twenty-third or one hundred and first are converted.
- Point needs a number before it. Two point five becomes 2.5, but Point five at the start of a sentence becomes Point 5.
- Minus after a number stays a word: ten minus four becomes 10 minus 4. Minus at the start of a number is a sign: minus three degrees becomes -3 degrees.
To count how often each word appears in the result, use the Word Frequency Counter.
Dollars, Rupees, Decimals and Negative Numbers
A negative number starts with minus or negative: minus seven point two five gives -7.25. A decimal is read digit by digit after point, so three point one four gives 3.14. Zero, nought and oh (as in zero point oh five, which gives 0.05) are understood.
Money works differently in the two modes. In One number per line mode a currency word is dropped and only the figure is kept: one dollar gives 1, and rupees one lakh only gives 100000. One hundred dollars and fifty cents gives 100.50. In Numbers inside text mode the currency word stays in your sentence, as in 2400.50 dollars above. Amounts are shown as plain figures. The tool does not know which currency you mean and does not add a symbol.
Errors and What the Tool Will Not Guess
In One number per line mode the tool does not guess. A misspelled word or words in an order that does not make a number stop the conversion with a message that names the line. If line 4 of a list contains fourty, the message is:
Line 4: "fourty" is not an English number word. Check the spelling, or set Read to Numbers inside text to keep other words.Digits mixed with words, such as 5 thousand, are not read. Odd input such as one crore two crore has no normal meaning, and the tool returns a long figure for it instead of an error, so check unusual phrases yourself. Numbers can have up to 36 digits before the decimal point. Other languages and Roman numerals are not supported.
Cheques, Lists and Privacy
Cheque wording such as Rupees One Lakh Only is read as 100000. The tool only helps with the figures; it does not check that a cheque is valid. To join the converted list into one line, use List to Comma Separated. If the result still has stray spaces, the Space Remover cleans them.
Everything runs in your browser and your text is not uploaded. See the Privacy Policy.