Written Number to Digits Converter
Convert numbers written in words to their numeric digit form instantly
Paste any spelled-out English number — “four thousand seven hundred sixty two,” “minus eighteen,” even “three point one four” — and get the digit form back instantly as you type. Handles ones through trillions, decimals, negatives, and hyphenated words without breaking a sweat. And everything runs in your browser. Nothing gets uploaded.
How It Works
The parser splits your text into individual word tokens — “three,” “hundred,” “forty,” “five” — and maps each one to its numeric value. Multipliers like “hundred,” “thousand,” and “million” stack correctly so the math adds up. Hyphens, the word “and,” and extra spaces are all handled without breaking anything.
Examples
Invoice Total from a PDF
Copying an amount from a scanned invoice that spelled out the figure.
four thousand seven hundred and sixty two
4762
Budget Report with Decimals
A quarterly report lists costs as “twelve point seven five.” You need the number for a spreadsheet formula.
twelve point seven five
12.75
Negative Temperature Reading
Weather data written out in a report: “minus eighteen.” Quick conversion for a data entry task.
minus eighteen
-18
Who Uses This
Converting spelled-out figures from scanned documents into numbers for database entry.
Contracts spell out dollar amounts — this turns them into digits for cross-referencing.
Checking homework answers when a textbook problem gives numbers as words.
Pulling figures from audit reports or old financial statements written in longform.
Common Mistakes
Typing “4 hundred” instead of “four hundred” confuses the parser. Stick to all words or convert beforehand.
“Two fifty” is casual speech, not a parseable format. Write “two hundred fifty” so the parser knows whether you mean 250 or 2.50.
The tool only recognizes English words. “Ciento veintitrés” or “cent vingt-trois” won’t work — translate first, then paste.
Technical Details
- Processing: 100% client-side — nothing leaves your browser
- Browser Support: Chrome, Firefox, Safari, Edge
- Range: Up to trillions (limited by JavaScript’s Number.MAX_SAFE_INTEGER)
- Decimals: Supported via “point” keyword (e.g., “three point one four”)
- Negatives: Supported via “minus” or “negative” prefix
Frequently Asked Questions
How do I convert words to numbers?
Type or paste the written number into the input box — something like “five hundred and twelve.” The tool converts it to 512 as you type. No button click required, though there is one if you prefer it.
Can it handle very large numbers like billions or trillions?
Yes. It supports ones through trillions. “Seven billion four hundred million” becomes 7400000000. JavaScript handles integers accurately up to about 9 quadrillion, so you won’t hit the ceiling in normal use.
Does it work with decimal numbers?
It does. Use “point” to separate the whole and fractional parts. “Six point two five” gives you 6.25. Each digit after “point” is read individually, so “point one four” means .14.
Is my text stored or sent anywhere?
No. The conversion runs entirely in your browser with JavaScript. Nothing is sent to a server, logged, or stored. You can disconnect from the internet and the tool keeps working — that’s how you know it’s truly local.
What if I include “and” in the number?
The parser ignores “and” gracefully. “One hundred and twenty three” and “one hundred twenty three” both produce 123. Some people write it, some don’t — either way works fine here.