Tools

Home
Numbers to WordsBase ConverterRoman NumeralBinary ConverterWord Counter

Words to Numbers Converter

Convert English number words to digits — handles millions, ordinals, decimals, negatives, and mixed text

Your files never leave your browser
Input (number words)0 chars, 0 lines
Output (digits)0 chars, 0 lines
Ready·Numbers found: 0 | Words converted: 0

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

Paste Text
→
Parse Number Words
→
Output Digits

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.

INPUT
three thousand four hundred fifty-six dollars and seventy-eight cents
OUTPUT
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.

INPUT
The company hired two hundred fifteen employees across fourteen offices last quarter
OUTPUT
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.

INPUT
first place: Maria twenty-third place: Raj one hundred and fifth place: Chen
OUTPUT
1st place: Maria 23rd place: Raj 105th place: Chen

Who Uses This

📊 Data Analysts

Cleaning survey responses and reports where numbers were written out as words before importing into spreadsheets.

⚖️ Legal Professionals

Extracting dollar amounts and quantities from contracts where every number is spelled out by convention.

✍️ Content Editors

Converting written-out numbers to digits when style guides require numerals for anything above ten.

🎓 Students

Quickly turning word problems into calculable numbers instead of parsing "two hundred thirty-seven" by hand.

Common Mistakes

Forgetting hyphens in compound numbers

"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.

Using non-English number words

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.

Expecting currency symbols in the output

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

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.

Share: