Home/TSV ⇄ CSV
Table

TSV ⇄ CSV

Convert between tab-separated and comma-separated values

Input
TSVTSV
Output
CSVCSV

Overview: TSV ⇄ CSV converts between tab-separated files and comma-separated files. TSV and CSV are two of the most common plain-text table formats and differ only in the delimiter — TSV uses Tab (\t) and CSV uses a comma. This tool converts between them losslessly and escapes special characters in fields automatically.

How to use: Step 1 — paste TSV content on the left (for example a table copied from Excel). Step 2 — the tool converts it to CSV in real time on the right. Step 3 — to go the other way, paste CSV on the right; the tool parses it and outputs Tab-separated text on the left. Step 4 — the result can be copied or downloaded. All content is escaped following RFC 4180.

Typical scenarios: Data engineers working in bioinformatics or log analysis (TSV-heavy fields) need CSV for Excel analysis; TSV data produced by Python, R or command-line tools is turned into CSV for team collaboration; CSV test data is turned into TSV for batch import through psql \copy or mysql -B; unifying formats when integrating with scraped data or open datasets.

Technical notes: Parsing is RFC 4180 compatible — fields containing the delimiter (comma or tab), double quotes or newlines are wrapped in double quotes and internal double quotes are escaped by doubling. The tool only changes the delimiter, not the content. Output uses CRLF newlines. When a field already contains tabs or commas, the tool wraps it with quotes to avoid ambiguity. No type inference or deduplication is performed — pair this tool with "CSV Cleaner" for cleansing.

Privacy: All conversion runs locally in your browser and no data is uploaded, so it is safe to use with internal business tables and log data.

Frequently Asked Questions

How do I use TSV ⇄ CSV?
Step 2 — the tool converts it to CSV in real time on the right. Step 3 — to go the other way, paste CSV on the right; the tool parses it and outputs Tab-separated text on the left.
What can TSV ⇄ CSV do?
Typical scenarios: Data engineers working in bioinformatics or log analysis (TSV-heavy fields) need CSV for Excel analysis; TSV data produced by Python, R or command-line tools is turned into CSV for team collaboration; CSV test data is…
Is my data private when I use TSV ⇄ CSV?
Privacy: All conversion runs locally in your browser and no data is uploaded, so it is safe to use with internal business tables and log data. Privacy: All conversion runs locally in your browser and no data is uploaded, so it is safe to use with internal business tables and log data.
What technical details should I know about TSV ⇄ CSV?
The tool only changes the delimiter, not the content. Output uses CRLF newlines.