Convert Words to Numbers
Reads numbers written in English words and gives the digits. It handles ordinals, decimals, years, dozens, money amounts and lists, and points out misspelled words.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Reads "and", hyphens, "a hundred", dozens, ordinals, "minus", "point five", years like nineteen ninety-nine, and amounts like five dollars and ten cents.
Need the other direction? Convert numbers to words.
The conversion runs in your browser; the text you type is not sent anywhere.
How to Use Convert Words to Numbers
- Paste the words. One number per line, for example one hundred and five.
- Read the results. The digits appear as you type. A line with a problem names the word it could not read.
- Choose the format. Add thousands separators, keep or drop ordinal suffixes, or show the words next to each number.
- Copy or download. Take the list as text or a .txt file.
Example: a mixed list of number words
Click Sample, or paste these seven lines:
- one thousand two hundred thirty-four
- twenty-first
- minus forty-two
- three point one four
- 2.5 million
- nineteen ninety-nine
- five dollars and ten cents
The tool returns, one result per line: 1234, 21st, -42, 3.14, 2500000, 1999, 5.10. With Thousands separators on, 1234 becomes 1,234 and 2500000 becomes 2,500,000.
A misspelled word does not stop the list. "fourty two" gives the message "Could not read “fourty” (word 1). Did you mean “forty”?" on its own line, and every other line still converts.
What the converter understands
Every result below was produced by the tool.
| You type | You get |
|---|---|
| one thousand two hundred thirty-four | 1234 |
| twenty-first | 21st |
| nineteen eighty-four | 1984 |
| three point one four | 3.14 |
| 2.5 million | 2500000 |
| four score and seven | 87 |
| a dozen | 12 |
| half a million | 500000 |
| five dollars and ten cents | 5.10 |
| One thousand two hundred thirty-four and 56/100 dollars | 1234.56 |
| minus forty-two | -42 |
| five five five one two one two | 5551212 |
Spelling traps in number words
| Correct | Common mistake | Why |
|---|---|---|
| forty | fourty | Four keeps its u, but forty drops it |
| ninety | ninty | Ninety keeps the e from nine |
| nineteen | ninteen | Same rule as ninety |
| ninth | nineth | The e is dropped before th |
| twelfth | twelveth | The ve becomes f |
| eighth | eigth | Eight plus th keeps both h letters |
| hundred | hundered | Two syllables, not three |
How it works
- The text is split into words. Hyphens, commas and capitals do not matter, and "and" is skipped.
- Units, teens and tens add up inside a group. "hundred" multiplies the group by 100, and a scale word (thousand, million and on to vigintillion) moves the group into the running total.
- Two tens or teens in a row are read as a spoken year or price: nineteen eighty-four is 1984 and twenty twenty-four is 2024. "oh" works as zero in years like nineteen oh five.
- After "point", each word is read as digits, so three point one four is 3.14. A scale word after the decimal multiplies the whole number: one point five million is 1500000.
- A dozen is 12, a score is 20, a half is 0.5 and a quarter is 0.25. Digits mixed with words work too: 2.5 million.
- Money words split the amount: dollars, pounds, euros and rupees before; cents, pence and paise after. Cheque wording like "and 56/100 dollars" is read as well.
- Only single digit words in a row, such as five five five one two one two, are read digit by digit (5551212).
- All arithmetic uses exact whole numbers (BigInt), so very large values keep every digit.
Limits
- English only. Words in other languages, Roman numerals and fractions such as one third are not read.
- "thousand million" is read as 1,000,000,000. The old British long-scale billion (a million million) is not used.
- The spelling hint covers words up to two letters away from a number word. Anything further gives a plain error.
Frequently asked questions
How do I convert written numbers to digits in Excel?
Excel has no built-in function for it. Paste the column here, copy the results and paste them back next to the words. Each line stays in order, and lines that cannot be read are marked.
What number is four score and seven?
Eighty-seven. A score is 20, so four score is 80, plus seven. It is the opening of the Gettysburg Address, "Four score and seven years ago".
Can it read ordinals like twenty-first?
Yes. Ordinals give 21st, 100th and so on. Turn off Keep ordinals as 21st if you only want the plain number.
Does "one thousand and five" give 1005?
Yes. The word "and" is ignored, so British and American wording give the same result.
Related Tools
Convert Numbers to Words →
Turns numbers into English words, from zero up to 999 vigintillion. It also writes…
Calculate Fibonacci Numbers →
Calculate Fibonacci Numbers Generate up to 5,000 Fibonacci numbers with exact BigInt precision. Free,…
Calculate Lucas Numbers →
Calculate Lucas Numbers - Generate up to 5,000 Lucas numbers with exact BigInt precision.…
Generate Prime Numbers →
Generate Prime Numbers List every prime up to 10,000,000 with the Sieve of Eratosthenes.…
Convert Numbers to Image →
Render any number or text as a PNG / JPEG with custom font, color,…
Filter Numbers →
Filter a list of numbers - gt, lt, eq, even/odd, positive/negative, integer/decimal, unique, between,…
Generate Even Numbers →
Generate the first N even numbers (2, 4, 6, 8, ...) with your chosen…
Generate Odd Numbers →
Generate the first N odd numbers (1, 3, 5, 7, ...) with your chosen…
Sort Numbers →
Sort a list of numbers by value, ascending or descending, handling integers, decimals, and…
Add Hex Numbers →
Add Hex Numbers instantly. Free, offline, client-side tool that outputs results in both hex…
Generate Abundant Numbers →
Generate abundant numbers, whose proper divisors add up to more than the number itself.
Generate Almost Perfect Numbers →
Find almost perfect numbers up to a limit, whose divisors sum to one less…