Tools

Home
CSV to JSONJSON to CSVCSV to HTMLCSV to SQLCSV Viewer

CSV to TSV Converter

Convert CSV (comma-separated) data to TSV (tab-separated) format and vice versa

Your files never leave your browser
Input delimiter:
Output delimiter:
📄
Drop a .csv or .tsv file here, or click to upload
CSV INPUT0 chars, 0 lines
TSV OUTPUT0 chars, 0 lines
Ready·

Drop in comma-separated data, get tab-separated output — or flip it the other way around. The parser respects quoted fields, so commas inside values like "Portland, OR" won't split into extra columns. And everything runs in your browser. Nothing gets uploaded.

How It Works

Paste CSV Data
→
Parse & Replace Delimiters
→
Download TSV

The parser reads each character of your CSV, tracking whether it's inside a quoted field or not. Commas outside quotes get swapped for tab characters. Commas inside quoted values? Left alone. The result is a properly formatted TSV file that won't break when you import it somewhere else.

Examples

Simple Contact List

A basic three-column export from a CRM or address book.

INPUT
Name,Email,Phone Alice Park,[email protected],555-0101 Bob Reyes,[email protected],555-0182
OUTPUT
Name Email Phone Alice Park [email protected] 555-0101 Bob Reyes [email protected] 555-0182

Quoted Fields with Commas Inside

This is where most simple find-and-replace methods break. The address field contains a comma, so it has to stay quoted in CSV. The converter knows the difference.

INPUT
ID,Company,Address 1,Acme Inc,"350 Fifth Ave, New York" 2,Globex,"1 Infinite Loop, Cupertino"
OUTPUT
ID Company Address 1 Acme Inc 350 Fifth Ave, New York 2 Globex 1 Infinite Loop, Cupertino

Semicolon-Delimited European Export

Many European systems export CSV with semicolons instead of commas (because they use commas as decimal separators). Set the input delimiter to semicolon and the output to tab.

INPUT
Produkt;Preis;Menge Kaffee;3,50;12 Milch;1,20;8
OUTPUT
Produkt Preis Menge Kaffee 3,50 12 Milch 1,20 8

Who Uses This

👨‍💻 Developers

Converting API exports or log dumps into tab-delimited formats for shell scripts and awk processing.

🧬 Bioinformaticians

Reformatting gene expression data and sample manifests that need to be TSV for tools like BLAST or Galaxy.

📊 Data Analysts

Prepping files for import into SQL databases or BI tools that choke on comma-delimited data with embedded commas.

🎓 Students

Cleaning up assignment datasets exported from Google Sheets before loading them into R or Python for homework.

Common Mistakes

Using find-and-replace to swap commas for tabs

This destroys any field that contains a comma inside quotes. "New York, NY" becomes two separate columns. Use a proper parser instead.

Forgetting the input delimiter isn't always a comma

European CSV exports often use semicolons. If your output looks like one giant column, check the input delimiter setting. Switch it to semicolon and re-convert.

Pasting TSV into the input when mode is set to CSV-to-TSV

The converter defaults to CSV input. If you're going the other direction (TSV to CSV), flip the mode toggle first. Otherwise tab characters get treated as regular text.

Technical Details

Frequently Asked Questions

What is the difference between CSV and TSV?

CSV separates columns with commas, TSV uses tab characters. The tab approach is handy when your data already has commas in it — like addresses or product descriptions. TSV files are also easier to split with command-line tools since tabs rarely show up in normal text.

Can I convert TSV back to CSV?

Yes. Flip the mode toggle at the top and it works in reverse. Paste your TSV data, hit convert, and you get properly formatted CSV with fields quoted where needed.

Is my data safe when I use this tool?

Your data stays in your browser the entire time. Nothing gets sent to a server. Once you close or refresh the page, the data is gone. There are no cookies or tracking involved in the conversion process.

How does the converter handle fields with commas?

If a field is wrapped in double quotes in the CSV, the converter treats everything between those quotes as one value — commas included. In the TSV output, the quotes get removed because tabs make the boundaries clear without them.

What file size can this converter handle?

There's no hard cap since it runs locally. Files up to about 50 MB work fine in most browsers. For really large files, turn off the live preview to keep things responsive. Your browser's memory is the only real limit.

Share: