# Delimiter converter

> Change the separator of CSV files: comma to semicolon, CSV to tab-separated (TSV), pipe to comma or any character, keeping quoted cells intact. Free, private.

Canonical: https://cromagnon.app/tools/delimiter-converter
Last updated: 2026-10-26

- Category: Convert
- Formats: CSV · TSV · TXT
- Use it: https://cromagnon.app/tools/delimiter-converter (free, runs in the browser)

## What it does

Change the character that separates the columns of a CSV or text file. Convert comma-separated files to semicolons for Excel in Europe, CSV to tab-separated (TSV) for databases and copying into spreadsheets, pipe-delimited exports to ordinary CSV, or any single character to any other. The converter reads the file the proper CSV way, so a cell like “Khan, Ali” in quotes, a quote inside a cell or a line break inside a cell is kept intact instead of breaking the row. It detects the input separator, lets you choose the quoting and line endings, can trim spaces, remove empty rows and even out rows with missing cells, and downloads the result with an optional UTF-8 BOM for Excel. Files stay on your device.

## How to use it

1. Open a file, drop it on the box, or paste the text; click Sample to try a semicolon file.
2. Check the input separator the tool found, or choose it yourself.
3. Choose the output separator, such as Comma, Semicolon, Tab or Pipe, or Other for any character.
4. Choose when cells are quoted and which line endings to use, and any clean-up options.
5. Copy the result or download it as .csv, .tsv or .txt.

Tip: If a CSV opens in Excel with everything crammed into column A, your Excel expects a different separator. Convert the file to semicolons (common in Europe and wherever the comma is the decimal mark) or to commas, and open it again.

## Which separator to use

- **Comma ( , )**: The standard CSV separator (RFC 4180), read by almost every program, database and API.
- **Semicolon ( ; )**: What Excel uses in countries where the comma is the decimal separator, such as Germany, France, Spain, Italy, Brazil and Turkey.
- **Tab**: Tab-separated values (TSV). Cells rarely contain tabs, so it needs almost no quoting, and it pastes neatly into spreadsheets.
- **Pipe ( | )**: Common in bank, government and mainframe exports because the character almost never appears in data.
- **Others**: Colon, caret ( ^ ), tilde ( ~ ) or any character a system asks for.

## How quoting keeps your data intact

When a cell contains the separator, a double quote or a line break, CSV puts the whole cell in double quotes and doubles any quote inside it: Omar "Big" Ali becomes "Omar ""Big"" Ali". A simple find-and-replace of commas with semicolons breaks such files, because it also changes the commas inside quoted cells and splits them into extra columns. This converter reads each cell first and writes it again correctly for the new separator.

- **Only when needed**: Quotes only the cells that need them. The right choice for almost every file.
- **Around every cell**: For systems that expect every value in quotes.
- **Never**: Plain text with no quotes, for tools that can't read them. A warning shows if any cell contains the new separator, since it would then split.

## Clean-up options

- **Trim spaces**: Removes spaces before and after each cell, common in hand-typed data and fixed-width exports.
- **Remove empty rows**: Drops blank lines, such as those at the end of many exports.
- **Even out rows**: Adds empty cells to short rows so every row has the same number of columns, which some importers require. The tool tells you how many rows were uneven.
- **Line endings**: Windows programs expect CRLF; Mac and Linux tools use LF. Most modern software reads both.
- **UTF-8 BOM**: An invisible marker that makes Excel read accents and non-Latin text correctly.

## Why the separator matters

CSV means comma-separated values, but there is no single CSV format. Excel uses the list separator from your computer's regional settings: a comma in the US, UK and Pakistan, and a semicolon in much of Europe and Latin America, where the comma is used for decimals. A file made on one computer can therefore open as a single jumbled column on another. Databases and data tools usually let you pick the separator on import, but online forms and older software often accept only one.

When you control both ends, tab-separated files are the most robust choice: tabs almost never appear inside data, so almost nothing needs quoting, and spreadsheets paste them straight into cells.

## Opening the converted file in Excel

Double-clicking a CSV makes Excel guess the separator and the column types. For full control, open a blank workbook and use Data › From Text/CSV: choose the file, check the delimiter in the preview, and set columns such as IDs, phone numbers and ZIP codes to Text so leading zeros are kept. Saving from Excel as CSV UTF-8 keeps accents and non-Latin letters.

## Tips

- **Decimal commas**: In semicolon files, 1250,50 means 1,250.50. Converting the separator doesn't change the numbers; change Excel's regional settings or the numbers separately.
- **Copy to Sheets**: Convert to Tab, copy, and paste into Google Sheets or Excel to fill the cells directly.
- **Check the count**: If the column count looks wrong, the input separator was probably detected wrongly; choose it yourself.
- **Big files**: Files of many megabytes work; the boxes show the start, and the download has everything.

## Questions

### How do I change a CSV from commas to semicolons?

Open the file, choose Semicolon as the output separator and download. Quoted cells that contain commas are kept intact.

### How do I convert CSV to TSV?

Choose Tab as the output separator and download the .tsv file.

### Why does Excel put all my data in one column?

Excel expected a different separator from the one in the file. Convert it to the separator your Excel uses, usually a semicolon in Europe or a comma elsewhere.

### Can I use a custom delimiter?

Yes. Choose Other and type any single character, for both the input and the output.

### Does it change my data?

No. Only the separators, quotes and line endings change, unless you choose to trim spaces, remove empty rows or even out rows.

### Is anything sent to a server?

No. The tool runs entirely in your browser, on your device. Nothing you type or make is uploaded, saved or logged.

## Related

- [CSV to JSON](https://cromagnon.app/tools/csv-to-json)
- [Excel to CSV](https://cromagnon.app/tools/excel-to-csv)
- [CSV Cleaner](https://cromagnon.app/tools/csv-cleaner)
- [JSON to CSV](https://cromagnon.app/tools/json-to-csv)
- [All tools](https://cromagnon.app/tools)
