Add Commas to Numbers
Add thousands separators to a single number or to every number inside a block of text.
Formatted live as you type. Nothing leaves your browser.
Grouping
Decimal mark
The decimal mark cannot be the same character as the grouping mark, so one option is locked. Turn on the last option to keep years like 2026 unformatted.
0 of 0 numbers reformatted
How to add commas to numbers online
Paste your number or text
Drop in a single number, a column of figures, or a whole paragraph with numbers buried in it.
Pick a grouping style
Choose commas, spaces, periods, or Indian grouping, which puts the last three digits together and then switches to pairs.
Set the decimal mark
Choose a period or a comma for decimals. Whichever character is doing the grouping is locked out, so the two can never be confused.
Copy the result
The formatted version appears live below with a count of how many numbers changed, ready to copy.
Why use this tool
Works on text, not just numbers
Paste a whole paragraph, a table column, or a log line and every number inside it is formatted in place, with all the words and punctuation left exactly as they were.
Four grouping styles
Commas for English, spaces or periods for most of Europe, and Indian grouping for the 12,34,567 pattern used across South Asia.
Decimals stay whole
Only the integer part is grouped. Digits after the decimal mark are never broken up, so 1234.5678 becomes 1,234.5678 and not something unreadable.
Normalizes instead of doubling up
Numbers that already carry separators are read and rewritten in the style you picked, so a European figure becomes an English one rather than gaining a second set of marks.
Signs, currency, and codes survive
A minus sign or a currency symbol in front of a number stays attached. Zero-padded codes, dates, phone numbers, ranges, and anything welded to a word are left alone, and 4-digit years can be skipped with one toggle.
Runs entirely in your browser
Formatting happens on your device as you type. Nothing is uploaded, stored, or logged.
About this tool
A long number without separators is hard to read: 1234567890 takes real effort, while 1,234,567,890 reads at a glance. This tool adds that grouping to a single number or to every number inside a block of text, live as you type. It is built for the moment you paste a figure out of a spreadsheet, a database result, or an analytics export and need it to look like something a person can read.
Four grouping styles cover most of the world: commas, spaces, periods, and Indian grouping, which keeps the last three digits together and then switches to pairs, giving 12,34,567. The decimal mark is a separate choice, and the character already doing the grouping is locked out so a comma can never mean two things in the same number. Digits after the decimal mark are never grouped, which is the rule almost every style guide agrees on.
Numbers written with separators already are read and rewritten, not doubled up, so 1.234.567,89 becomes 1,234,567.89 when you switch styles. A minus sign or a currency symbol in front of a number stays put because only the digits are touched. Zero-padded codes, digits stuck to a word, and hyphen or slash joined sequences like dates, phone numbers, and ranges are skipped, and a toggle leaves bare 4-digit numbers like 2026 alone for prose. To spell a figure out instead, use number to words, or go the other way with words to number.
Frequently asked questions
- Does it format numbers inside a paragraph?
- Yes. Every number in the text is formatted where it stands and everything else is left untouched, so you can paste a full report, a list of rows, or a single figure and get the same treatment either way.
- What happens to decimals?
- Only the whole part of a number is grouped. Digits after the decimal mark are left as one run, so 9876543.21098 becomes 9,876,543.21098. You choose whether the decimal mark is a period or a comma, and the grouping character is locked out of that choice.
- What if my numbers already have separators?
- They are recognized and rewritten in the style you picked rather than getting a second set of marks. Commas, periods, spaces, non-breaking spaces, and apostrophes are all understood as grouping marks on the way in.
- Will it ruin years, dates, or phone numbers?
- Dates, phone numbers, and ranges written with hyphens or slashes are skipped, as are zero-padded codes and digits attached to a word. For a bare year sitting in a sentence, turn on Leave 4-digit numbers alone and 2026 stays as it is.
- Is my text uploaded anywhere?
- No. Formatting happens in your browser as you type; nothing is sent to a server. Your text is never uploaded, stored, or logged.
Related tools
Number to Words Converter
Write any number in words, so 1234 becomes one thousand two hundred thirty-four, with ordinal and dollars-and-cents forms.
Words to Number Converter
Convert a number written in English words into its numeric value.
Number Base Converter
Convert a number between binary, octal, decimal, and hexadecimal, all four shown at once.
Add Line Numbers
Prefix every line of your text with a number. Set where the count starts, choose a separator, pad with leading zeros, and skip blank lines.
Alternating Case Generator
Turn text into aLtErNaTiNg caps, the mocking SpongeBob style.
Bionic Reading Converter
Bold the leading part of every word to guide your eyes across the page, with an adjustable emphasis strength and a light or dark preview.