Handitab

Add Commas to Integers

Add thousands separators to every long number in a block of text, using a comma, a dot, or a space between each group of three digits.

About Add Commas to Integers

A thousands separator splits a long number into groups of three digits counted from the right, so 1234567 becomes 1,234,567. This tool finds every run of four or more digits in your text and inserts the chosen separator; the rest of the text is left unchanged. It is meant for whole numbers: a run of four or more digits after a decimal point is grouped as well.

How to use Add Commas to Integers

  1. Type or paste into the "Text containing numbers" box, or press "Use example" to try it with sample data.
  2. Set "Thousands separator" if the defaults do not fit.
  3. The result appears below and updates as you type.
  4. Copy the result with the copy button, or download it as a file where that is offered.

Questions about Add Commas to Integers

Which separator should I use?

English-speaking countries generally write 1,234,567. Much of continental Europe and Latin America writes 1.234.567, and the international SI style uses a space, 1 234 567. Pick the one your readers expect.

Runs in your browser. Page last updated .

More math calculators

All 36 math calculators