Skip to content
ToolPlankDEV
Text Tools
100% In-Browser Execution

Updated:

Words to Numbers Converter

Convert words to numbers in your browser. Type one number per line, such as one lakh twenty thousand or forty-two, or paste a paragraph and swap every spelled-out number for digits. Nothing is uploaded.

Options:

Number words

Input
0 chars · 0 lines

Digits

Ready
Processing in browser...
0 chars · 0 linesUpdates as you type

Processed on your device. Your text is not sent to our servers.

More free tools you may need next.

Quick Guide

How to use Words to Numbers

Simple step-by-step instructions to get the exact output you need.

  1. 01

    Type or paste the number words

    Put one number per line in the Number words box, for example one hundred and five or one lakh twenty thousand. Press Sample to load a few examples.

  2. 02

    Choose how the text is read

    One number per line reads every line as a single number and stops at the first line it cannot read. Numbers inside text finds spelled-out numbers in sentences and leaves the other words alone.

  3. 03

    Pick separators

    Separators set how the digits are grouped: none (1234567), international (1,234,567) or Indian (12,34,567).

  4. 04

    Copy the digits

    The result updates as you type. Press Copy or Download, or press the swap button to send the digits to Numbers to Words.

How the Words to Numbers Converter Reads Your Text

This words to numbers converter reads English number words and writes them as digits. It understands hyphens (forty-two), the word and (one hundred and five), a hundred, negatives, decimals with point, multi-word ordinals such as twenty-third, and amounts in dollars and cents or rupees and paise. Capital letters do not matter. The sample on this page:

Text
one hundred and five
forty-two
one lakh twenty thousand
three million two hundred fifty thousand
minus seven point two five
one hundred dollars and fifty cents

comes out as:

Text
105
42
120000
3250000
-7.25
100.50

To go the other way, use Numbers to Words, which writes a figure out in words. The two tools share one vocabulary, so a number written by one can be read back by the other.

Lakh and Crore or Million and Billion

Both systems are read without a setting: thousand, million, billion and trillion, and lakh (or lac), crore, arab and kharab. The digits are the same either way, only the commas differ. With Separators set to Indian, one lakh twenty thousand and two crore fifty lakh become:

Text
1,20,000
2,50,00,000

With Separators set to International, three million two hundred fifty thousand becomes 3,250,000. With Separators set to None you get plain digits such as 3250000, which is the safest choice if the result goes into a spreadsheet or a program.

Convert Numbers Written Inside a Sentence

Set Read to Numbers inside text to change only the spelled-out numbers in a paragraph. This sentence:

Text
We ordered twenty-one chairs and a hundred and fifty plates for the twenty-third of May. The bill came to two thousand four hundred dollars and fifty cents.

becomes:

Text
We ordered 21 chairs and 150 plates for the 23rd of May. The bill came to 2400.50 dollars.

Ordinary English is full of words that look like numbers, so this mode follows a few fixed rules. Read the result before you use it.

  • The word one is always changed, so no one becomes no 1 and the second one becomes the second 1.
  • A lone first or second stays a word, because it is often not a number (at first, one second). Longer ordinals such as twenty-third or one hundred and first are converted.
  • Point needs a number before it. Two point five becomes 2.5, but Point five at the start of a sentence becomes Point 5.
  • Minus after a number stays a word: ten minus four becomes 10 minus 4. Minus at the start of a number is a sign: minus three degrees becomes -3 degrees.

To count how often each word appears in the result, use the Word Frequency Counter.

Dollars, Rupees, Decimals and Negative Numbers

A negative number starts with minus or negative: minus seven point two five gives -7.25. A decimal is read digit by digit after point, so three point one four gives 3.14. Zero, nought and oh (as in zero point oh five, which gives 0.05) are understood.

Money works differently in the two modes. In One number per line mode a currency word is dropped and only the figure is kept: one dollar gives 1, and rupees one lakh only gives 100000. One hundred dollars and fifty cents gives 100.50. In Numbers inside text mode the currency word stays in your sentence, as in 2400.50 dollars above. Amounts are shown as plain figures. The tool does not know which currency you mean and does not add a symbol.

Errors and What the Tool Will Not Guess

In One number per line mode the tool does not guess. A misspelled word or words in an order that does not make a number stop the conversion with a message that names the line. If line 4 of a list contains fourty, the message is:

Text
Line 4: "fourty" is not an English number word. Check the spelling, or set Read to Numbers inside text to keep other words.

Digits mixed with words, such as 5 thousand, are not read. Odd input such as one crore two crore has no normal meaning, and the tool returns a long figure for it instead of an error, so check unusual phrases yourself. Numbers can have up to 36 digits before the decimal point. Other languages and Roman numerals are not supported.

Cheques, Lists and Privacy

Cheque wording such as Rupees One Lakh Only is read as 100000. The tool only helps with the figures; it does not check that a cheque is valid. To join the converted list into one line, use List to Comma Separated. If the result still has stray spaces, the Space Remover cleans them.

Everything runs in your browser and your text is not uploaded. See the Privacy Policy.

Frequently Asked Questions

Technical Q&A for Words to Numbers

Common questions about edge cases, character encoding, and privacy guarantees.

Type or paste the number words, one per line, into the box. The digits appear on the right as you type. Use Copy or Download to take them with you.

One lakh twenty thousand is 120000. With Separators set to Indian it is written 1,20,000.

Yes. One hundred and five gives 105, and forty-two and forty two both give 42.

Yes. Set Read to Numbers inside text and only the spelled-out numbers change. Other words, spaces and punctuation stay as they are.

They are written with a suffix: twenty-third becomes 23rd and one hundred and first becomes 101st. In Numbers inside text mode a lone first or second stays a word.

In Numbers inside text mode, yes for the word one: no one becomes no 1. The mode cannot tell meaning, so read the result before you use it.

In One number per line mode they are dropped and only the figure is kept, so one dollar gives 1. In Numbers inside text mode the word stays in the sentence.

Yes. It gives 1984. With Separators set to International or Indian it would get a comma, so keep Separators on None for years.

No. The conversion runs in your browser and the text stays on your device.