CSV to TSV Converter

Change a CSV file into tab-separated values that paste cleanly into spreadsheets, databases and command-line tools.

Loading tool…

About the CSV to TSV

Replacing every comma with a tab breaks as soon as a value contains a comma, like "Arlington, VA". This tool parses the CSV properly first, so quoted commas, doubled quotes and line breaks inside fields are kept as data, and then writes each row with tab characters between fields.

TSV is handy because commas are common in text but tabs are rare. Pasting TSV into Excel or Google Sheets splits it into columns automatically, and tools such as cut -f2, awk -F'\t' and PostgreSQL COPY read it without extra options. If a value does contain a tab, quote or line break, it is wrapped in double quotes the way Excel does it; turn on Quote all fields to quote every value.

The input delimiter is auto-detected, so semicolon-separated exports work too. Everything runs locally in the browser.

Example: the row 2,"Grace Hopper","Arlington, VA" becomes 2, Grace Hopper and Arlington, VA separated by tab characters; the quotes are no longer needed because the comma is not a separator in TSV. Rows with fewer fields than the header are written as they are, so you can spot them.

How to use it

  1. Paste CSV or open a .csv file.
  2. Confirm the detected delimiter and header setting.
  3. Copy the TSV or download converted.tsv.

Frequently asked questions

What is the difference between CSV and TSV?
Only the separator: CSV uses commas (or semicolons in some locales), TSV uses the tab character. TSV rarely needs quoting because tabs seldom appear in data.
Does TSV support quotes?
The IANA text/tab-separated-values format has no quoting. Excel and most parsers accept quoted fields anyway, so values with tabs or line breaks are quoted to keep them intact.
Is the header row kept?
Yes. The first row is written as-is. Uncheck “First row is header” if your file has none; the output is the same data either way.

Related tools