TSV to CSV Converter
Convert TSV (Tab-Separated Values) data into CSV (Comma-Separated Values) format for spreadsheets, databases, and tools that expect comma delimiters
Conversion Options
Recommended Settings
Pro Tips
- •TSV uses tabs to separate columns, while CSV uses commas - the tool re-delimits your data automatically
- •Values containing commas, quotes, or line breaks are automatically quoted per CSV spec
- •Enable unescaping if your TSV has literal \t, \n, or \r sequences that should become real tab/newline characters
- •Rows are split on newlines and columns on tabs, so extra tabs in a row will add extra columns
- •Most spreadsheet tools and databases accept CSV more universally than TSV
Most Popular
Most users keep unescaping and whitespace trimming enabled for clean CSV output
When to Use This Tool
Convert TSV exports from databases, command-line tools, or legacy systems into CSV for import into Excel, Google Sheets, or a database that expects comma delimiters.
Convert TSV to CSV for tools and scripts (in Python, R, or elsewhere) that default to parsing comma-delimited files.
Bridge command-line utilities like awk or cut, which naturally output TSV, with downstream tools that only accept CSV.
Convert tab-delimited log exports into CSV for analysis in spreadsheet software or CSV-based log analysis tools.
How It Works
Split the TSV input into rows on newlines, and each row into cells on tab characters
Optionally unescape literal \t, \n, and \r sequences back into real tab, newline, and carriage return characters
Optionally trim leading and trailing whitespace from each cell
Escape CSV special characters (commas, quotes, line breaks) and join cells with commas
100% Private
Files never leave your device. All processing happens locally in your browser.
Lightning Fast
Powered by Pure JavaScript for optimal performance on modern browsers.
Secure
No data collection, no tracking, no sign-up required.
Frequently Asked Questions
What's the difference between TSV and CSV?
TSV (Tab-Separated Values) uses tab characters to separate columns, while CSV (Comma-Separated Values) uses commas. CSV is more widely supported, but needs quote-escaping for values containing commas, which TSV usually avoids.
What does 'unescape special characters' do?
Some TSV exports represent literal tabs or newlines inside a value as the escape sequences \t, \n, or \r (since a real tab or newline would otherwise be mistaken for a delimiter). This option converts those sequences back into their actual characters before converting to CSV.
How are commas and quotes in values handled?
Since TSV rarely needs escaping for commas, values with commas are typically safe. When converting to CSV, any value containing a comma, quote, or line break is automatically wrapped in quotes per the CSV standard, with existing quotes doubled.
Will Excel and Google Sheets open the resulting CSV?
Yes. CSV is the most universally supported spreadsheet import format, so the output opens cleanly in Excel, Google Sheets, and virtually every data tool.
What happens if a row has more or fewer tabs than others?
Each row is converted independently based on its own tab count, so rows with different numbers of columns will produce CSV rows with different numbers of fields. Make sure your TSV data has a consistent column count if you need uniform CSV rows.