Words to Numbers Converter
Convert English number words to digits — handles millions, ordinals, decimals, negatives, and mixed text
Paste text with written-out numbers like "four hundred twelve" or "twenty-three million" and get back clean digits. Mixed sentences work too — regular words stay untouched while number words become numerals. Ordinals, decimals, negatives, and values up to the trillions are all covered.
And everything runs in your browser. Nothing gets uploaded.
How It Works
The parser scans your text word by word. When it hits a known number word — "twelve," "hundred," "thousand" — it starts accumulating a value. Multipliers like "hundred" and "thousand" combine with the base numbers around them. Once it hits a non-number word, it writes the final digit and moves on. Regular words pass through untouched, so your sentences stay readable.
Examples
Converting a check amount
You’re verifying a payment amount written out on a check stub.
three thousand four hundred fifty-six dollars and seventy-eight cents
3456 dollars and 78 cents
Mixed sentence from a news article
Pulling numbers out of a paragraph where words and digits need to coexist in a spreadsheet.
The company hired two hundred fifteen employees across fourteen offices last quarter
The company hired 215 employees across 14 offices last quarter
Ordinals in a ranking list
Race results typed out in words that need to become sortable data.
first place: Maria
twenty-third place: Raj
one hundred and fifth place: Chen
1st place: Maria
23rd place: Raj
105th place: Chen
Who Uses This
Cleaning survey responses and reports where numbers were written out as words before importing into spreadsheets.
Extracting dollar amounts and quantities from contracts where every number is spelled out by convention.
Converting written-out numbers to digits when style guides require numerals for anything above ten.
Quickly turning word problems into calculable numbers instead of parsing "two hundred thirty-seven" by hand.
Common Mistakes
"Twenty three" (no hyphen) might parse differently than "twenty-three." This tool handles both, but other systems often won’t. Good habit to hyphenate compounds like forty-two or sixty-eight.
Words like "trois" or "dreizehn" won’t convert. The parser only recognizes English. If your source text mixes languages, convert the English portions first, then handle the rest separately.
The tool converts number words to digits — that’s it. "Five hundred dollars" becomes "500 dollars," not "$500." You will need to add formatting or currency symbols yourself after conversion.
Technical Details
- Processing: 100% client-side — nothing leaves your browser
- Browser Support: Chrome, Firefox, Safari, Edge
- Number Range: Zero through 999 trillion (999,999,999,999,999)
- Features: Cardinals, ordinals, decimals, negatives, mixed text
- Live Mode: Converts as you type, or toggle off for manual conversion
Frequently Asked Questions
How do I convert words to numbers?
Paste or type your text into the input box on the left. The tool picks out English number words — things like "forty-two" or "three million" — and replaces them with digits. Everything else in your text stays exactly the same.
Can I convert numbers with decimals written as words?
Yes. Use the word "point" between the whole number and the decimal part. "Three point one four" becomes 3.14, and "zero point five" becomes 0.5. Each digit after "point" is treated individually, so "point one two" gives you .12.
Does it handle ordinal numbers like first, second, third?
It does. "First" becomes 1st, "twenty-third" becomes 23rd, "ninety-ninth" becomes 99th. The tool recognizes all standard English ordinal forms and outputs the number with the correct suffix (st, nd, rd, or th).
What is the biggest number this can handle?
The converter goes up to 999 trillion — that is 999,999,999,999,999. For most real-world uses (financial docs, reports, data entry), that’s more than enough. Numbers beyond the trillions scale aren’t currently supported.
Is my text stored or sent to a server?
No. The entire conversion runs in JavaScript inside your browser. Your text never gets uploaded, logged, or sent anywhere. Close the tab and it is gone — there’s no server involved at all.