CSV to TSV

Convert comma-separated values (CSV) to tab-separated values (TSV). Paste data or upload a file.

Drop a file or click to browse

or paste data below

Need the reverse conversion? TSV to CSV

How CSV to TSV works

Why not just replace commas with tabs?

A find-and-replace of , with a tab breaks any field that contains a comma, such as "Acme, Inc." or a street address. This converter parses the CSV properly first, so commas inside quoted fields stay part of the value, and then writes each row with tabs between fields.

Once the data is tab-separated, most of those quotes are no longer needed, because commas have no special meaning in TSV. The output only quotes a field when it contains a tab, a double quote, or a line break.

What is kept and what changes

Column order, header names, and every value are kept as text, including leading zeros and blank cells. Blank lines and rows where every cell is empty are dropped. Duplicate header names get a suffix (name_1) so each column stays distinct.

Lines end with Windows-style CRLF (\r\n), which spreadsheet apps and most command-line tools accept. If a Unix tool shows ^M at line ends, strip the carriage returns with tr -d '\r'.

When TSV is the better choice

TSV is useful when values often contain commas: free-text notes, addresses, or numbers formatted with thousands separators. It is also what you get when you copy a range from Excel or Google Sheets, so TSV pastes back into a spreadsheet cleanly. Tools such as cut, awk -F'\t', and many bioinformatics pipelines expect it. Our guide CSV vs TSV vs JSON compares the formats in more detail.

Example

The commas inside the company name and address stay in their columns, and the quotes are no longer needed.

CSV input
company,address,employees
"Acme, Inc.","12 Main St, Springfield",40
Globex,"99 Ocean Ave",1200
TSV output (tabs shown as wide gaps)
company	address	employees
Acme, Inc.	12 Main St, Springfield	40
Globex	99 Ocean Ave	1200

How to use CSV to TSV

  1. 1

    Paste CSV or drop a .csv file.

  2. 2

    The TSV appears as you type; check any row warnings below the output.

  3. 3

    Copy the TSV to paste into a spreadsheet, or download converted.tsv.

When to use it

Command-line processing

Prepare data for cut, awk, or sort, where splitting on tabs is simpler than handling quoted commas.

Pasting into spreadsheets

Paste the TSV straight into a sheet without running an import wizard.

CSV to TSV questions

Can I paste the result into Excel or Google Sheets?

Yes. Spreadsheets split pasted tab-separated text into columns automatically, which is often easier than importing a CSV file.

What if my CSV uses semicolons?

Semicolon-separated files are not detected. Re-export with commas, or replace the semicolons first if no value contains one.

Does it change my values?

No. Values are copied as text exactly; only the separators and quoting change.

Questions about privacy, file size, or accounts are answered on the FAQ page.

Other tools in the same category, starting with the reverse conversion

Search all tools