Rotate TSV Columns

Rotate TSV Columns instantly in your browser. Shift columns left or right, preserve headers, and export the result with live preview.

Paste your input above or import a file below.
No file chosen
Supported file types: .tsv, .txt, .csv, .log, .md, .xml, .json, .ini, .yaml, .yml, .html, .htm, .css
Total columns: 0
Options
Rotate right (last column to front)
Preserve header row
Maximize output

How to Use:

  • Paste or type your tab-separated data into the “Input TSV” box.
  • You can also import a .tsv, .txt, or other plain-text file using the “Choose File” button.
  • Use the Rotate right toggle to move the last column to the front. Leaving it off rotates left.
  • Toggle Preserve header row to leave the first row unchanged.
  • Turn on Maximize output to expand the output area for easier viewing.
  • Output updates live as you type or toggle options.
  • Use Copy Output to copy the result or Export to File to download it.
  • Click Clear All to reset input, output, and all toggles.

What Rotate TSV Columns can do:

Rotate TSV Columns shifts each row’s columns either left or right, depending on your toggle selection. It’s useful for reordering data, transforming structure for comparisons, or exploring how values shift across rows. You can keep the header row in place while rotating the rest, and preview everything in real time. With browser-based processing and full control, it’s ideal for reshaping TSV data quickly without needing a spreadsheet or script.

Example:

Input:

name	age	city
Alice 25 New York
Bob 30 Los Angeles

With Rotate Right ON (Preserve Header ON):

name	age	city
New York Alice 25
Los Angeles Bob 30

With Rotate Right OFF (Rotate Left):

name	age	city
25 New York Alice
30 Los Angeles Bob

Common Use Cases:

Use this when reorganizing tabular data, testing positional shifts, or adapting TSV content for imports where column order matters. It’s quick, intuitive, and works fully client-side.

Useful Tools & Suggestions:

After rotating with Rotate TSV Columns, you might want to use Display TSV Statistics to get a quick overview of how the structure changed. And if you’re prepping for more reshaping, TSV Rows to Columns helps flip the data back when needed.