TSV to CSV: Swap Tabs for Commas Without Shifting Cells
Tabs and commas both separate cells, but tools are picky about which one they accept. A careful swap keeps every value in its column.
What is the TSV to CSV Converter?
Paste tab-separated values, often copied from a spreadsheet or a database export, and get comma-separated values back. Tabs become commas, and any field that now contains a comma, a quote, or a line break is wrapped in quotes so it stays one cell. The row and column structure stays exactly the same, only the separator changes.
How to use it
- Paste tab-separated values.
- Click Convert to CSV.
- Check that no cell shifted columns.
- Copy the CSV into a spreadsheet or file.
Worked example
A TSV table with name and age columns becomes the CSV header name,age with the row Ada,36.
How do I turn TSV into CSV?
Replace each tab with a comma, then quote any field that contains a comma, quote, or line break so it remains a single cell.
Frequently asked questions
Why would I need TSV to CSV?
Many exports use tabs, while many tools expect commas; converting keeps the same table in the expected format.
What if a field already contains a comma?
It is wrapped in quotes so the comma stays inside that cell instead of splitting it.