Add commas to numbers, remove commas, convert lists to CSV, split or join with any delimiter — instantly, free, no login required. Supports custom separators and RegEx.
Here are concrete before-and-after examples for every mode available in the Comma Separator Tool.
;
→ Join with
,
a;b;c;d
→
a, b, c, d
|
→ Join with
,
name|age|city
→
name, age, city
A comma separator tool is useful for developers, data analysts, writers, marketers, and anyone who works with lists, numbers, or tabular data. Here are the most common real-world scenarios.
Convert a vertical list of values (one per line) into a comma-separated row to paste directly into Excel, Google Sheets, or a CSV file. Saves copying each item individually.
Turn a list of IDs or names into a comma-separated string for SQL
WHERE id IN (1, 2, 3)
queries. Paste IDs one per line and get the CSV string in one click.
Format raw numbers from exports or APIs with thousand-separator commas for reports, dashboards, invoices, or presentations. Handles millions and billions correctly.
Convert semicolon-separated or pipe-separated data to comma-separated format, or vice versa, when importing between different systems with different delimiter expectations.
Remove extra commas, trim whitespace from each item, deduplicate entries, and sort alphabetically before reimporting cleaned data back into a database or spreadsheet.
Convert a list of environment variable values, allowed origins, or feature flag names into a comma-separated string for use in config files or API parameters.
Convert a line-by-line list of email addresses into a comma-separated string to paste into the "To" or "CC" field of an email client that accepts comma-separated recipients.
Format numbered lists, bullet points, or inventory items from a content brief into comma-separated inline lists for body copy, meta descriptions, or structured content fields.
Different countries and regions use different characters as thousand separators and decimal separators. Understanding these conventions is important when formatting numbers for international audiences or when processing data from different locales.
| Region / Countries | Thousands Separator | Decimal Separator | One Million Example |
|---|---|---|---|
| 🇺🇸🇬🇧🇦🇺🇨🇦🇨🇳🇯🇵 USA, UK, Australia, Canada, China, Japan |
Comma
,
|
Period
.
|
1,000,000.00
|
| 🇩🇪🇫🇷🇮🇹🇪🇸🇧🇷🇵🇹 Germany, France, Italy, Spain, Brazil, Portugal |
Period
.
|
Comma
,
|
1.000.000,00
|
| 🇨🇭🇸🇪🇳🇴🇩🇰🇫🇮 Switzerland, Sweden, Norway, Denmark, Finland |
Space
|
Comma
,
|
1 000 000,00
|
| 🇮🇳 India |
Comma
,
(South Asian grouping)
|
Period
.
|
10,00,000.00
|
| 🌐 International (ISO 80000) | Thin space |
Period
.
or Comma
,
|
1 000 000.00
|
This tool formats numbers using the US/UK convention (comma as thousands separator, period as decimal separator). If you need to convert to a different locale format, use the Find & Replace tab to swap commas and periods as needed after converting.
India uses a unique grouping system. The first group from the right contains three digits, and all subsequent groups contain two digits. This system defines units of lakh (1,00,000 = 100,000) and crore (1,00,00,000 = 10,000,000). For example, 10 million is written as 1,00,00,000 (one crore) in the Indian system. This tool uses the international three-digit grouping standard.
CSV (Comma-Separated Values) is a plain-text file format used to store tabular data. Each line in a CSV file represents one row, and each field within that row is separated by a comma. CSV files are supported by virtually every spreadsheet application, database system, and programming language.
""
.
| Format | Full Name | Delimiter | File Extension | Common Use |
|---|---|---|---|---|
| CSV | Comma-Separated Values |
Comma
,
|
.csv
| Excel, Google Sheets, databases, APIs |
| TSV | Tab-Separated Values |
Tab
\t
|
.tsv
or
.txt
| Bioinformatics, log exports, clipboard data |
| PSV | Pipe-Separated Values |
Pipe
|
|
.psv
or
.txt
| EDI data, legacy systems, Unix tools |
| SSV | Semicolon-Separated Values |
Semicolon
;
|
.csv
| European CSV exports (where comma is decimal) |
Use the Custom separator mode to convert between any of these formats — split by one delimiter and rejoin with another.
In countries where the comma is used as the decimal separator (Germany, France, Spain, Italy, and others), CSV files commonly use semicolons as the field delimiter instead of commas to avoid ambiguity. For example, a price value like
1.234,56
(one thousand two hundred thirty-four and 56 hundredths in German notation) would be misinterpreted if commas were used as field delimiters. Microsoft Excel in European locales automatically uses semicolons as the default CSV delimiter for this reason.
.txt
or
.csv
file.
Answers to the most common questions about commas, CSV formatting, and number formatting.
1000000
into the Input box, select the
Add commas to numbers
mode, and the tool instantly outputs
1,000,000
. You can process multiple numbers at once — paste one number per line and all will be formatted simultaneously. The tool correctly handles decimals (
1234567.89
→
1,234,567.89
) and negative numbers (
-9876543
→
-9,876,543
).
apple, banana, cherry
. This is useful for generating SQL
IN
clauses, creating CSV rows, building API parameter strings, or formatting email recipient lists.
\t
with RegEx enabled, and set Join with to
,
.
1.234,56
in German notation contains a comma that would be misread as a field separator. To avoid this, Microsoft Excel and many European applications automatically use a semicolon (
;
) as the CSV delimiter when the system locale uses a comma as the decimal separator. Use the Custom separator mode to convert semicolon-separated European CSV files to standard comma-separated format.
WHERE id IN (1, 2, 3)
, paste the result directly. For string values, you'll need to wrap each item in quotes first — use the Find & Replace tab to add quotes around items, or use the Case Converter tool's "Wrap in quotes" extra transform to quote each line before converting to CSV.
\s+
splits on any whitespace;
[,;|]
splits on commas, semicolons, or pipes simultaneously;
\t
splits on tabs. This makes it possible to handle messy or inconsistently delimited data in one pass.
Explore more free online tools from IndexCraft to complement your data workflow.