Skip to main content
MyDataFixer

TSV to CSV Converter

Turn a tab-separated file (.tsv or .txt) into a CSV that opens correctly in Excel and other programs, with a comma or semicolon. Or turn a CSV into TSV, or either into an Excel workbook. Every value stays exactly as written.

Open a .tsv, .txt or .tab file. It is read on your device, never uploaded, and your original file is never changed.

Your file is read by your browser on this device. It is not uploaded to our servers.

How the TSV to CSV converter works

  1. Open a .tsv, .txt or .tab file (or a .csv that really uses tabs). It is read on your device; the separator and text encoding are found automatically and can be changed.
  2. A quick structure check shows whether every row has the same number of values. If not, “Check and repair in the CSV Validator” opens the same file there.
  3. Choose the separator for the new file: comma (the usual CSV), semicolon (for Excel in countries that write decimals with a comma) or tab (to make a TSV from a CSV). Line endings and the BOM are under “More options”.
  4. Download the CSV, or an Excel workbook. Each file is read back and checked before it is downloaded.

Example

A file exported from a database has the line 00123⇥Patil, Asha⇥Pune (⇥ is a tab). As CSV it becomes 00123,"Patil, Asha",Pune: the name is put in quotes because it contains a comma, so it stays in one cell, and the code keeps its leading zeros.

What TSV to CSV never does

  • Upload your file or change the original. The new file is created in your browser.
  • Change a value: codes keep their leading zeros, long numbers keep all their digits, and dates stay as written in the CSV.
  • Split a value that contains the new separator: it is put in quotes, as CSV requires.
  • Offer a file that doesn't match the table: every download is checked first.

Good to know

  • A value with a tab inside it can't be told apart from two values unless it is in quotes; the structure check points out rows that don't line up.
  • Files up to 150 MB; very large files need a computer or a recent phone with enough memory.

Questions and answers

Is my file uploaded?

No. Your browser reads the file on your device and creates the CSV there. Nothing is sent to MyDataFixer's servers or to anyone else.

What is a TSV file?

A text file where the values on each line are separated by tabs instead of commas. Databases, Google Sheets and many research tools export it, sometimes with a .txt name.

Can I convert CSV to TSV here?

Yes. Open the CSV file and choose “Tab” as the separator for the new file.

Comma or semicolon?

Comma is the usual CSV. Choose semicolon if the file is for Excel on a computer set up for a country that writes decimals with a comma (3,5), such as Germany, France or Brazil.

Why does my TSV open in one column in Excel?

Excel sometimes doesn't recognise tabs when you double-click a file. Converting it to CSV (or to an Excel workbook) here opens correctly every time.