Append TSV Column
Append a new column to TSV data instantly. Paste or upload tab-separated values, define column content, and download the result.
About
Tab-separated values (TSV) remain a dominant interchange format in bioinformatics pipelines, database exports, and spreadsheet workflows. Appending a column manually in a text editor invites misalignment errors: a single missing \t character shifts every downstream field, corrupting imports into SQL tables or statistical software. This tool parses your TSV structure, validates row consistency, and appends a new column with either a uniform fill value, per-row mapped values, or an index-based sequence. It handles edge cases including quoted fields, trailing newlines, and mixed \r\n line endings. The output preserves your original delimiter structure exactly. Note: this tool assumes strictly tab-delimited input. If your data uses commas or semicolons, convert delimiters first.
Formulas
The append operation constructs each output row by concatenating the original row with a tab character and the new cell value:
In Fill Mode, valuei = C (constant) for all i ∈ [0, n). In Map Mode, each valuei is drawn from a user-supplied list of n values. If the list is shorter than the row count, remaining cells receive an empty string. In Index Mode, valuei = i + offset, where offset is a user-defined start index (default 1).
Where rowin = original row string, n = total number of data rows, C = constant fill value, i = zero-based row index, offset = starting number for index mode.
Reference Data
| Delimiter Format | Separator Character | Common File Extension | RFC / Standard | Quoting Convention | Typical Use Case |
|---|---|---|---|---|---|
| TSV | \t (U+0009) | .tsv, .tab | IANA text/tab-separated-values | None (tabs in data rare) | Bioinformatics, BLAST output |
| CSV | , (U+002C) | .csv | RFC 4180 | Double-quote enclosed | Spreadsheets, CRM exports |
| SSV (Space) | SP (U+0020) | .txt | None | None | Fixed-width legacy systems |
| PSV (Pipe) | | (U+007C) | .txt, .psv | None | None | HL7 medical data |
| CSV (Semicolon) | ; (U+003B) | .csv | Locale-dependent | Double-quote enclosed | European Excel exports |
| JSON Lines | Newline per object | .jsonl | jsonlines.org | JSON string escaping | Log streaming, ML datasets |
| Fixed Width | Column positions | .dat, .txt | COBOL copybooks | Padding spaces | Mainframe data, Census |
| ARFF | , | .arff | Weka specification | Single-quote | Machine learning (Weka) |
| Apache Parquet | Binary columnar | .parquet | Apache spec | N/A (binary) | Big data, Spark, Hadoop |
| TSV (Unicode) | \t | .tsv | W3C best practices | None | Linked Open Data, RDF dumps |
| Excel XML | XML tags | .xlsx (zipped) | ECMA-376 | XML encoding | Office documents |
| ODS | XML tags | .ods (zipped) | OASIS ODF 1.2 | XML encoding | LibreOffice, OpenOffice |