Words to Number Converter
Convert English number words back to numeric digits. Type words like "one thousand two hundred thirty-four" and get 1,234. This is the reverse of our number to words converter. Useful for parsing written amounts from checks, legal documents, and contracts.
How to Convert Words to Numbers
- Enter the number written in English words (e.g., "five hundred sixty-seven").
- Use standard English number names: one through nineteen, twenty through ninety, hundred, thousand, million, billion, trillion.
- Hyphens between compound numbers are optional (twenty-three or twenty three).
- The word "and" is ignored (one hundred and five = 105).
- Click "Convert to Number" to see the numeric result.
Formula
Algorithm: English Words to Number
1. Split input into individual words
2. For each word:
- If ones (one-nineteen): add to current chunk
- If tens (twenty-ninety): add to current chunk
- If "hundred": multiply current chunk by 100
- If scale (thousand/million/billion):
multiply current chunk by scale,
add to total result, reset chunk to 0
3. Final result = total + remaining chunk
Example: "two thousand three hundred forty-five"
two → current = 2
thousand → result = 2×1000 = 2000, current = 0
three → current = 3
hundred → current = 3×100 = 300
forty → current = 300+40 = 340
five → current = 340+5 = 345
Final: 2000 + 345 = 2345Example
Input: "four million five hundred sixty-seven thousand eight hundred ninety"
Parsing:
four → current = 4
million → result = 4,000,000, current = 0
five → current = 5
hundred → current = 500
sixty → current = 560
seven → current = 567
thousand → result = 4,000,000 + 567,000 = 4,567,000, current = 0
eight → current = 8
hundred → current = 800
ninety → current = 890
Final: 4,567,000 + 890 = 4,567,890Reference Table
| Words | Number |
|---|---|
| one hundred | 100 |
| five hundred | 500 |
| one thousand | 1,000 |
| ten thousand | 10,000 |
| one hundred thousand | 100,000 |
| one million | 1,000,000 |
| one billion | 1,000,000,000 |
| one trillion | 1,000,000,000,000 |
| twenty-three | 23 |
| ninety-nine | 99 |
| three hundred forty-five | 345 |
| one thousand two hundred thirty-four | 1,234 |
Frequently Asked Questions
What number words are supported?
All standard English number words: one through nineteen, twenty through ninety, hundred, thousand, million, billion, trillion, quadrillion, and quintillion.
Do I need to use hyphens?
No. Both "twenty-three" and "twenty three" work. Hyphens are optional.
Can I use "and" in the input?
Yes. The word "and" is ignored during parsing. "One hundred and five" correctly converts to 105.
Does it support decimals?
Currently this converter handles whole numbers only. For decimal numbers, convert the integer and decimal parts separately.
What is the largest number supported?
Numbers up to quintillions (10^18) are supported. This covers virtually all practical use cases.