Our Network


Coming Soon


Coming Later

TSV Column Extractor

World's Simplest TSV Tool

Simple and free online TSV column extractor. Just paste a TSV table and select the columns you need by position, range, reverse position, or header name. You can skip empty lines and comment rows, include all duplicate headers, and save the extracted data as TSV, JSON arrays, or JSON objects. Created by programmers from team Browserling.

TSV Column Extractor

World's Simplest TSV Tool

Simple and free online TSV column extractor. Just paste a TSV table and select the columns you need by position, range, reverse position, or header name. You can skip empty lines and comment rows, include all duplicate headers, and save the extracted data as TSV, JSON arrays, or JSON objects. Created by programmers from team Browserling.

Tool Options

Extract TSV Columns

Choose columns by their position in the TSV table. Supports values such as "2", "3, 5", "1-4", "1-3, 5", or "-1".
Enter the header name of the column you want to extract.

TSV Column Filtering

If several TSV columns have the same header name, extract all matching columns.
Do not include empty lines in the extracted result.
Enter the symbol that identifies comment rows, such as "#".

Extracted Data Format

Select the output format for the extracted data.

What Is a TSV Column Extractor?

This online tool extracts specific columns from Tab Separated Values (TSV) data. You can paste a TSV table and choose which columns to keep by their numeric position, by a position range, by a reverse position from the end, or by the text in the header row. For example, you can extract a single column such as "2", several separate columns such as "3, 5", a continuous range such as "1-4", a mixed selection such as "1-3, 5", or the last column using the reverse position "-1". If you extract columns by header name and the TSV table contains several columns with the same header, the tool can either return the first matching column or get all duplicate headers and include every matching column in the output. The tool also has cleanup options for TSV files that contain extra spacing or notes. You can skip empty lines so they don't appear in the result, and you can skip comment rows that start with a custom comment character, such as "#". After the columns are extracted, you can choose the output format. The result can be saved as a new TSV file, where the selected fields remain separated by tabs, or converted into JSON arrays or JSON objects for use in scripts, APIs, data import tasks, and cleanup workflows. Tsv-abulous!

What Is a TSV Column Extractor?

This online tool extracts specific columns from Tab Separated Values (TSV) data. You can paste a TSV table and choose which columns to keep by their numeric position, by a position range, by a reverse position from the end, or by the text in the header row. For example, you can extract a single column such as "2", several separate columns such as "3, 5", a continuous range such as "1-4", a mixed selection such as "1-3, 5", or the last column using the reverse position "-1". If you extract columns by header name and the TSV table contains several columns with the same header, the tool can either return the first matching column or get all duplicate headers and include every matching column in the output. The tool also has cleanup options for TSV files that contain extra spacing or notes. You can skip empty lines so they don't appear in the result, and you can skip comment rows that start with a custom comment character, such as "#". After the columns are extracted, you can choose the output format. The result can be saved as a new TSV file, where the selected fields remain separated by tabs, or converted into JSON arrays or JSON objects for use in scripts, APIs, data import tasks, and cleanup workflows. Tsv-abulous!


TSV Column Extractor Examples

Click to try!
click me

Extract the Second TSV Column

This example extracts the 2nd column from the TSV input file, which lists various storage device capacities. The second column is named "cd", so the output contains only the CD capacity values and displays the extracted column in TSV format.

floppy cd dvd 1.4mb 700mb 4700mb 1440kb 716800kb 4812800kb
cd 700mb 716800kb
Required options
These options will be used automatically if you select this example.
Choose columns by their position in the TSV table. Supports values such as "2", "3, 5", "1-4", "1-3, 5", or "-1".
Enter the header name of the column you want to extract.
If several TSV columns have the same header name, extract all matching columns.
Do not include empty lines in the extracted result.
Enter the symbol that identifies comment rows, such as "#".
Select the output format for the extracted data.
click me

Extract TSV by the Column Title

In this example, the TSV table has two columns with the same header name "tree". We extract columns by header name and enable "Get All Duplicate Headers", so the tool returns both matching "tree" columns. The extracted data is formatted as JSON row arrays.

tree berry tree apple cherry citrus pear blueberry pine
[ [ "tree", "tree" ], [ "apple", "citrus" ], [ "pear", "pine" ] ]
Required options
These options will be used automatically if you select this example.
Choose columns by their position in the TSV table. Supports values such as "2", "3, 5", "1-4", "1-3, 5", or "-1".
Enter the header name of the column you want to extract.
If several TSV columns have the same header name, extract all matching columns.
Do not include empty lines in the extracted result.
Enter the symbol that identifies comment rows, such as "#".
Select the output format for the extracted data.
click me

Extract Cereal Calorie Data

In this example, we work with a TSV table that lists breakfast cereals, their calorie counts, and shelf numbers. The input contains a comment row and a blank line, so we enable the cleanup options to skip both of them. Then we extract the first two columns, "Cereal" and "Calories", and format the result as JSON objects.

Cereal Calories Shelf # breakfast aisle sample Cap'n Crunch 120 2 Cocoa Puffs 110 2 Froot Loops 110 2 Rice Chex 110 1 Wheat Chex 100 1
[ { "Cereal": "Cap'n Crunch", "Calories": "120" }, { "Cereal": "Cocoa Puffs", "Calories": "110" }, { "Cereal": "Froot Loops", "Calories": "110" }, { "Cereal": "Rice Chex", "Calories": "110" }, { "Cereal": "Wheat Chex", "Calories": "100" } ]
Required options
These options will be used automatically if you select this example.
Choose columns by their position in the TSV table. Supports values such as "2", "3, 5", "1-4", "1-3, 5", or "-1".
Enter the header name of the column you want to extract.
If several TSV columns have the same header name, extract all matching columns.
Do not include empty lines in the extracted result.
Enter the symbol that identifies comment rows, such as "#".
Select the output format for the extracted data.

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://onlinetools.com/tsv/extract-tsv-columns?input=floppy%09cd%09dvd%0A1.4mb%09700mb%094700mb%0A1440kb%09716800kb%094812800kb&use-column-number=true&column-number=2&column-name=dvd&insert-select-all=true&output-format=tsv&remove-comments=true&comment-character=%2523&remove-empty-lines=true

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 inspect the structure and contents of a TSV file.
Quickly check a TSV file for errors and report them.
Quickly test tab-separated data for row and field problems.
Quickly locate missing and blank cells in TSV data.
Quickly fill missing and blank cells in TSV data.

Coming Soon

These TSV tools are on the way!
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.


Subscribe!

Subscribe to our updates. We'll let you know when we release new tools and features, and when we organize online workshops.

Enter your email here


Feedback. We'd love to hear from you! 👋

Created with love by

We're Browserling — a friendly and fun cross-browser testing company powered by alien technology. At Browserling, we love to make developers' lives easier, so we created this collection of online TSV tools. Our tools have the simplest user interface that doesn't require advanced computer skills and they are used by millions of people every month. Behind the scenes, all our TSV tools are actually powered by our programming tools that we created over the last couple of years. Check them out!

49K
@browserling

Didn't find the tool you were looking for? Let us know what tool we are missing and we'll build it!