TSV to CSV Converter
Swap between tab-separated values (TSV) and comma-separated values (CSV) in either direction — the tool automatically handles quoted fields and embedded commas so the output is always RFC-4180-compliant. Use the mode toggle to go from TSV to CSV for spreadsheet imports, or from CSV back to TSV for tools that expect tab delimiters. Results update live as you type, and the row and column count is shown at a glance — no upload or sign-up needed.
TSV
CSV
What is TSV to CSV Converter?
Tab-separated values are how Excel copies data to the clipboard, how PostgreSQL's COPY command exports by default, and how many analytics platforms deliver their query results. But most downstream tools — REST APIs, database import wizards, data processing libraries — expect comma-separated CSV. This converter makes the transition clean: tabs become commas, and any values that contain commas are automatically wrapped in double quotes per RFC 4180 so they won't be split during subsequent parsing. Windows-style CRLF line endings are normalised to LF for cross-platform compatibility. For European locale compatibility, you can also output semicolon-separated instead of comma-separated — useful when the target will be opened in Excel in regions where commas are decimal separators. The conversion is instantaneous for files of any size since it runs entirely in the browser.
How to Use
- 1
Paste Your TSV Data
Paste tab-separated values directly, or upload a .tsv or .txt file. The tool confirms the detected delimiter before conversion — override if auto-detection picks the wrong separator.
- 2
Configure CSV Output
Choose the output delimiter (comma is standard; semicolon for European Excel compatibility), set whether to quote all fields or only fields that contain commas, and toggle header row preservation.
- 3
Convert to CSV
Click "Convert to CSV". Tabs are replaced with the chosen delimiter; fields containing the new delimiter are automatically wrapped in double quotes per RFC 4180.
- 4
Copy or Download the CSV
Copy the CSV for immediate use in Excel, Google Sheets, or a database import tool — or download it as a .csv file.
Common Use Cases
Excel Copy-Paste Cleanup
When copying data from Excel and pasting into a text editor, tab characters separate columns. Convert this TSV output to standard CSV for compatibility with CSV-only tools and parsers.
Database Export Normalisation
PostgreSQL COPY and MySQL SELECT INTO OUTFILE can export data as tab-separated values. Convert TSV exports to CSV for compatibility with data processing tools that expect standard comma-separated format.
Log File Format Conversion
Many system and application logs use tab-separated columns. Convert these TSV log files to CSV to load them into log analysis tools, spreadsheets, or data pipelines that parse CSV.
Third-Party Data Feed Processing
Data vendors and price feed providers often deliver data as TSV files. Convert to CSV for consistent processing across your data pipelines regardless of the source delimiter format.
Conversion Examples
TSV → CSV Conversion
Tab delimiters are replaced with commas; fields with commas are auto-quoted.
Input JSON
name age city Alice 30 London Bob 25 Paris
Output CSV
name,age,city Alice,30,London Bob,25,Paris
TSV with Commas in Values → Quoted CSV
Values containing commas are automatically wrapped in double quotes.
Input JSON
product price description Widget 9.99 Small, portable device Gadget 24.99 Fast, reliable tool
Output CSV
product,price,description Widget,9.99,"Small, portable device" Gadget,24.99,"Fast, reliable tool"