calculate.sh DE

This tool runs in your browser using JavaScript. If it does not appear, please enable JavaScript or reload the page. The description below explains how it works.

Words to Number

Convert number words back into plain digits. The companion tool to "Number to Words" on this site, it reads a written-out value in English or German and turns it into a number you can copy, paste into a spreadsheet, or pipe into another calculator. Handy for digitizing amounts out of old documents, unpicking data typed by humans, checking a handwritten check figure, or just confirming that "two hundred thirty-four thousand five hundred sixty-seven" really is 234,567.

How to use

  1. Choose the language — English or Deutsch — matching your text.
  2. Paste or type the number words in the text area.
  3. The numeric value appears instantly in the Result band.

Supported range is the same as the Number to Words tool: from −999,999,999,999 to 999,999,999,999. Decimals are supported with "point" (English) and "komma" (German).

English input you can throw at it

Input Result
one hundred and five 105
eleven hundred 1100
one thousand, one hundred and one 1101
one million two hundred thirty-four thousand five hundred sixty-seven 1234567
one billion 1000000000
two point five three 2.53
minus five −5

The parser accepts hyphens ("twenty-one"), "and" in the British style, "a" for one, and the scale words hundred, thousand, million, and billion. The famous British "and" is simply ignored, so both spell-out styles convert identically.

German input you can throw at it

Input Result
eins 1
einundzwanzig 21
zweitausendeins 2001
einhundertdreiundzwanzig 123
eine Million 1000000
zwei Millionen 2000000
sieben Milliarden 7000000000
minus einundzwanzig −21

German numbers are famously fused into single words: "einhundertdreiundzwanzig" carries value 123 inside one token, not three. The parser understands the compound "unit-and-ten" builds (einundzwanzig, neunundneunzig), the fused hundreds and thousands (einhundert, zweitausend, zweitausendeins), the teens, and the plural scale words Millionen and Milliarden. Spaces, hyphens and commas within the input are all tolerated, so "zwei Millionen" and "zweimillionen" produce the same answer.

How the magic works

Both languages share a single algorithm. The input is first normalized — lower-cased, with separators stripped — then scanned with a dictionary of known number words, always trying the longest match first so that "eintausend" wins over "ein", and "neunzehn" over "neun". The scanned values are assembled with the classic three rules: small numbers add to the current group, "hundred" multiplies the current group by 100, and the scale words (thousand, million, billion, milliarde) flush the current group into the running total. Because the scale words flush in the correct order, arbitrarily long written amounts collapse to a single number.

When you want the reverse

Enjoying the reverse direction? The Number to Words tool spells a digit out in both languages with the same range — go from "1234567" to "one million, two hundred and thirty-four thousand, five hundred and sixty-seven" with one click. The two tools are exact mirrors, sharing the same supported range and the same German compound rules, so you can move between digit and word freely.

Why it lives on this site

This is a pure client-side calculator in the Math category: no data leaves your device, nothing is stored, and the page works offline. Paste the amount, read off the digits, and you are done.