What Numbers to Letters does
Numbers to Letters writes numbers as English words, one per line, for cheques, invoices and documents. It handles negative numbers and decimals, reading the digits after the point one by one.
Numbers to Letters examples
The built-in sample
Input
1234.56
42
-7Output
one thousand, two hundred and thirty-four point five six
forty-two
minus sevenThis is the input that the Load sample button fills in.
Separators, hundreds and decimals
Input
1,000,001
115
0.05Output
one million, one
one hundred and fifteen
zero point zero fiveCommas in the input are ignored. "and" is written after hundred, as in British usage, but not between the million and the final one. Decimal digits are read one at a time, including the zero.
Each output was produced by running this tool on the input above it.
How it works
Each line is read as a number. Commas are removed, the integer part is split into groups of three digits, and each group is written in words with its scale word (thousand, million, billion and so on). Digits after the decimal point are read one by one after the word "point".
Details and limits
- The short scale is used: a billion is a thousand million.
- Scientific notation (
1e3), currency symbols and spaces as thousands separators are not accepted; the line is reported as not a number. - A negative number starts with "minus". Empty lines stay empty in the output, so the results line up with the input.
Worked example: Batch-converting invoice figures and decimals line by line
Unlike a single-input cheque box, this batch tool converts an entire multi-line list of numbers into English words at once (one number per line). Paste these four lines into the input box:
0
42
-1089
30500.75
With Hyphenate compounds (twenty-one) checked and Use "and" unchecked (standard American style), the output box produces four matching lines:
zero
forty-two
minus one thousand eighty-nine
thirty thousand five hundred point seven five
If you tick Use "and" (one hundred and five) for British/Commonwealth style, Line 3 becomes minus one thousand and eighty-nine.
Limits and what this tool cannot do
- Does not decode A1Z26 cipher codes (`1=A, 2=B, 26=Z`): This tool spells numbers out as English quantity words (`26 → twenty-six`). If you are solving a puzzle where `1 2 3` stands for letters of the alphabet (`A B C`), this is not an A1Z26 cipher decoder.
- One number per line (no inline prose replacement): Every line in the input must be a standalone number (commas, leading minus signs, and a decimal point are allowed). If a line contains words or currency symbols like `$42.00 total`, it cannot be parsed as a pure number.
- Maximum scale is vigintillion (`10^63` / 66 digits): Integers longer than 66 digits exceed the named short-scale dictionary.
Questions
What is the largest number it can write?
Eighteen digits before the decimal point, which is up to 999 quadrillion.
How are digits after a decimal point spelled out?
Digits after the decimal point are read individually after the word 'point'—so `3.14` becomes `three point one four` (not 'three point fourteen'), matching standard mathematical reading.
Can I paste numbers that contain thousands commas like 1,250,000?
Yes. The parser strips formatting commas and spaces before converting `1,250,000` to `one million two hundred fifty thousand`.
What is the difference between American and British style in the options?
British, Australian, and Indian English insert 'and' before the tens/ones part of a hundred (`one hundred and twenty-three`), whereas American style omits 'and' (`one hundred twenty-three`). The checkbox lets you pick either convention.