CSV ⇄ TSV Converter — Switch Comma, Semicolon and Tab Delimiters Safely
Convert cleanly between comma-separated CSV and tab-separated TSV spreadsheets.
5 lines read with the comma delimiter (detected).
- The data is read and written again under RFC 4180 rather than by replacing characters: commas or tabs inside quoted fields stay intact, and fields holding a tab, quote or line break are quoted in the output. Semicolon CSV from European or Indonesian Excel is read too.
When to use the Bidirectional CSV ⇄ TSV Delimiter Converter
Parsed, not replaced
The data is read as a table and written again instead of replacing commas with tabs. A comma inside a quoted field, such as the address "Jakarta, DC1", stays in one cell.
Both directions
Turn CSV into TSV for pasting into spreadsheets, or TSV into CSV with commas or semicolons for Indonesian Excel. LF or CRLF line endings can be chosen to suit the target system.
Source delimiter detected
Commas, semicolons and pipes are recognised from a consistent column count, and the number of lines read is shown for checking. The delimiter can also be chosen by hand when detection is not right.
A result that reads back
Fields holding the new delimiter, a quote or a line break are quoted, and the result is tested to read back through Python's csv module as the same table. Blank lines and empty cells are kept too.
Frequently asked questions
Are blank lines kept?
Yes. Blank lines stay blank lines in the result.
Which line ending is used?
Choose LF for Linux and macOS, or CRLF for Windows and RFC 4180.
What about pipe delimiters?
Files that use a pipe as the delimiter, such as exports from older systems, are also detected automatically and can be chosen by hand.
Can it read broken CSV?
An unclosed quote or text after a closing quote is reported with its line and column instead of guessing the content.
Is my data uploaded?
No. The conversion runs in your browser.
Similar tools
- JSON Formatter & Syntax PrettifierFormat messy single-line JSON with 2/4-space indentation and sorted keys.
- JSON Minifier & Whitespace CompressorStrip whitespace and newlines from JSON payloads and compare byte savings.
- RFC 8259 JSON Syntax Validator & DebuggerPinpoint trailing commas, unquoted keys & syntax errors with line/column clues.
- Interactive Collapsible JSON Tree ViewerInspect nested JSON keys, data types and object counts cleanly in a collapsible tree.