CSV to TSV Converter
Convert CSV (comma-separated) data to TSV (tab-separated) format and vice versa
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
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.
Name,Email,Phone
Alice Park,[email protected],555-0101
Bob Reyes,[email protected],555-0182
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.
ID,Company,Address
1,Acme Inc,"350 Fifth Ave, New York"
2,Globex,"1 Infinite Loop, Cupertino"
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.
Produkt;Preis;Menge
Kaffee;3,50;12
Milch;1,20;8
Produkt Preis Menge
Kaffee 3,50 12
Milch 1,20 8
Who Uses This
Converting API exports or log dumps into tab-delimited formats for shell scripts and awk processing.
Reformatting gene expression data and sample manifests that need to be TSV for tools like BLAST or Galaxy.
Prepping files for import into SQL databases or BI tools that choke on comma-delimited data with embedded commas.
Cleaning up assignment datasets exported from Google Sheets before loading them into R or Python for homework.
Common Mistakes
This destroys any field that contains a comma inside quotes. "New York, NY" becomes two separate columns. Use a proper parser instead.
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.
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
- Processing: 100% client-side — nothing is uploaded
- Browser Support: Chrome, Firefox, Safari, Edge
- Max File Size: Limited only by your browser's available memory
- Quoting: RFC 4180 compliant parsing for quoted fields
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.