Skip to content
Free data tool

CSV column selector

This tool pulls the columns you need out of a CSV file, or drops the ones you do not. It is useful for trimming exports before sharing them or for loading only certain fields into another system.

  • Runs in your browser
  • Free, no account needed
  • Copy or download the result

Your input

163 characters

Comma-separated names
Action
Keep also sets the column order.

Result

name,email
Ada Lovelace,ada@example.com
Lin Chen,lin@example.com
Priya Shah,priya@example.com

The short answer

To keep only some CSV columns, list the header names you want in the order you want them, or switch to remove mode to drop the listed ones instead. Names must match the header exactly, and every row is kept. Because the output follows your list, selecting also reorders columns.

Worked exampleFrom the columns id, name, email, role and phone, keeping name,email gives a CSV with just those two columns for all 3 people, for example Ada Lovelace,ada@example.com.

Example

Input
id,name,email,role,phone
1,Ada Lovelace,ada@example.com,Editor,555-0101
2,Lin Chen,lin@example.com,Analyst,555-0102
3,Priya Shah,priya@example.com,Manager,555-0103
Result
name,email
Ada Lovelace,ada@example.com
Lin Chen,lin@example.com
Priya Shah,priya@example.com

How to use the csv column selector

  1. Paste CSV with a header row into the CSV with a header box.
  2. Set Separator, then list names in Columns, separated by commas.
  3. Under Action, choose Keep or Remove.
  4. The result updates as you type. Press Copy result or Download.

How it works

Keep outputs only the listed columns, in the order you typed them, so it can also reorder columns.

Remove drops the listed columns and keeps the rest in their original order.

Names must match the header exactly, including case. Quote a name that contains a comma.

At least one column must remain. An empty list, an unknown name or a repeated name stops with an error.

Every row is kept, and the output uses the same separator as the input.

Everything runs in your browser. Your input is not uploaded or stored. If you use Copy link, what you entered is placed in the link.

Questions and answers

How do I delete a column from a CSV file?

Type the column name in Columns and set Action to Remove. Separate several names with commas.

Can I reorder CSV columns?

Yes. Choose Keep and list every column you want in the new order.

What if a column name has a comma?

Wrap that name in double quotes in the list, for example name,"City, State".

Is my file uploaded?

No. Columns are selected right in the browser tab, and your file is not sent anywhere.

Last updated November 1, 2026. Maintained by SnowRock. How our tools work

All 220 SnowRock tools