Convert CSV ⇆ TSV and Change Delimiters

What this fixes, and what it can't: Changes the character that separates your columns, such as comma or tab. It does not change the values themselves.

Turn a comma file into tab-separated (or the other way round), or switch to semicolons or pipes for a fussy importer. Drop the file below — the input delimiter is detected for you, you preview the table, and the converted file downloads straight back. Nothing is uploaded. A delimiter is the character that separates your columns.

Quick Answer: CSVUndo converts between CSV, TSV, semicolon, and pipe-delimited files directly in your browser. Delimiters are automatically detected and converted locally with RFC 4180 quote-escaping compliance under an enforced connect-src 'none' CSP policy.

Free. No signup. Your file never leaves this tab. Prove it in 30 seconds →

Drop your CSV or TSV file here or click to choose a file
…or paste the data straight into the box below

No file to hand? Grab sample-tab-separated.tsv and convert it back to comma-separated. All samples.

Output options for the converted file

Excel-safe wraps long numbers and zero-led codes as ="00501", so Excel reads them as text and cannot re-damage them when the converted file is reopened. Leave it off if the file goes straight into another system, which may show the = literally.

🔒 Try it: switch off your Wi-Fi — the conversion still runs, because your file never leaves this tab. We can't read, store, or leak what we never receive. Prove it in 30 seconds →

How to do it

  1. Add your file. Drop your file on the box above, or paste its text into the box. It stays in this tab.
  2. Choose the output. Pick the character that should separate your columns: tab, comma, semicolon or pipe.
  3. Convert and download. Run the conversion and download the new copy. Your original file is not changed.

CSV, TSV, and why the delimiter matters

A CSV and a TSV are the same idea — a plain-text table, one record per line — separated by different characters. CSV uses a comma between fields; TSV uses a tab. The choice matters because whichever character is the separator can’t appear freely inside your data. Commas turn up constantly in addresses, product names and European decimal numbers, so CSV leans on quoting ("Smith, Jr.") to keep them straight. Tabs almost never appear inside real values, so TSV usually needs no quoting at all — which is exactly why data teams and bioinformatics tools often prefer it.

When to pick TSV vs CSV

Short version: use whatever the system on the other end expects. If an importer keeps splitting your fields on the commas inside them, switching to tab-separated often fixes it instantly.

Which delimiter to pick for each situation
SituationBetter choice
Uploading to most marketplaces, CRMs, ad platformsCSV (comma)
Data has lots of commas and the importer keeps mis-splitting itTSV (tab)
European locale where comma is the decimal separatorSemicolon or TSV
Bioinformatics / data-science pipelines (BED, GFF, many ML tools)TSV (tab)
A tool that specifically asks for pipe-delimitedPipe ( | )

How this converter works — and why it’s safe

The converter reads your file with the same tested parser that powers the rest of CSVUndo: it auto-detects the input delimiter, respects quoted fields (including quoted commas and line breaks), then re-writes every row using the delimiter you pick. If a value contains the new delimiter, it is quoted automatically so nothing shifts. Your actual values are never altered — a barcode stays a barcode, a leading zero stays a leading zero.

One thing worth knowing: if you convert to TSV and then reopen it in Excel by double-clicking, Excel can still mangle long numbers and drop leading zeros, because that’s Excel’s type-guessing, not the file’s fault. Tick Excel-safe before converting and identifier codes are wrapped as ="00501" so Excel leaves them alone. If your file has already been damaged, run it through the matching repair tool first:

File already damaged by Excel?

If the numbers are in 1.23E+12 notation, the ZIP codes lost their zeros, or the text is full of é, fix that first — then convert the clean file to whatever delimiter you need.

Open the CSV repair tool →

Learn more

For the full background on the two formats — escaping rules, performance, and which tools expect which — see our guide on converting TSV to CSV (and back). If your file opened with every field crammed into one column, that’s a delimiter mismatch rather than a conversion job — our guide on a CSV that opens in one column walks through it. Delimiter trouble has a family: why Excel saves CSVs with semicolons on European systems, how decimal commas collide with the comma delimiter, why commas inside values break columns apart, and when CRLF vs LF line endings matter. Browse all guides for every other Excel-and-CSV mishap.

Deciding which format to keep a file in? See CSV vs Excel (XLSX): differences and when to use each.

Source: the quoting rules this converter applies to commas, quotes and line breaks are those of RFC 4180.

Frequently asked questions

What is the difference between CSV and TSV?

Both are plain-text tables with one row per line. CSV separates fields with commas; TSV separates them with tab characters. Because tabs almost never appear inside real data, TSV rarely needs the quoting that CSV uses to protect commas. Otherwise they hold the same data.

How do I convert a CSV to TSV (or a TSV back to CSV)?

Drop the file into the converter above, choose Tab as the output delimiter (or Comma to go the other way), and click Convert & Download. It runs in your browser, so nothing is uploaded, the input delimiter is detected automatically, and quoted fields are handled correctly.

Will converting the delimiter break my leading zeros or barcodes?

No. Converting changes only the character between fields; the values themselves pass through unchanged. If you’ll reopen the result in Excel, tick Excel-safe so codes like 00501 and long barcodes are wrapped as ="…" and Excel can’t re-strip the zeros or collapse them into scientific notation.

Is my file uploaded anywhere?

No. The converter is JavaScript running in your own browser tab. The file never leaves your device, and the tool keeps working even if you disconnect from the internet after the page loads.