Our Network


Coming Soon


Coming Later

TSV Column Truncator

World's Simplest TSV Tool

Simple and free online TSV column truncator. Just paste a Tab Separated Values table into the form below, choose which columns to shorten, and set the final cell length. You can truncate values from the left or right side, add an indicator where text was removed, shorten the header row, and skip comment or empty rows before truncation. Created by programmers from team Browserling.

TSV Column Truncator

World's Simplest TSV Tool

Simple and free online TSV column truncator. Just paste a Tab Separated Values table into the form below, choose which columns to shorten, and set the final cell length. You can truncate values from the left or right side, add an indicator where text was removed, shorten the header row, and skip comment or empty rows before truncation. Created by programmers from team Browserling.

Tool Options

TSV Columns to Truncate

Shorten all TSV columns.
Choose TSV columns by number, like "1", "2-5, 9", or "-1".
List TSV header names to shorten, one per line.
Shorten all columns with the selected header name.

Truncation Side

Crop TSV columns on the right side.
Crop TSV columns on the left side.
Truncate the titles of TSV columns.

Length and Indicator

The new TSV cell length.
Use this (or these) symbols in place of truncated fragments.

TSV Cleanup

Remove TSV rows that start with this comment character.
Remove TSV rows that contain no visible values.

What Is a TSV Column Truncator?

This online tool truncates columns in Tab Separated Values (TSV) files. It is useful when long TSV fields make a table hard to view or process. Instead of editing every row by hand, the tool keeps the tabs as field separators and shortens only the TSV columns you choose. It shortens each selected cell value to the given length. If the "Truncate Right Side" mode is selected, truncation is performed at the end of cells, keeping the beginning of each value. If the "Truncate Left Side" mode is selected, truncation is performed at the beginning of cells, keeping the ending of each value. You can also place one or more symbols in place of the truncated fragment by using the "Add Truncation Indicator" option. The indicator characters count as part of the final cell length. You can apply truncation to the entire table or select specific columns. Columns can be chosen by number, using values such as "1", "2-4", "1, 3-5", or "-1" for the last column. They can also be chosen by header name, with one header entered per line. If a selected header occurs in several places, the tool can shorten all columns with that header. The header row can be truncated too, so long column titles follow the same length rule as the data rows. If the column titles should stay unchanged, disable the "Truncate Header Row" option. Before truncation runs, the cleanup options can skip comment rows and remove empty rows from the TSV input. Tsv-abulous!

What Is a TSV Column Truncator?

This online tool truncates columns in Tab Separated Values (TSV) files. It is useful when long TSV fields make a table hard to view or process. Instead of editing every row by hand, the tool keeps the tabs as field separators and shortens only the TSV columns you choose. It shortens each selected cell value to the given length. If the "Truncate Right Side" mode is selected, truncation is performed at the end of cells, keeping the beginning of each value. If the "Truncate Left Side" mode is selected, truncation is performed at the beginning of cells, keeping the ending of each value. You can also place one or more symbols in place of the truncated fragment by using the "Add Truncation Indicator" option. The indicator characters count as part of the final cell length. You can apply truncation to the entire table or select specific columns. Columns can be chosen by number, using values such as "1", "2-4", "1, 3-5", or "-1" for the last column. They can also be chosen by header name, with one header entered per line. If a selected header occurs in several places, the tool can shorten all columns with that header. The header row can be truncated too, so long column titles follow the same length rule as the data rows. If the column titles should stay unchanged, disable the "Truncate Header Row" option. Before truncation runs, the cleanup options can skip comment rows and remove empty rows from the TSV input. Tsv-abulous!


TSV Column Truncator Examples

Click to try!
click me

Months of the Year

In this example, we truncate the month names in tab-separated lists of seasons. There are four lists, and they are formatted as four TSV columns, one for each season of the year, and four rows. The first row is the title row, and we leave it unchanged. All other rows contain full month names, and they are reduced to abbreviations with 3 characters in each month's name.

Spring Summer Autumn Winter March June September December April July October January May August November February
Spring Summer Autumn Winter Mar Jun Sep Dec Apr Jul Oct Jan May Aug Nov Feb
Required options
These options will be used automatically if you select this example.
Shorten all TSV columns.
Crop TSV columns on the right side.
Crop TSV columns on the left side.
Truncate the titles of TSV columns.
The new TSV cell length.
Use this (or these) symbols in place of truncated fragments.
Remove TSV rows that start with this comment character.
Remove TSV rows that contain no visible values.
click me

TSV Countries

In this example, we truncate only the first and last columns in a TSV country table. We use a comma-separated list of column positions "1, -1", where the negative position selects the final column. The truncation is performed from the left, leaving four original characters. Before truncating the data, we also remove empty rows and skip the "# outdated currency data" comment row.

Country Name Capital Language Currency Note Angola AGO Luanda Portuguese kwanza AOA # outdated currency data Armenia ARM Yerevan Armenian dram AMD Croatia HRV Zagreb Croatian kuna HRK Estonia EST Tallinn Estonian euro EUR Japan JPN Tokyo Japanese yen JPY
Name Capital Language Note " AGO" Luanda Portuguese " AOA" " ARM" Yerevan Armenian " AMD" " HRV" Zagreb Croatian " HRK" " EST" Tallinn Estonian " EUR" " JPN" Tokyo Japanese " JPY"
Required options
These options will be used automatically if you select this example.
Choose TSV columns by number, like "1", "2-5, 9", or "-1".
Crop TSV columns on the right side.
Crop TSV columns on the left side.
Truncate the titles of TSV columns.
The new TSV cell length.
Use this (or these) symbols in place of truncated fragments.
Remove TSV rows that start with this comment character.
Remove TSV rows that contain no visible values.
click me

Car Make and Model Columns

This example truncates TSV columns containing car make and model information and adds an ellipsis indicator for the removed characters. We select the columns by header name, using "Make" and "Model", so only these two columns are shortened. Truncation is performed on the right side, keeping the leading symbols of each value. The final length is 5 characters, including four original characters plus the ellipsis marker.

Make Model Year Honda Accord 2009 Toyota Camry 2012 Hyundai Elantra 2010 Ford Escape 2015 Nissan Altima 2015
Make Model Year Hond… Acco… 2009 Toyo… Camr… 2012 Hyun… Elan… 2010 Ford… Esca… 2015 Niss… Alti… 2015
Required options
These options will be used automatically if you select this example.
List TSV header names to shorten, one per line.
Shorten all columns with the selected header name.
Crop TSV columns on the right side.
Crop TSV columns on the left side.
Truncate the titles of TSV columns.
The new TSV cell length.
Use this (or these) symbols in place of truncated fragments.
Remove TSV rows that start with this comment character.
Remove TSV rows that contain no visible values.

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/truncate-tsv-columns?input=Spring%09Summer%09Autumn%09Winter%0AMarch%09June%09September%09December%0AApril%09July%09October%09January%0AMay%09August%09November%09February&select-all-columns=true&truncate-length=3&truncate-right=true&truncate-left=false&truncate-headers=false&use-postfix=false&postfix=%25E2%2580%25A6&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!