Simple and free online TSV column swapper. Just paste a TSV table and choose two columns to move into each other's positions. You can select columns by position or header name, clean up comments and empty rows, and control how incomplete TSV rows are handled. Created by programmers from team Browserling.
Simple and free online TSV column swapper. Just paste a TSV table and choose two columns to move into each other's positions. You can select columns by position or header name, clean up comments and empty rows, and control how incomplete TSV rows are handled. Created by programmers from team Browserling.

This online tool changes the order of Tab Separated Values (TSV) data by swapping two columns. You can choose the first and second swap columns by their column positions, such as 1 and 4, or use negative positions, such as -1 for the last TSV column and -2 for the second column from the end. If your TSV table has a header row, you can select either column by its exact header name instead of a position. This makes it easy to move important fields into better positions, place related columns next to each other, or fix TSV data whose columns appear in the wrong order. If some rows have fewer fields than the columns you want to swap, the tool can leave those short rows unchanged, fill missing fields with empty values, or insert a custom field value such as "N/A", "null", "missing", or "x". For cleaner output, you can remove comment rows that start with a marker such as "#" or "//", and you can also remove empty rows. The result remains tab-delimited, so you can paste it back into spreadsheets, import it into databases, or use it in scripts that work with TSV data. Tsv-abulous!
This online tool changes the order of Tab Separated Values (TSV) data by swapping two columns. You can choose the first and second swap columns by their column positions, such as 1 and 4, or use negative positions, such as -1 for the last TSV column and -2 for the second column from the end. If your TSV table has a header row, you can select either column by its exact header name instead of a position. This makes it easy to move important fields into better positions, place related columns next to each other, or fix TSV data whose columns appear in the wrong order. If some rows have fewer fields than the columns you want to swap, the tool can leave those short rows unchanged, fill missing fields with empty values, or insert a custom field value such as "N/A", "null", "missing", or "x". For cleaner output, you can remove comment rows that start with a marker such as "#" or "//", and you can also remove empty rows. The result remains tab-delimited, so you can paste it back into spreadsheets, import it into databases, or use it in scripts that work with TSV data. Tsv-abulous!
In this example, we use a five-column TSV sales table. We swap column 2 with column -1, where -1 means the last TSV column. This moves the manager's name next to the month and sends the quarter values to the final column.
This example swaps two columns by matching their header names. The ferry schedule has four columns, and the third data row is shorter than the others because the status value is missing. We swap the "status" and "arrival" headers and use a custom placeholder, so the short row receives the word "unknown" in the newly created status field.
In this example, we work with a compact three-column TSV task list. The input contains a comment row and a blank row, so the cleanup options remove both from the result. Then we swap columns 2 and 3, placing each task state before the owner's name.
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!
Find the complexity of a TSV file.
Create an abstract drawing that shows the structure of a TSV.
Show a TSV file in a neat editor and allow easy editing.
Convert a TSV file to a double-TSV file.
Convert a double-TSV file to a regular TSV file.
Convert a Tab Separated Values file to an HTML table.
Convert an HTML table to a Tab Separated Values file.
Convert a TSV file to a Markdown table.
Convert a Markdown table to a TSV file.
Convert a Tab Separated Values file to a PDF document.
Convert a PDF document to a Tab Separated Values file.
Draw Tab Separated Values as a table and output it as an image.
Extract data in an image and format it as a TSV file.
Convert a Tab Separated Values file to an Excel spreadsheet.
Convert an Excel file to a Tab Separated Values file.
Convert a TSV file to LaTeX code that generates a table.
Convert a Tab Separated Values file to a neat ASCII table.
Convert an ASCII table to a Tab Separated Values file.
Convert a Tab Separated Values file to an SQL query.
Convert a Tab Separated Values file to an SQLite database.
Export tables from an SQLite database as TSV files.
Convert a TSV file to a PSV (Pipe Separated Values) file.
Convert a PSV (Pipe Separated Values) file to a TSV file.
Convert a TSV file to a HSV (Hash Separated Values) file.
Convert a HSV (Hash Separated Values) file to a TSV file.
Convert a TSV file to a SSV (Semicolon Separated Values) file.
Convert a SSV (Semicolon Separated Values) file to a TSV file.
Convert a TSV file to a 0SV (Null Separated Values) file.
Convert a 0SV (Null Separated Values) file to a TSV file.
Create multiple TSV files from the given TSV file.
Merge together two Tab Separated Values files.
Remove columns that have no values in a TSV file.
Remove rows that have no values in a TSV file.
Remove lines in a TSV file that are blank.
Delete TSV lines that are comments.
Filter rows and columns that match a pattern.
Find certain values in TSV cells.
Extract repeated rows in a TSV file.
Combine duplicate rows in a TSV file.
Remove repeated rows from a TSV file.
Delete duplicate rows from a TSV file.
Minify a TSV file and remove extra spaces and indentation.
Diff two TSV files and visually display the differences.
Rotate TSV columns to the left or right.
Rotate TSV rows up or down.
Cut a fragment from a TSV file.
Extract a slice (rows/columns/cells) of a TSV file.
Shuffle all data values in a TSV file.
Shuffle the order of TSV columns.
Shuffle the order of TSV rows.
Sort values in a TSV rows.
Find how many columns there are in the given TSV data.
Find how many rows there are in the given TSV data.
Find how many total entries there are in a TSV file.
Add colors to TSV data for easy visual overview of the file.
Create random errors in a TSV file for fuzz testing.
Generate a custom TSV with n rows and m columns.
Open a TSV file directly in your browser.
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
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!

