CSV TO TSV

Convert a comma-separated file into tab-separated values. TSV pastes straight into a spreadsheet with every value in its own cell, and many command-line and database tools read it without quoting rules. Tabs and line breaks inside cells become spaces, and the tool tells you how many it changed.

Zero retention: your files never leave this browser. Verify it yourself in DevTools.

Loading the CSV tools.

About CSV to TSV converter

How Can You Verify That Your Files Never Leave This Browser?

You do not have to take our word for it. Browser developer tools list every request a page makes, so you can watch 2csv work and confirm that your data is never sent anywhere. The check takes about a minute.

  1. Open your browser developer tools with F12, or Cmd+Option+I on a Mac, and select the Network tab.
  2. Reload the page and let it finish. You will see the page's own files (including the background file parser), its web fonts, and one anonymous page-view request. No file has been chosen yet, so none of them can contain your data.
  3. Click the clear icon in the Network tab so that the log is empty.
  4. Open a CSV file in the CSV to TSV converter tool above, run it, and download the result.
  5. Look at the Network tab again. It is still empty. Reading, changing, and saving the file made no request at all. For extra proof, turn on offline mode after the page loads: every tool keeps working.

Your file is read into this tab's memory with the browser's own file reader, parsed and changed by code that is already on the page, and handed back to you as a download. It is never uploaded, never stored in the browser, and gone when you close the tab. The only other request the site can make is the feedback form, and only when you submit it.

The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site and the anonymous analytics endpoint, so even a bug could not send your data elsewhere.

What Is the Difference Between CSV and TSV?

CSV separates values with commas and wraps values that contain commas, quotes, or line breaks in double quotes. TSV separates values with tab characters and usually has no quoting at all. Because commas are common in text and tabs are rare, TSV is simpler to read with basic tools and pastes cleanly.

  • CSV can hold any text in a cell, thanks to quoting.
  • TSV cannot hold tabs or line breaks inside a cell.
  • Spreadsheets split pasted TSV into cells automatically.

What Happens to Tabs and Line Breaks Inside Cells?

TSV cannot hold them, so they become spaces, and the count of changed cells is reported. A notes column with line breaks will come out as one line per cell. If line breaks matter, keep the file as CSV; if they do not, consider cleaning them first with Trim whitespace, which can replace them on purpose.

Reporting the count matters because the change is otherwise invisible. A file with no tabs or line breaks inside cells converts with a count of zero, which confirms that the TSV holds exactly the same values as the CSV, only separated differently. A count above zero tells you which choice to make.

How Do You Paste a CSV Into a Spreadsheet?

  1. Open the CSV here, or paste its text onto the page.
  2. Choose TSV in the export bar, with or without the header row.
  3. Press copy.
  4. Click the first cell in your spreadsheet and paste. Each value lands in its own cell.

Pasting TSV avoids the import dialog many spreadsheets show for CSV files. It also avoids some automatic changes on open, though a spreadsheet may still reformat values such as long numbers or dates once they are pasted.

Can You Convert the Other Way?

Yes. TSV to CSV reads a tab-separated file and writes a standard, properly quoted CSV. Cells copied from a spreadsheet arrive tab-separated, so pasting them onto the page and exporting as CSV is another quick route. The export bar also writes JSON, JSON Lines, and SQL from the same table.

Before converting, the other tools can tidy the data in place. Remove duplicates, Sort CSV, and Filter CSV all work on the same open table, and if a filter is active the TSV export contains only the matching rows, as the export bar notes.

What Else Can You Do With a CSV Here?

  • CSV viewer: Open a CSV of any size, scroll every row, and see a profile of each column.
  • Sort CSV: Sort rows by one or more columns, as text, numbers, or dates, ascending or descending.
  • Filter CSV: Show only the rows that match an expression such as price > 10 AND state = "NY".
  • CSV validator: Find ragged rows, broken quotes, bad headers, encoding problems, and values of the wrong type.
  • Remove duplicates from CSV: Find and remove duplicate rows, comparing whole rows or only the columns you choose.
  • Trim CSV whitespace: Trim leading and trailing spaces, collapse double spaces, and drop invisible characters and empty rows.
  • Find and replace in CSV: Find text in one column or every column and replace it, with match case, whole cell, and regex options.
  • Remove rows from CSV: Delete rows by number or range, the first or last rows, empty rows, or rows that match a rule.
  • CSV editor: Edit cells, add or delete rows, and add, delete, rename, or move columns.
  • Split CSV column: Split one column into several at a delimiter, such as a full name into first and last.
  • Merge CSV columns: Join two or more columns into one with the separator you choose, skipping empty values.
  • CSV column type converter: Convert a column to clean numbers, ISO dates, true/false, or upper, lower, or title case.
  • CSV to JSON converter: Convert CSV to a JSON array of objects or arrays, or to JSON Lines, with typed values.
  • JSON to CSV converter: Convert a JSON array or JSON Lines to CSV, flattening nested objects into dotted column names.
  • CSV to SQL converter: Turn a CSV into SQL INSERT statements, with an optional CREATE TABLE, for PostgreSQL, MySQL, SQLite, or SQL Server.
  • TSV to CSV converter: Convert a tab-separated file to a standard, properly quoted comma-separated CSV.
  • CSV splitter: Split a large CSV into smaller files of a set number of rows, with the header repeated in each.

All eighteen tools are on the 2csv home page, and once a file is open you can switch between them without reloading it. Part of the 2suite.io privacy-first ecosystem.

Frequently Asked Questions

Why convert CSV to TSV?

TSV pastes into spreadsheets with each value in its own cell, and many tools read it without dealing with quoting rules.

What happens to tabs inside my data?

TSV cannot hold them, so tabs and line breaks inside cells become spaces, and the tool reports how many cells changed.

Can I leave out the header row?

Yes. The header row is optional, which helps when pasting below existing headers in a spreadsheet.

Is the TSV copied or downloaded?

Either. Copy it to the clipboard for pasting into a spreadsheet, or download it as a .tsv file for another program.

Can I convert a semicolon-separated file to TSV?

Yes. The semicolon delimiter is detected when the file opens, or you can choose it yourself. Then export as TSV like any other table.

Was this helpful?