᠎᠎᠎          
51K

TSV Column Inserter

World's simplest tsv tool
Simple and free online TSV column inserter. Just paste a Tab-Separated Values table into the form below, enter the column data to insert in the options, and the tool will place the new fields at the selected point inside the TSV. You can insert one or multiple columns, choose the insertion point by column number or header name, and remove blank and commented rows. Created by programmers from team Browserling.
working with lists? • item1 • item2
We also have Online List Tools — utilities for working with lists. Check it out!
TSV Columns to Insert
Paste one or more TSV columns to place inside the input table.
Use one value per line for a single column. Use tabs between values to insert several columns.
For example: Level ⇥ Team low ⇥ A high ⇥ B
Insertion Position
Insert after this column position. Use 0 to insert before the first field.
Insert after the TSV header.
If the header appears more than once, insert columns after each matching header.
Uneven TSV Rows
Choose what happens when input rows or inserted rows have missing TSV fields.
Use this text when custom fill mode repairs missing TSV fields.
TSV Cleanup
Ignore input rows that begin with this marker.
Ignore empty input rows.

What is a TSV Column Inserter?

learn more about this tool
This online tool inserts new fields into the middle of a Tab-Separated Values (TSV) table. This is a quick way to expand a table without manually moving cells or counting tab characters. The tool automatically places the inserted column block between the existing columns, helping avoid misplaced fields and broken TSV rows. In the options, you can specify the column data to insert into the TSV. To insert a single column, place the values vertically, with one value per line. To insert two, three, or more columns at once, enter the new data in regular TSV format, with two, three, or more tab-separated values on each line. The insertion point can be selected by a zero-based column number, where 0 places the new fields before the first column. You can also use negative column positions to count from the end of the table. For example, -1 inserts the new fields at the end of the TSV. The insertion point can also be selected by an existing header name, and the tool will place the new columns right after that header. If the same header appears more than once, you can enable the match-all option to insert the new columns after every matching header, or disable it to insert them only after the first matching header. The tool also offers several options for handling cases where the input TSV and the inserted column data have different row or field counts. You can keep uneven rows as they are, remove incomplete rows, insert empty values where data is missing, or use a custom value to fill missing fields. You can also clean the TSV by removing empty lines and skipping comment rows before inserting the new columns. Tsv-abulous!

TSV Column Inserter examples

