consolelog.tools

Words to Number

Parse written numbers back to digits — cardinal, decimals (point), or ordinal. Handles 'and', negatives, and hyphens. Live.

About this ToolHow it works, benefits & use cases

Words to Number is the inverse of spelling numbers out: paste an English number phrase and it returns the digits. "One million two hundred thirty-four thousand five hundred sixty-seven" becomes 1,234,567, and the result is shown both locale-grouped and as a raw value. It parses cardinal phrases with scale words (hundred, thousand, million, billion, trillion), decimal phrases that use "point" (so "three point one four" yields 3.14), and ordinals like "twenty-first" or "one hundredth". An Auto-detect mode figures out which form you pasted, while explicit Cardinal, Decimal, and Ordinal modes let you force the interpretation. It tolerates the connector word "and", hyphenated numbers such as "twenty-one", and a leading "negative" or "minus". Parsing never crashes — unrecognized words come back as a readable error. It runs live in your browser, captures the input in a shareable URL, and uploads nothing.

How to Use

  1. 1Choose a Mode: Auto-detect, Cardinal, Decimal (point…), or Ordinal.
  2. 2Type or paste the number words into the input, or click "Load example" to try a large cardinal phrase.
  3. 3The digits appear live in a highlighted card, showing both the grouped and raw values.
  4. 4Click Convert to confirm; if a word is not recognized, an inline error names the problem.
  5. 5Copy or download the resulting number, or share the URL with the same words and mode.

Key Benefits

  • Parses cardinal, decimal, and ordinal number words, with an Auto-detect mode
  • Handles scale words up to trillion, plus "hundred" multipliers
  • Accepts the connector "and", hyphenated numbers, and a leading negative or minus
  • Decimal phrases via "point" parse digit by digit into a fractional value
  • Shows both a locale-grouped result and the raw numeric value
  • Never throws — unrecognized input returns a clear error message
  • Live conversion, shareable URL, and fully in-browser processing

Common Use Cases

  • Converting amounts written out on forms or documents back into digits
  • Normalizing spelled-out numbers in transcribed or dictated text
  • Parsing ordinal positions like "twenty-first" into 21 for sorting or indexing
  • Cleaning data where numbers were entered as words
  • Verifying that a Number to Words output parses back to the original figure

Options

0 characters · live

Enter number words above to see the digits.

Was this tool helpful?

Share Your Experience

Help others discover this tool!

Related tools