Reorder Columns in a CSV File

Drag columns into a new order, or send a column to the start or the end, in a CSV or Excel file. Free, in your browser, nothing is uploaded.

Quick answer: Join files on a key, trim, concatenate, fix dates, filter and more, in the order you choose.

Related: Data Transformation: Join, Trim, Concatenate · Delete Columns from a CSV File · Remove Empty Rows and Columns from CSV · Find and Replace in a CSV File · CSV Guides and Free CSV Tools

How to use the Reorder Columns in a CSV File

Join files on a key, trim, concatenate, fix dates, filter and more, in the order you choose.

Data Transformation lets you reshape a file with a list of steps instead of formulas. Join two files on a key with an inner, left, right or full join, trim spaces, concatenate or split columns, change date formats, change case, find and replace, filter, sort, remove duplicates and fill empty cells. See the result straight away, then download it or send it to another tool. Every step is recorded in Data Lineage.

  1. Load a file (and a second one to join)
  2. Add the transformations you want
  3. Check the result and download

Tips

Example

Input: id, name, email, city

Output: email, name, id, city

Browse by topic

Who uses Data Utility

Frequently asked questions · Data format benchmark

Frequently asked questions

How do I move a column to the first position in a CSV?

Add a Reorder columns step and click the move to start button next to the column, or drag it to the left.

Does it work on a phone or tablet?

Yes. Dragging needs a mouse, so on touch screens use the buttons that send a column to the start or the end.

Do later steps use the new order?

Yes. Every step after it, and the download, use the new column order.

Can I join two files or combine columns?

Yes. Data Transformation lets you join two CSV or Excel files on a key (inner, left, right or full), and trim spaces, concatenate columns, change case, find and replace, split, rename, filter, sort, remove duplicates and fill empty cells. You choose the steps, check the result and download it. Your files stay in your browser.

Which transformations are available?

Join with a second file (inner, left, right or full), trim spaces, concatenate columns, change date formats, change text case, find and replace, split a column, rename or remove columns, filter rows, remove duplicates, sort and fill empty cells. Steps run from top to bottom and you can reorder them.

Can I change the date format of a column?

Yes. Add a Change date format step, pick the column and the new format, such as 2026-03-09, 09/03/2026 or March 9, 2026. It reads many layouts, Excel date numbers and unix timestamps, and can also give only the year, month, weekday or quarter. If 03/04/2026 is unclear, you choose day first or month first.

Is Data Transformation a VLOOKUP alternative?

For lookups between two files, yes. A join adds the matching columns from the second file to every row of the first, with no formulas. Keys are matched ignoring case and extra spaces.

Related pages

Topic guides

Guides