How to Swap or Move Columns in a CSV or Excel File Online
Table of Contents
Moving a column from position 15 to position 2 in Excel requires a specific workflow that most users find unintuitive — cut the column, insert it elsewhere, deal with the overwrite dialog or shifted cells. In Google Sheets, dragging columns is easier but still requires precision to avoid misdrops.
A browser column editor makes this visual and straightforward: see all your columns in a list, click the up arrow to move a column toward the front, click down to push it back. No risk of overwriting data or misplacing a drag.
Why Moving Columns in Excel Is Harder Than It Should Be
Excel does support column drag-and-drop, but the behavior is counterintuitive:
- Dragging without Shift held down replaces the destination column (your data gets overwritten)
- Dragging with Shift held down inserts the column (the correct behavior), but most users do not know this
- Selecting a large column in a big file can cause lag
- Moving multiple non-adjacent columns requires multiple separate operations
The standard safe method — cut, insert cut cells — works but is slow when you need to reorder many columns.
How to Move Columns With the Browser Tool
- Upload your CSV, XLSX, XLS, TSV, or ODS file to the column editor.
- You will see a vertical list of all your column names.
- Each column has an up arrow and a down arrow.
- Click the up arrow to move a column one position toward the front of the file.
- Click the down arrow to move it one position toward the back.
- Click multiple times to move a column many positions.
- When the order is right, click Download.
How to Swap Two Columns
To swap two adjacent columns — for example, move column B to where column A is and vice versa:
- Find column B in the list.
- Click its up arrow once to move it before column A.
- Done — the two columns have swapped positions.
For non-adjacent columns, move each to the desired position using multiple arrow clicks.
Moving a Column to the First Position
A common need is moving a key identifier column — like an ID, email address, or name — to be the first column in the file. To do this:
- Find the column in the list.
- Click its up arrow repeatedly until it reaches the top of the list.
- It will now be the first column in the output file.
Many tools display or import the first column prominently, so positioning your primary identifier first is a common data hygiene step.
Try It Free — No Signup Required
Runs 100% in your browser. No data is collected, stored, or sent anywhere.
Open Free Column EditorFrequently Asked Questions
Can I move columns by typing a position number?
No. The tool uses up/down arrows to move columns incrementally. For large moves across many positions, click the arrow multiple times.
Can I move a column to the last position?
Yes. Click its down arrow until it reaches the bottom of the list.
Does moving a column change the data in other columns?
No. Moving a column only changes its position — the data in every column remains intact and stays aligned with its header.
Can I move multiple columns at the same time?
No. Columns are moved one at a time using the arrows. Plan your final order and move each column to its target position before downloading.

