Words to Number

Works fully offline

Type a number written out in words to get its digit form back.


    

Overview

This is the reverse of Number to Words: given text like "twelve lakh thirty-four thousand five hundred sixty-seven" or "one million two hundred thirty-four thousand," it parses the words back into the numeric value. The parser recognizes both the international scale words (thousand, million, billion) and the Indian scale words (lakh, crore) in the same input, so you don't need to pick a system first.

Examples

International

one million two hundred thirty four thousand five hundred sixty seven
1234567

Indian

twelve lakh thirty four thousand five hundred sixty seven
1234567

How It Works

  1. Type or paste the number in words.
  2. The numeric value appears instantly.
  3. Hyphens, "and," and mixed capitalization are all handled automatically.

Use Cases

Data entry cleanup

Convert a spelled-out amount from a document or form back into a usable number.

Verifying cheque amounts

Cross-check that a spelled-out amount matches the numeric amount on a cheque or invoice.

Tips

  • Stick to one numbering system per input — mixing "million" and "lakh" in the same phrase isn't a standard construction and won't parse reliably.

FAQ

No. The parsing runs entirely in your browser using JavaScript.

Text that doesn't parse as a valid number phrase (unrecognized words, malformed order) returns a clear error rather than a wrong number.

Related Tools