Skip to content
TextArray
100% local

Thousands separator

Add, change or remove thousands separators in every number in your text.

Input

Thousands separator

Paste any text — a report, a spreadsheet export, a plain list of figures — and this tool finds the numbers in it and formats them with thousands separators: 1234567.89 becomes 1,234,567.89. It works just as well on numbers buried in sentences as on bare lists, and it never touches the words around them.

Pick the separator your style guide asks for: comma, period, regular space or thin space — the narrow typographic space many European publications use. The decimal part of each number is detected automatically and preserved, so 1234.5 becomes 1,234.5 instead of being mangled. When the separator you choose collides with the decimal sign, the decimal flips to the other convention, which means the tool converts between regional styles in one pass: 1.234.567,89 with the comma separator selected comes out as 1,234,567.89, and the reverse works with the period.

Switch the mode to remove separators and grouping is stripped instead, turning 1,234,567.89 back into 1234567.89 — useful before importing figures into a spreadsheet, a database or code that expects raw numbers. Anything ambiguous is left alone rather than guessed at: version numbers like 1.2.3, dates, phone numbers, codes with leading zeros and digits glued to letters all pass through unchanged.

Everything runs locally in your browser, so financial figures and internal reports never leave your device. The tally under the output shows how many numbers were found and how many were changed, and the result is one click away from being copied or downloaded as a .txt file.

FAQ

Will it break decimal numbers?
No. The decimal part is detected and preserved: 1234.5 becomes 1,234.5. If your data writes decimals with a comma, set the decimal separator option to comma rather than relying on detection.
How is 1,234 read — as one thousand or as a decimal?
A single separator followed by exactly three digits is read as a thousands group, so 1,234 means 1234. If it should mean 1.234, set the decimal separator option to comma.
Can it convert between European and English number formats?
Yes. Choose the comma separator and 1.234.567,89 becomes 1,234,567.89; choose the period and the conversion runs the other way. The decimal sign flips automatically whenever it would collide with the grouping character.
Why were some numbers left unchanged?
Tokens that could be something other than a plain number are skipped on purpose: version numbers like 1.2.3, dates, codes starting with 0, digits attached to letters, and numbers of three digits or fewer, which need no grouping.
Is my text uploaded anywhere?
No. The tool runs entirely in your browser and your text never leaves your device.