Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

Written Number to Digits Converter

Convert numbers written in words to their numeric digit form instantly

Your data never leaves your browser
Result will appear here

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

Paste Written Number
→
Parse English Words
→
Output Digits

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.

INPUT
four thousand seven hundred and sixty two
OUTPUT
4762

Budget Report with Decimals

A quarterly report lists costs as “twelve point seven five.” You need the number for a spreadsheet formula.

INPUT
twelve point seven five
OUTPUT
12.75

Negative Temperature Reading

Weather data written out in a report: “minus eighteen.” Quick conversion for a data entry task.

INPUT
minus eighteen
OUTPUT
-18

Who Uses This

📊 Data Entry Clerks

Converting spelled-out figures from scanned documents into numbers for database entry.

📝 Legal Professionals

Contracts spell out dollar amounts — this turns them into digits for cross-referencing.

🎓 Students

Checking homework answers when a textbook problem gives numbers as words.

💰 Accountants

Pulling figures from audit reports or old financial statements written in longform.

Common Mistakes

Mixing digits and words together

Typing “4 hundred” instead of “four hundred” confuses the parser. Stick to all words or convert beforehand.

Forgetting the multiplier word

“Two fifty” is casual speech, not a parseable format. Write “two hundred fifty” so the parser knows whether you mean 250 or 2.50.

Using non-English number words

The tool only recognizes English words. “Ciento veintitrés” or “cent vingt-trois” won’t work — translate first, then paste.

Technical Details

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.

Share: