Swaps commas for tabs. The reason to do this is that free text almost never contains a tab but very often contains a comma, so TSV survives naive parsers that CSV defeats.
Quoting is still needed sometimes
Where TSV is expected
cut -f or awk -F'\t'. It is also what you get when you copy cells out of Excel or Google Sheets onto the clipboard, which is why pasting a spreadsheet into a text editor produces tab-separated text.Fields that contain a tab
Questions
- Do I lose anything converting CSV to TSV?
- No. Both hold the same data; only the separator differs. Values are preserved exactly.
- What if a field contains a tab?
- It is quoted so the row structure survives. Consumers that do not support quoting will misread it — check your data first if that is a concern.
- Can I paste the result straight into a spreadsheet?
- Yes. Tab-separated text is exactly what spreadsheets expect on the clipboard, so pasting it into Excel or Google Sheets fills the cells correctly with no import dialog.
- Is my data uploaded anywhere?
- No. The conversion runs as JavaScript inside this tab. Open your browser's Network panel and convert something — you will see no request carrying your data, because there is no server to send it to. You can also turn your Wi-Fi off and convert anyway.