Add Commas to Numbers
A free tool by DeepRit, a Google Ads agency that does PPC and nothing else. We build and run Google Ads accounts so every click is accounted for. Book a free audit call
Free tool to add commas to numbers. Format every number in your text with thousands separators: 1,234,567, 1.234.567, 1 234 567 or Indian 12,34,567.
- Numbers formatted
- 0
Free, no sign-up. Runs in your browser: nothing you type is uploaded or saved.
How to add commas to numbers
- Paste your numbers or text. It can be a single number, a column of numbers, or a whole paragraph with numbers mixed in.
- Choose a style:
- 1,234,567.89 (US, UK and many other countries)
- 1.234.567,89 (much of Europe and South America)
- 1 234 567,89 (the SI style used in France and many other countries)
- 1'234'567.89 (Switzerland)
- 12,34,567.89 (India)
- Keep "Leave four-digit numbers like years alone" ticked if your text contains years such as 2026.
- Copy the formatted text. The tool shows how many numbers it changed.
Numbers that already have separators are left as they are. Everything runs in your browser.
What thousands separators are
Long numbers are hard to read: 1234567 takes a moment to parse, while 1,234,567 is instant. Thousands separators split the digits into groups of three, counting from the decimal point to the left: millions, thousands and units.
Different countries use different separators, and some swap the roles of the comma and full stop:
| Style | Example | Used in |
|---|---|---|
| Comma and point | 1,234,567.89 | US, UK, Australia, India (for decimals), and many others |
| Point and comma | 1.234.567,89 | Germany, Spain, Italy, Brazil and many others |
| Space and comma | 1 234 567,89 | France, many Nordic and Eastern European countries; recommended by SI |
| Apostrophe and point | 1'234'567.89 | Switzerland |
The International System of Units (SI) recommends a thin space as the thousands separator in technical writing, because both commas and points are used as decimal markers in different countries.
The Indian numbering system
India and neighbouring countries group digits differently. After the first three digits (the hundreds), digits are grouped in pairs: lakhs and crores.
- 1,00,000 = one lakh (100,000)
- 10,00,000 = ten lakh (1,000,000, one million)
- 1,00,00,000 = one crore (10,000,000, ten million)
So 1234567 becomes 12,34,567 in the Indian style, compared with 1,234,567 in the international style. Choose "Indian" to format numbers this way.
Years and four-digit numbers
Style guides usually don't put a comma in years (2026, not 2,026), and many also leave four-digit numbers without a separator (4500 rather than 4,500), though others use one. With "Leave four-digit numbers like years alone" ticked, the tool only groups numbers with five or more digits, so years and other four-digit numbers stay unchanged. Untick it to group every number of four digits or more.
What the tool changes
- Whole numbers get separators added: 1234567 becomes 1,234,567.
- Decimals keep their fractional part, and the decimal mark changes to match the chosen style: 1234567.89 becomes 1.234.567,89 in the European style.
- Negative numbers keep their minus sign.
- Numbers that already have separators (like 1,234) aren't changed, so you can run the tool on partly formatted text safely.
- Small numbers below the grouping length are left alone, unless the style changes the decimal mark.
The tool doesn't round numbers. To round first, use the rounding calculator, and for very large or small values, the scientific notation converter may be clearer.
Formatting numbers elsewhere
- Excel and Google Sheets: use the number format with thousands separators, or
=TEXT(A1,"#,##0.00"). The separators shown depend on your spreadsheet's locale. - JavaScript:
(1234567.89).toLocaleString("en-US")gives "1,234,567.89";"de-DE"gives "1.234.567,89";"en-IN"gives "12,34,567.89". - Word processors: type the separators or use a formatting add-on.
The add commas to numbers tool is quicker for formatting numbers inside text you're writing, such as reports, articles and emails.
Related tools
- Writing numbers in words: the number to words converter turns 1,234,567 into words, useful for cheques and legal documents.
- Pulling numbers out of text: the extract numbers from text tool lists and sums numbers.
- Bulk edits: the find and replace tool handles other text changes.
- Converting percentages: the percent to decimal converter.
Number formatting style guides
Different publications and organisations have their own rules for writing numbers:
- Many English style guides use commas for thousands in numbers of five digits or more, and some also for four-digit numbers (4,500 or 4500).
- Scientific and technical writing often follows the SI recommendation: group digits in threes with a thin space, and use either a point or a comma as the decimal marker, but never a comma or point to separate thousands.
- Financial documents almost always use separators for clarity, often with two decimal places for currency.
- Years, page numbers, account numbers and phone numbers are never written with thousands separators.
When you add commas to numbers in a document, check which convention your audience expects, and be consistent throughout.
Separators in software and spreadsheets
Spreadsheets and software usually format numbers according to the computer's regional settings. A spreadsheet created in Germany shows 1.234,56; opened in the US, the same value shows 1,234.56. The underlying number doesn't change, only the display. Problems arise when numbers are stored as text: pasting "1.234,56" into a US spreadsheet may be read as text or as the wrong value.
When you share data internationally, consider using a plain format without thousands separators and with a point as the decimal mark for data files (such as CSV), and apply local formatting only for display.
Reading numbers in other formats
If you receive a document using a format you're not familiar with, look at the decimal part to work out the style: in 1.234,56 the comma is followed by two digits, so it's the decimal mark. A number like 1.234 on its own is ambiguous: it could be one thousand two hundred and thirty-four (European style) or one point two three four (US style). Context, such as currency or units, usually makes it clear. When in doubt, ask.
Large numbers in words
For very large numbers in writing, words are often clearer than long strings of digits: "2.5 million" rather than 2,500,000. Note that "billion" means a thousand million (10⁹) in modern English usage. In the Indian system, large numbers are often expressed in lakhs and crores: 25 lakh is 2.5 million, and 1 crore is 10 million. The number to words converter writes any number out in full.
Checking your formatted numbers
After you add commas to numbers, scan for anything that shouldn't have changed: years, version numbers, postcodes, reference codes and phone numbers. The "Leave four-digit numbers like years alone" option protects four-digit numbers, but longer codes may still be grouped, so a quick review is worthwhile.
Accessibility of long numbers
Screen readers read numbers with separators more naturally: "1,234,567" is read as "one million two hundred thirty-four thousand five hundred sixty-seven", while some readers may read "1234567" digit by digit. Adding separators helps all readers, not just those reading visually. Use the tool to add commas to numbers in web content before publishing.
Quick tip
Leave years unformatted.
Who uses a tool to add commas to numbers
Report writers and analysts format figures for readers.
A worked example
A finance analyst is writing a report with numbers pasted straight from a database: "Revenue was 1234567.89 in 2026, up from 950000 in 2025, across 12450 customers." She pastes the text into the tool to add commas to numbers, chooses the US style, and keeps years unchanged. The result reads: "Revenue was 1,234,567.89 in 2026, up from 950,000 in 2025, across 12,450 customers."
Her colleague in Germany needs the same report, so she switches to the European style: "Revenue was 1.234.567,89 in 2026, up from 950.000 in 2025, across 12.450 customers." For the team in India, the Indian style gives 12,34,567.89 and 9,50,000.
Need more customers from Google?
This tool is free and runs in your browser. If your business also needs more leads or sales, Google Ads is where people search with their wallet out. That is the whole job of DeepRit: a PPC-only agency that sets up and runs Google Ads accounts so every click is accounted for. You keep full ownership of your account, get a written report every week, and can stop at any time. See our pricing or ask for a free audit.
Sources and further reading
- Decimal separator on Wikipedia, including digit grouping conventions around the world.
- Indian numbering system on Wikipedia: lakhs, crores and the 2-digit grouping.
- NIST's Special Publication 811, the SI usage guide, on grouping digits with spaces.
Frequently asked questions
How do I add commas to large numbers?
Paste them into the tool, choose the 1,234,567 style, and copy the result. It adds a comma every three digits from the right.
Should I put a comma in a year?
No. Years are written without separators. Keep "Leave four-digit numbers like years alone" ticked.
How do you write numbers in the Indian system?
Group the last three digits, then every two digits: 1234567 becomes 12,34,567.
Which countries use a point as the thousands separator?
Many, including Germany, Spain, Italy and Brazil, where a comma is the decimal mark.
Will it change numbers that already have commas?
No. Numbers that already have separators are left as they are.
Is it free to add commas to numbers here?
Yes. It's free, needs no sign-up, and works in your browser.
Free PPC audit
See where your ad budget leaks.
We look at your Google Ads account before the call, then walk you through what we'd fix first, in dollars. No obligation, no hard sell.