UTILS.
Private by default
⇄

TSV ⇄ CSV

Convert between tab-separated and comma-separated values.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
output

About this tool

Convert tab-separated data to CSV and back, quoting fields safely, entirely in your browser.

Press TSV to CSV or CSV to TSV; the output then follows the last button and updates as you edit, starting in TSV to CSV mode. Input is properly parsed: quoted fields may contain the delimiter, doubled quotes and line breaks, a leading byte-order mark is dropped, and Windows line endings become plain line breaks.

On output a field is quoted only if it contains the target delimiter, a double quote or a line break, and inner quotes are doubled. Rows are not padded or checked, and blank lines stay blank. Only tab and comma are supported. Programs differ in how they treat quotes inside TSV, so check the result where you will use it.

Frequently asked questions

How are tricky fields handled?
Fields containing the target delimiter, a quote, or a newline are wrapped in double quotes with inner quotes doubled.
Does it keep existing quotes?
Yes. The parser understands quoted input fields, so values with commas or tabs survive the round trip.
Can I convert a semicolon-delimited file?
No. Only tab and comma are supported, and the button you press sets the direction.
Is the first row treated as a header?
No. Every row is converted the same way.

More tools