Konvertieren CSV to TSV (tab-separated values)
Change der delimiter von comma in tab. TSV ist useful wenn Daten contains commas und quoting ist undesirable.
- 1
CSV (comma-separated) and TSV (tab-separated) are identical except for the delimiter. TSV is preferred when data naturally contains commas (addresses, sentences) and you want to avoid quoting. Tabs are rare in text data, so TSV often needs no quoting.
- 2 CSV-Konverter →
Analysieren the CSV file with its delimiter (comma, semicolon, or custom). The parser handles quoting and escaping. Specify the output delimiter as tab to produce TSV. The data structure is identical — only the delimiter changes.
- 3
TSV advantages: no quoting needed for most data (tabs are rare in text), easier to read in terminals (tabs align columns), compatible with spreadsheet paste. TSV disadvantages: tabs are invisible (hard to debug), some tools expect CSV only. Choose based on your data and tooling.
Häufige Fragen
- When should I use TSV instead of CSV?
- Use TSV when your data contains commas (addresses, descriptions, sentences) and you want to avoid quoting complexity. Use CSV for maximum compatibility — most tools and APIs expect CSV. TSV is common in bioinformatics and NLP.
- Are tabs allowed in TSV values?
- No — tabs are the delimiter, so they cannot appear in values. If your data contains tabs, you must escape them (e.g., \t) or use a different delimiter. In practice, tabs in data are rare, which is why TSV is often simpler than CSV.