Tools

Home
JSON FormatterSQL FormatterJS ValidatorMinify CSS
Merge PDFCompress PDFImage to PDF
JPG to PNGPNG to WebPCrop Image

TSV to CSV Converter

Paste tab-separated values or upload a .tsv file to instantly convert to CSV format

Your files never leave your browser
TSV Input0 chars, 0 lines
Drag & drop a TSV file here, or browse
Accepts .tsv, .txt files
CSV Output0 chars, 0 lines
Ready·

Drop your .tsv file or paste tab-separated data, and get clean, RFC 4180–compliant CSV back in seconds — commas, quotes, and line breaks inside fields are all handled automatically. No more broken columns from a bad find-and-replace. And everything runs in your browser. Nothing gets uploaded.

How It Works

Paste or Upload TSV
→
Parse & Quote Fields
→
Download CSV

The parser splits each line on tab characters, then rebuilds every row with comma delimiters. If a field contains a comma, a double quote, or a line break, it gets wrapped in quotes per the CSV spec. Double quotes inside a field are escaped by doubling them — so She said "hello" becomes "She said ""hello""". Simple but easy to mess up by hand.

Examples

Simple Contact List

You copied a few rows from Google Sheets and need CSV for a mail merge.

INPUT
Name Email City Alice [email protected] New York Bob [email protected] London
OUTPUT
Name,Email,City Alice,[email protected],New York Bob,[email protected],London

Product Data with Commas in Fields

Catalog export where product names contain commas. This is exactly where naive find-and-replace fails.

INPUT
SKU Product Price A100 Widget, Large 29.99 B200 Cable, USB-C, 6ft 12.50 C300 Adapter 8.00
OUTPUT
SKU,Product,Price A100,"Widget, Large",29.99 B200,"Cable, USB-C, 6ft",12.50 C300,Adapter,8.00

Survey Responses with Quotes

Free-text survey answers often have both commas and quotation marks — the trickiest case for CSV encoding.

INPUT
ID Response 1 Great product, would buy again 2 She said "not bad" 3 Fine
OUTPUT
ID,Response 1,"Great product, would buy again" 2,"She said ""not bad""" 3,Fine

Who Uses This

👩‍💻 Developers

Converting database dumps and log exports from TSV to CSV before loading into ETL pipelines.

📊 Data Analysts

Reformatting spreadsheet exports so they import cleanly into Tableau, Power BI, or R.

🔬 Researchers

Bioinformatics and lab data often arrives as TSV — this gets it into CSV for statistical software.

📋 Project Managers

Quick format conversion when a vendor sends TSV but the internal system needs CSV uploads.

Common Mistakes

Using find-and-replace to swap tabs for commas

If any field contains a comma — like "Portland, OR" — a blind tab-to-comma replacement will split that field into two columns. Every row after it shifts right and your data is ruined. Use a proper converter that quotes fields when needed.

Pasting from a rich text editor instead of plain text

Word processors and some email clients replace tab characters with spaces or formatting. If your paste doesn’t convert, check that you’re copying from a plain-text source like Notepad, a terminal, or the raw spreadsheet cells.

Wrong file encoding

If you see garbled characters (é, ’) after converting, the source file probably is not saved as UTF-8. Re-save it in UTF-8 encoding from your text editor, then try again. Most modern tools default to UTF-8, but older database exports sometimes use Latin-1 or Windows-1252.

Technical Details

Frequently Asked Questions

What is the difference between TSV and CSV?

TSV uses tabs between fields, CSV uses commas. The practical difference is that TSV rarely needs quoting since tabs almost never appear inside data, while CSV fields often need quotes because commas are common in text. Most tools accept both, but CSV has wider support overall.

How does the converter handle commas inside my data?

Any field that contains a comma gets wrapped in double quotes automatically. So a field like Portland, OR becomes "Portland, OR" in the CSV output. This follows the RFC 4180 standard and works with Excel, Google Sheets, and pretty much every CSV parser out there.

Is my data safe? Does anything get uploaded?

Nothing gets uploaded anywhere. The conversion runs entirely in JavaScript inside your browser. Your data stays on your computer the whole time. There is no server, no analytics on your content, nothing stored after you close the page.

Can I convert CSV back to TSV?

Not with this specific tool — it’s one-way, TSV to CSV. For the reverse direction, check the CSV to TSV converter in the related tools below. Same idea, opposite direction.

What’s the maximum file size I can convert?

There is no hard limit set by the tool. It depends on how much memory your browser has available. On most modern laptops, files up to 50–100 MB convert without issues. If you’re working with truly massive datasets — hundreds of megabytes — a command-line tool or Python script will be faster.

Share: