Boneyard Tools

Convert Words to Numbers

Type a number in English words to convert it into digits. It understands hyphens like 'forty-two', the word 'and', and scales up to the millions.

How to convert words to numbers

  1. Type or paste the number in words, for example 'one hundred and twenty-three'.
  2. Read the digit value shown instantly below.
  3. Copy the number to use anywhere.

Examples

Hyphenated value

forty-two
42

Thousands and hundreds

two thousand five hundred
2500

Frequently asked questions

How large a number can it handle?

It parses cardinal numbers up to the millions, combining millions, thousands, hundreds, tens and units.

Does it understand 'and' and hyphens?

Yes. 'One hundred and twenty-three' and 'forty-two' both work. The word 'and' is ignored and hyphens are treated as spaces.

Is it case-sensitive?

No. Capitalization and extra spaces do not matter, so 'FORTY Two' and 'forty two' both give 42.

What happens with words it does not recognize?

It reports an error rather than guessing, so you know the input was not a valid number in words.

Is this the reverse of spelling a number out?

Yes. It is the inverse of the number to words tool, turning written words back into digits.

Related tools