TSV ↔ CSV Converter

Convert tab-separated data (TSV) and comma-separated CSV to each other.

Category: Converters

When to use?

Use it to convert tab-separated data copied from a spreadsheet or log into CSV, or the reverse.

How to use

  • Choose the direction.
  • Paste the data.
  • Copy the result.

Input Explanation

TSV uses tabs and CSV uses commas as the delimiter for table-form text.

Calculation Basis

It parses rows and cells considering quotes and line breaks, then re-serializes in the target delimiter format.

Usage Examples

  • Change table format - Convert tab-separated text and CSV to each other.
  • Convert spreadsheet pastes - Convert tab-separated data copied from Excel into CSV.
  • Move data between tools - Match the format between TSV-only and CSV-only tools.

Examples

  • name\trole → name,role
  • Tab-separated data copied from Google Sheets → comma-separated CSV

Cautions

  • Malformed source data can cause parsing errors or broken output.
  • A mismatched encoding standard or complex nested data may break or drop the structure.

FAQ

Does it handle CSV with quotes?

Yes. It handles quote escaping with the existing CSV parser logic.

What is the difference between TSV and CSV?

TSV separates items by tabs, CSV by commas. TSV is handy when values contain many commas.

What if a value contains a tab?

In TSV a tab inside a value is hard to distinguish from the delimiter, so tidy it before converting.

Is the header line converted too?

Yes. All lines including the first only change format.

Related Tools