Convert Words to Numbers
Convert English number words to numbers (and back). Supports negative, billions, quintillions. Free, client-side, instant, secure.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Parse English number words ("forty-two", "one hundred twenty-three", "negative fifteen") into integers, and reverse. Supports up to quadrillion. (This is the same operation as the Words to Integers tool - "numbers" and "integers" share the same parser.)
How to Use Convert Words to Numbers
- Enter English number words, one per line. Supports zero through quadrillion (10^15).
- Negative / minus prefix, hyphenated forms, and "and" connectors all work.
- Unrecognized words throw with the position so you can see exactly what failed.
- Swap direction to convert numbers back to words.
Frequently Asked Questions
Is this the same as the Words to Integers tool?
Yes – same parser, same output, same vocabulary. Two slugs exist because users search both terms. If you find behaviour differences between the two, that’s a bug; report it.
How are bare scale words like “hundred” handled?
They default to one of the scale: "hundred" → 100, "thousand" → 1,000, "million" → 1,000,000. That matches everyday speech, where “hundred” on its own means one hundred.
What number vocabulary is supported?
Ones (zero-nine), teens (ten-nineteen), tens (twenty-ninety), and scales (hundred, thousand, million, billion, trillion, quadrillion). Plus “negative” / “minus” prefix and “and” connector. Anything else throws an explicit error.
How does quintillion fit?
Quintillion = 10^18 exceeds JavaScript’s Number.MAX_SAFE_INTEGER (2^53 – 1 ≈ 9.007 × 10^15). The reverse direction caps at quadrillion to preserve accuracy. Forward parsing accepts “quintillion” but the result loses precision around 10^15. For exact arithmetic above that range, use BigInt outside this tool.
What if I want “a hundred” or “a thousand”?
Not supported. Use one hundred, one thousand. (The article “a” isn’t in the dictionary.)
Ordinals?
Not supported. “first”, “twenty-third”, “fifth” all error. Use cardinal forms instead.
Decimals?
Not supported. “three point five”, “two and a half” error. For decimal word parsing, use a dedicated tool with “point” / “decimal” handling.
What if I have mixed text like “five potatoes”?
It errors with Unrecognized word at position 2: "potatoes". The tool only handles pure number-word strings – it won’t extract numbers from prose.
Does it handle British “billion”?
Short-scale (modern) billion = 10^9 is used here. Long-scale (historical) billion = 10^12 is no longer commonly used in UK English either. For long-scale, multiply manually.
Is text uploaded?
No. Everything runs in your browser with JavaScript – nothing is sent to a server, logged, or stored, and the tool keeps working offline once the page has loaded.
Related Tools
Convert Numbers to Words →
Convert numbers to English words. Cardinal, ordinal, check-writing format. BigInt for huge numbers, decimal…
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 Integers to Words →
Spell out integers in English - supports billions, trillions, quadrillions with BigInt precision. Free,…
Convert Numbers to Image →
Render any number or text as a PNG / JPEG with custom font, color,…
Convert Words to Integers →
Convert English number words to integers (and back). Supports negatives, billions, error reporting per…
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…