How to use words to number
- Type or paste into Number in words (one per line). Hyphens, commas and “and” are all fine.
- Leave Group thousands with commas ticked for 1,520, or untick it for 1520.
- Tick Keep ordinal suffix (21st) if words like “twenty-third” should keep their ending.
- One line gives a single Number. Several lines give a Numbers list plus a table that pairs each phrase with its value.
What it does and when to use it
Numbers written out in words appear in contracts, cheques, transcripts and school work. To sort, add or check them you need digits. Converting long ones by hand is error-prone: “nine hundred thousand and nine” is easy to misread. This tool does it in one step and shows each conversion next to its source.
Examples of use:
- Checking that the amount in words on an invoice or cheque matches the figure.
- Turning number words from a speech-to-text transcript into data.
- Marking homework where pupils write numbers in words.
For the reverse, digits to words, use number to words. To pull digits that are already in a text, use the number extractor.
How it works
The phrase is made lowercase, hyphens and commas become spaces, and “and” is dropped. The words are then read from left to right:
- Units, teens and tens (one to nineteen, twenty to ninety) are added together, so “forty two” is 42.
- hundred and dozen multiply what came before, so “five hundred” is 500 and “a dozen” is 12.
- Scale words (thousand, million, billion and up to sextillion, plus lakh and crore) close a group and add it to the total.
- Pairs like “nineteen eighty-four” are read as spoken years, and single digits in a row (“five five five”) are read digit by digit.
- Numerals can be mixed in, so “2.5 million” works.
- “minus” or “negative” at the start makes the number negative, and “point” starts the decimal part.
Ordinal words such as first, twelfth or twentieth are turned back into their base number. The maths uses whole numbers internally, so results are exact. It runs in your browser.
Worked examples
These outputs come from the tool’s own function.
one thousand five hundred and twentygives1,520.three lakh fifty thousandgives350,000.twenty-thirdwith Keep ordinal suffix ticked gives23rd.minus three point one fourgives-3.14.five five five one two one twowith grouping off gives5551212, handy for phone numbers read aloud.
Limits and tips
- Only English number words are understood.
- Fractions in words (“three quarters”, “half”) are not supported; write them as “zero point seven five”.
- Currency words such as “dollars” stop the conversion. Delete them first.
- A scale word after the decimal digits applies to the whole number, so “two point five million” gives 2,500,000, the same as “2.5 million”.
Frequently asked questions
Does it understand Indian numbering such as lakh and crore?
How large a number can it convert?
How do I write decimals?
Why does "nineteen eighty-four" show as 1,984?
What happens with a word it does not know?
How do we know nothing is uploaded? Test it yourself on the privacy proof page.