.tsv.csv

TSV to CSV Converter

Convert tab-separated data back into standard comma-separated CSV. Runs 100% in your browser — nothing you upload here ever touches a server.

Input

Drop a file here or click to upload or paste content directly into the box below

Output

Why convert TSV to CSV

TSV is common in scientific and database export contexts, but CSV remains the more universally recognised tabular format for everyday spreadsheet software, email attachments, and general-purpose import forms. This tool takes tab-separated data and re-emits it as standard comma-separated values, adding the quoting CSV needs wherever a field's text happens to contain a comma.

How the conversion works

The parser splits each line on tab characters to recover the original rows and columns, then rebuilds each row as CSV, wrapping any field that itself contains a comma, quotation mark, or newline in double quotes and doubling any internal quotes, exactly matching the escaping convention that spreadsheet programs expect when reading a CSV file back in.

Where this is useful

Analysts working with a TSV export from a scientific tool or database dump often need to hand that data to a colleague or import it into a system that only accepts CSV. Because CSV is the more broadly supported format across consumer spreadsheet software, converting to it maximizes compatibility with whatever the data's next destination happens to be.

Common pitfalls this avoids

A naive text-replace of tabs with commas breaks the moment any field's own text contains a comma, silently shifting every column after it out of alignment. This tool avoids that by re-parsing the TSV structurally first and applying proper CSV quoting rules afterward, rather than performing a blind character substitution.

A note on encoding

The output uses standard CRLF row separators and UTF-8 text encoding, matching what Excel, Google Sheets, and most database import tools expect by default, so the resulting file should open correctly without any manual encoding adjustments on your end.

Step-by-step walkthrough

Paste your tab-separated text into the input box or drop a .tsv file onto the page, then click Convert. The status line confirms how many rows were processed, and the properly quoted CSV result appears in the output box. Click Download Result to save converted.csv, ready to open directly in any spreadsheet program. Because there's no upload step involved, you can convert several TSV exports one after another without any waiting between them, which is handy when working through a batch of files exported from the same scientific tool or database.

Privacy and performance

Because the TSV to CSV Converter runs as JavaScript inside your own browser tab rather than on a remote server, there's no upload step, no waiting on a network connection, and no copy of your file sitting on someone else's infrastructure afterward. That also means it keeps working exactly the same whether your file is a few bytes or several megabytes, limited only by your own device's memory rather than a server's queue or rate limit. If you ever want to double-check that nothing is being transmitted, your browser's built-in developer tools network tab will show no outgoing request for the file's contents at any point during conversion. This also means the tool keeps working offline once the page has loaded, and closing the tab afterward leaves no copy behind on any server, since one was never made in the first place. That's a meaningful difference from typical online converters, which usually require uploading your file to a remote service before you ever see a result.

Frequently Asked Questions

Does it correctly quote fields containing commas?

Yes, any field whose text contains a comma, quotation mark, or newline is automatically wrapped in double quotes with internal quotes doubled, following standard CSV escaping rules.

What if my TSV file has extra blank lines?

Blank lines are skipped automatically so they don't appear as empty rows in the output.

Which character encoding does the output use?

The output is plain UTF-8 text with CRLF row separators, matching what most spreadsheet software expects.

Is my data uploaded to a server?

No, parsing and conversion both happen locally in your browser.

Can I go the other direction, CSV to TSV?

Yes, use the companion CSV to TSV Converter tool on this site.