Text Tools
Swap two TSV columns by header name or 1-based column number.
Use this tool to swap the positions of two TSV columns. It is useful for fixing column order, matching import templates, cleaning exports, and reorganizing TSV data without manual editing.
Use this tool to swap the positions of two TSV columns. It is useful for fixing column order, matching import templates, cleaning exports, and reorganizing TSV data without manual editing.
Use swap columns in tsv files when you need a fast browser-based result without extra setup. It works well for quick checks, one-off tasks, and routine formatting or calculation work.
Read step-by-step usage guidance, best practices, and common mistakes.
See common questions and answers about input, output, and tool usage.
Review practical input and output examples before running the tool.
Find similar and supporting tools for adjacent actions and follow-up tasks.
Input
name role name email role John john@example.com admin Anna anna@example.com editor
Output
role email name admin john@example.com John editor anna@example.com Anna
Useful when the column order needs to be corrected fast.
Input
1 3 id title status 1 Book ok 2 Pen ok
Output
status title id ok Book 1 ok Pen 2
Supports both header-based and index-based selectors.
Fix: Check the TSV header or use valid 1-based positions.
Fix: Use two different selectors.
Fix: Put the two selectors first, then a blank line, then the TSV.
It swaps the positions of two selected TSV columns.
Yes. You can use exact header names or 1-based column numbers.
No. It only changes the column order.
The tool returns an error so you can fix the selector.
It is most useful when TSV columns are in the wrong order for imports, exports, or review.