CSV to TSV Converter
Convert CSV to tab-separated values, or switch direction to turn TSV back into CSV. Quoted fields, embedded commas, and ragged rows are all handled.
Converted live as you type. Everything runs in your browser. Nothing is uploaded.
Direction
Options
TSV output
How to convert CSV to TSV online
Paste your CSV
Paste or type comma-separated values into the input. The delimiter is detected automatically, so semicolon, tab, and pipe separated data work too.
Set the direction and options
Keep the default CSV to TSV or switch to TSV to CSV, then choose how in-cell tabs and line breaks are handled and whether the header row is kept.
Copy the result
The converted text updates live as you type. Click Copy to put it on your clipboard, or download it as a file.
Why use this tool
Converts as you type
There is no convert button. Parsing reruns on every edit, so the output always reflects the current input.
A real delimiter parser
Quoted fields, commas and line breaks inside cells, and escaped quotes are parsed correctly instead of split naively.
Two-way conversion
A direction toggle turns CSV into TSV or TSV into CSV, quoting any field that needs it for the target format.
Safe tabs and line breaks
A cell that contains a tab or a line break can be escaped, quoted, or replaced with a space so it never breaks the row and column layout.
Keeps ragged rows intact
Rows with different column counts and empty trailing columns are preserved exactly, never padded out or dropped.
Runs entirely in your browser
Everything happens on your device. Nothing is uploaded.
About this tool
This tool converts CSV to TSV using a full delimiter parser rather than splitting on commas. It reads quoted fields, commas and line breaks inside cells, and escaped quotes correctly, then re-emits every row with tabs between the values. A direction toggle reverses the flow so tab-separated data becomes CSV, wrapping any field that contains a comma or a line break in quotes. The output regenerates live as you type.
TSV is what many databases, spreadsheets, and analysis tools prefer for pasting, because a tab is far less common inside real data than a comma. The one hard case is a cell that itself contains a tab or a line break, which would otherwise split into a new column or row. You can escape it, wrap it in quotes, or replace it with a space, and the choice is yours. Ragged rows with different column counts and empty trailing columns are kept exactly, so nothing is invented and nothing is lost.
You can also fix the input delimiter to comma, semicolon, tab, or pipe, keep or strip the header row, and pick LF or CRLF line endings. To turn the same data into structured records, use CSV to JSON. To go from objects back to rows, use JSON to CSV. To render a table for documentation, try CSV to Markdown table.
Frequently asked questions
- How does the CSV to TSV converter work?
- Paste or type CSV into the input and the tab-separated output updates live as you type. Each value is separated by a tab and each row by a line break. The input delimiter is detected automatically, and a direction toggle also converts TSV back to CSV.
- Is my data uploaded anywhere?
- No. Everything runs in your browser. Your data never leaves your device, is never sent to a server, and is not stored or logged.
- What happens to tabs or line breaks inside a cell?
- Because a tab or line break would break the columns of a TSV file, you choose how to handle them: escape them as \t and \n, wrap the cell in quotes, or replace them with a single space. Escape keeps every record on one line and is the default.
- Can it handle quoted fields and commas inside values?
- Yes. Standard quoting is supported, so a field wrapped in double quotes can contain commas, line breaks, and escaped quotes without breaking the parse. Semicolon, tab, and pipe separated inputs are detected too.
- What if my rows have different numbers of columns?
- Ragged rows are preserved. Every cell is kept in place, empty trailing columns are not dropped, and short or long rows are never padded to match the others, so no data is added or lost.
- Can I remove the header row?
- Yes. Turn off Keep header row and the first row is dropped from the output. Leave it on to convert every row, including the header, unchanged.
Related tools
CSV to JSON
Paste CSV and get a clean JSON array of objects, with header detection and automatic number and boolean typing.
JSON to CSV
Flatten a JSON array of objects into clean CSV, with nested keys expanded to dotted columns and your choice of delimiter.
CSV to Markdown Table
Paste CSV or TSV and get a clean GitHub-flavored Markdown table. The delimiter is detected automatically, with header and column-alignment controls.
Angle Converter
Convert an angle between degrees, radians, gradians, turns, arcminutes and arcseconds, with a degrees-minutes-seconds breakdown.
Area Converter
Convert area between metric and imperial units instantly.
Binary to Decimal Converter
Convert a binary number to its decimal value, with hexadecimal and octal readouts.