Thousands separator remover
Remove thousands separators from numbers in bulk — commas, spaces, underscores, Chinese commas or apostrophes — while leaving decimals, negative signs, currency symbols, percentages and scientific notation intact. It can also add comma grouping back.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Only the pattern "1-3 digits + separator + 3 digits" counts, so commas in ordinary prose survive.
Prevents turning prose like "5 100 people" into a number; untick it when a single group must be handled.
Result
Updates live with your input and options; ready to copy.
Enter text to see the result
Lines: 0 · Lines changed: 0 · Numbers: 0 · Separators: 0
What this tool does
- Turn exported "1,234.56" values from Excel, reports or legacy systems into 1234.56 that database imports accept
- Clean numbers grouped with spaces or underscores (1 234 567 / 1_234) before counting or importing them
- Add comma grouping in the other direction so 1234567 reads as 1,234,567
Example
Input
金额 1,234.56 元 共 9,876 件
Output
金额 1234.56 元 共 9876 件
Only separators inside numbers are removed by default; units, words and line breaks stay untouched.
Frequently asked questions
Will commas in ordinary prose be removed?
No. Only the pattern "1-3 digits + separator + exactly 3 digits" matches, so text like "你好,世界" is untouched. The Chinese comma does participate, though, so「第 1,234 页」becomes 1234; untick the Chinese comma entry if you do not want that.
Are decimals, negatives, currency symbols and percentages safe?
Yes. Separators are only recognised between integer groups, so -¥1,234,567.89, 12,345% and 9,876e-3 all convert correctly while the sign, currency symbol, percent sign and exponent stay as they are. Decimal-comma conventions such as 1.234,56 are left alone instead of being misread.
Why are some space-separated numbers skipped?
By default at least two space-separated groups are required: 1 234 567 is merged, a lone 1 234 is not, otherwise prose like "5 100 people" would be damaged. Untick "require at least two space-separated groups" when a single group must be handled.
Does add mode rewrite dates too?
No. Add mode only touches integers of 4+ digits that are not adjacent to digits, letters or decimal points, and it skips 2024-01-01, 12:34, version strings like 1.2.3 and 1234567e5. A bare year such as "in 2024" still becomes 2,024 — plain text processing cannot judge context, that is the limit.
Keywords:thousands separator removerremove commas from numbers