Click to use
Insert a Shirt Size Column
This example updates a small TSV shirt table by inserting a new "size" column. The original table has "item", "color", and "price" columns, and position 2 places the inserted values after "color". The result adds the size for each shirt while keeping the price column at the end.
item color price shirt blue 18 hoodie gray 35 jacket black 64
item color size price shirt blue M 18 hoodie gray L 35 jacket black S 64
Required options
These options will be used automatically if you select this example.
Paste one or more TSV columns to place inside the input table.
Insert after this column position. Use 0 to insert before the first field.
Insert after the TSV header.
If the header appears more than once, insert columns after each matching header.
Choose what happens when input rows or inserted rows have missing TSV fields.
Use this text when custom fill mode repairs missing TSV fields.
Ignore input rows that begin with this marker.
Ignore empty input rows.
Insert Hub Fields by Header
In this example, we insert two new columns by matching a header name. The input TSV has two columns named "date": the first one shows the order date, and the second one shows a later ship date. We use header-name mode with "date" as the target and turn off the match-every-header option, so the new "hub" and "dock" columns are inserted only after the first "date" column. The second "date" column remains where it was.
order date qty date K-14 Mon 6 Thu K-22 Tue 9 Fri
order date hub dock qty date K-14 Mon East D2 6 Thu K-22 Tue West D4 9 Fri
Required options
These options will be used automatically if you select this example.
Paste one or more TSV columns to place inside the input table.
Insert after this column position. Use 0 to insert before the first field.
Insert after the TSV header.
If the header appears more than once, insert columns after each matching header.
Choose what happens when input rows or inserted rows have missing TSV fields.
Use this text when custom fill mode repairs missing TSV fields.
Ignore input rows that begin with this marker.
Ignore empty input rows.
Insert Match Statuses at the End
This example inserts a status column by using the negative column position -1, which places the new field after the current last column. The input also contains an empty row and a commented row, so the cleanup options remove both before the new data is inserted. The inserted status column has values for only two teams, so the missing third status is filled with the custom value "standby".
team coach Lions Mira # practice game Falcons Omar Wolves Lena
team coach status Lions Mira ready Falcons Omar waiting Wolves Lena standby
Required options
These options will be used automatically if you select this example.
Paste one or more TSV columns to place inside the input table.
Insert after this column position. Use 0 to insert before the first field.
Insert after the TSV header.
If the header appears more than once, insert columns after each matching header.
Choose what happens when input rows or inserted rows have missing TSV fields.
Use this text when custom fill mode repairs missing TSV fields.
Ignore input rows that begin with this marker.
Ignore empty input rows.
Pro tips Master online tsv tools
You can pass input to this tool via ?input query argument and it will automatically compute output. Here's how to type it in your browser's address bar. Click to try!
https://onlinetsvtools.com/insert-tsv-columns?input=item%09color%09price%0Ashirt%09blue%0918%0Ahoodie%09gray%0935%0Ajacket%09black%0964&insert-column=size%0AM%0AL%0AS&use-column-number=true&column-number=2&use-column-name=false&column-name=color&insert-select-all=false&incomplete-format=leave-incomplete&custom-value=N%2FA&remove-comments=false&comment-character=%23&remove-empty-lines=false
All tsv tools
Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!
Quickly change the TSV delimiter to a different symbol.
Quickly generate random TSV data.
Quickly extract selected columns from a TSV file.
Quickly delete selected columns in a TSV file.
Quickly remove tabs that go between TSV columns and merge all data.
Quickly add quotes around TSV columns.
Quickly remove quotes that surround TSV columns.
Quickly swap columns in a TSV file.
Quickly sort TSV data by selected column values.
Quickly convert a TSV file to a JSON data structure.
Quickly convert a JSON data structure to TSV format.
Quickly convert a TSV file to XML markup.
Quickly convert XML markup to a TSV file.
Quickly convert a TSV file to YAML markup.
Quickly convert YAML data to a TSV file.
Quickly convert TSV data to CSV data.
Quickly convert CSV data to TSV data.
Quickly convert TSV data to nicely aligned text columns.
Quickly convert text columns to TSV columns.
Quickly convert TSV data to base64 encoding.
Quickly convert base64-encoded TSV data to TSV data.
Quickly convert a TSV file to URL-encoding.
Quickly convert a URL-encoded TSV file back to TSV.
Quickly add one or more columns before the first TSV column.
Quickly append new columns at the end of a TSV file.
Quickly insert new columns anywhere in a TSV file.
Quickly replace selected columns in a TSV file.
Quickly remove extra spaces around TSV columns.
Quickly truncate the contents of TSV cells to any length.
Quickly exchange TSV columns with rows.
Quickly exchange TSV rows with columns.
Quickly transpose a TSV file.
Quickly check a TSV file for errors and report them.
Coming soon These tsv tools are on the way
Display TSV Statistics
Print information about a TSV file.
Calculate TSV Entropy
Find the complexity of a TSV file.
Show TSV Structure
Create an abstract drawing that shows the structure of a TSV.
View and Edit TSV
Show a TSV file in a neat editor and allow easy editing.
Convert TSV to Double-TSV
Convert a TSV file to a double-TSV file.
Convert Double-TSV to TSV
Convert a double-TSV file to a regular TSV file.
Convert TSV to HTML Table
Convert a Tab Separated Values file to an HTML table.
Convert HTML Table to TSV
Convert an HTML table to a Tab Separated Values file.
Convert TSV to Markdown
Convert a TSV file to a Markdown table.
Convert Markdown to TSV
Convert a Markdown table to a TSV file.
Convert TSV to PDF
Convert a Tab Separated Values file to a PDF document.
Convert PDF to TSV
Convert a PDF document to a Tab Separated Values file.
Convert TSV to Image
Draw Tab Separated Values as a table and output it as an image.
Convert Image to TSV
Extract data in an image and format it as a TSV file.
Convert TSV to Excel
Convert a Tab Separated Values file to an Excel spreadsheet.
Convert Excel to TSV
Convert an Excel file to a Tab Separated Values file.
Convert TSV to LaTeX
Convert a TSV file to LaTeX code that generates a table.
Convert TSV to ASCII Table
Convert a Tab Separated Values file to a neat ASCII table.
Convert ASCII Table to TSV
Convert an ASCII table to a Tab Separated Values file.
Convert TSV to SQL
Convert a Tab Separated Values file to an SQL query.
Convert TSV to SQLite
Convert a Tab Separated Values file to an SQLite database.
Convert SQLite to TSV
Export tables from an SQLite database as TSV files.
Convert TSV to PSV
Convert a TSV file to a PSV (Pipe Separated Values) file.
Convert PSV to TSV
Convert a PSV (Pipe Separated Values) file to a TSV file.
Convert TSV to HSV
Convert a TSV file to a HSV (Hash Separated Values) file.
Convert HSV to TSV
Convert a HSV (Hash Separated Values) file to a TSV file.
Convert TSV to SSV
Convert a TSV file to a SSV (Semicolon Separated Values) file.
Convert SSV to TSV
Convert a SSV (Semicolon Separated Values) file to a TSV file.
Convert TSV to 0SV
Convert a TSV file to a 0SV (Null Separated Values) file.
Convert 0SV to TSV
Convert a 0SV (Null Separated Values) file to a TSV file.
Split a TSV File
Create multiple TSV files from the given TSV file.
Merge TSV Files
Merge together two Tab Separated Values files.
Delete Empty TSV Columns
Remove columns that have no values in a TSV file.
Delete Empty TSV Rows
Remove rows that have no values in a TSV file.
Delete Empty TSV Lines
Remove lines in a TSV file that are blank.
Delete TSV Comments
Delete TSV lines that are comments.
Filter TSV Data
Filter rows and columns that match a pattern.
Find Values in TSV
Find certain values in TSV cells.
Find Duplicate TSV Rows
Extract repeated rows in a TSV file.
Merge Duplicate TSV Rows
Combine duplicate rows in a TSV file.
Deduplicate TSV Rows
Remove repeated rows from a TSV file.
Delete Duplicate TSV Rows
Delete duplicate rows from a TSV file.
Compress TSV
Minify a TSV file and remove extra spaces and indentation.
Compare Two TSV Files
Diff two TSV files and visually display the differences.
Rotate TSV Columns
Rotate TSV columns to the left or right.
Rotate TSV Rows
Rotate TSV rows up or down.
Cut a TSV File
Cut a fragment from a TSV file.
Slice a TSV File
Extract a slice (rows/columns/cells) of a TSV file.
Randomize TSV Values
Shuffle all data values in a TSV file.
Randomize TSV Columns
Shuffle the order of TSV columns.
Randomize TSV Rows
Shuffle the order of TSV rows.
Sort TSV Rows
Sort values in a TSV rows.
Count TSV Columns
Find how many columns there are in the given TSV data.
Count TSV Rows
Find how many rows there are in the given TSV data.
Count TSV Entries
Find how many total entries there are in a TSV file.
Color a TSV File
Add colors to TSV data for easy visual overview of the file.
Add Errors to TSV
Create random errors in a TSV file for fuzz testing.
Create a Custom TSV
Generate a custom TSV with n rows and m columns.
Open a TSV File
Open a TSV file directly in your browser.