Skip to content
Tesserae

Keyboard shortcuts

Focus search
/
This help dialog
?
Run the current tool
Ctrl/⌘ +Enter
Copy the output (when an output is focused)
Ctrl/⌘ +C

Shortcuts are ignored while you are typing in an input, a textarea or a select.

Numbers & Maths

Words to Number

Turn English number words into an actual number. It handles the whole scale — one … trillion — plus hundreds, hyphens (twenty-five), “and” (two hundred and five), decimals (two point five ≈> 2.5) and negatives (negative three ≈> -3). Unrelated words are ignored, so “the value is one million” still returns 1000000. Great for invoices, captchas, word-form data entry, or the reverse of number-to-words.

On-device No network Offline-ready

🔒 100% Client-Side & Private — processed locally in your browser. Files never leave your device.

Try:

Options

Your result will appear here

Type or paste your input above, adjust the options, then press Run. Tip: press Ctrl+Enter to run, and ? for every shortcut.

How it works

Spelled-out numbers become digits

Type a number in English words and read back its value. The parser knows the ones and teens, the tens with their hyphens, hundred, and the scale words thousand, million, billion and trillion, so “two hundred thirty-four” returns 234 and “one million” returns 1000000.

Decimals, sign and filler words

A “point” followed by digit words builds the fraction, making “three point one four” into 3.14, and a leading “negative” or “minus” flips the sign. The words “and” and “a” are treated as filler while any other word is skipped, so “the value is one million” still gives 1000000.

What the grouping switch changes

Show with thousands separators controls the display alone. Left on, 1000000 is written as 1,000,000; turned off, you get the plain digits. The parsed value is the same either way, and the stats panel always shows the raw number for copying.

Where the parser gives up

Bare digits mixed into the text are skipped, so write “five” rather than 5. If no number word appears at all the tool raises an error instead of quietly returning zero, and inputs over ten thousand characters or values beyond about a quadrillion are refused rather than guessed.

Hard-coded tables, no upload

The word lists are compiled into the page and the parse is a single pass over your text in the browser. Nothing you type is sent anywhere and the tool runs without a network connection.

Questions

What number formats are supported?

Whole words from zero to trillions, hundreds, tens with hyphens, “and”, decimal points and negative/mimus. Consecutive digit words such as “one two three” become 123.

Are unrelated words ignored?

Yes — non-number words are skipped. “The total is five thousand” gives 5000. If the input contains no number words at all you get a clear error.

How big can it go?

Up to trillions (1e12). Values larger than about a quadrillion are rejected with an error rather than guessed.

See category