Apps / Text & Developer Tools / TSV ↔ CSV Converter

⇄ TSV ↔ CSV Converter

Convert tab-separated to comma-separated data and back, with correct escaping either way. Nothing leaves your browser.

Escaping convention: CSV output follows RFC 4180 — a field is wrapped in double quotes if it contains a comma, a double quote, or a newline (quotes inside are doubled). TSV has no standard quoting, so a field with a tab, newline or backslash is backslash-escaped instead (\t, \n, \r, \\) — the common convention used by tools like MySQL and PostgreSQL's COPY.

1. Input

2. Result