Saltar al contenido
uencoder

Convertir CSV to TSV (tab-separated values)

Change el delimiter de comma a tab. TSV es useful cuando datos contains commas y quoting es undesirable.

  1. 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. 2
    Convertidor CSV →

    Analizar 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. 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.

Preguntas frecuentes

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.

Flujos que resuelven esta tarea

Herramientas relacionadas