Check & prepare data · Experimental helper

Select & Reorder CSV Columns

Keep selected CSV columns and arrange them in the order you specify.

Work stays in your browserLocal tool processing

Choose a CSV and enter the exact header names to keep.

Private by designYour input stays on your device. Processing happens in this browser.
Your workspace

Start with a file

CSV, TSV, or TXT · UTF-8 only · up to 10 MB. Original text and identifiers are retained; parsing happens when you run. Drop here, or use the file picker.

Paste CSV instead (optional)

Optional alternative to a file. Editing this text removes its selected file; source text is never reformatted during loading.

Column settings

Leave blank to detect comma, semicolon, tab, or pipe. Otherwise enter one character.
Match the spelling and capitalization of the CSV header.
Ctrl / ⌘ + Enter to run
Result

A clear result starts here

Run the tool to see your output here.

Try the example to explore how it works.
What to know about this tool

Header names must match exactly and are entered as a comma-separated list. Headers containing commas cannot be selected that way. Up to 10 MB, 50,000 rows and 200 columns; rectangular CSV with unique nonblank headers required. CSV output has a conservative 20 MB cap.

Clear this workspace?

Your inputs, selected files, and current result will be cleared.

Get a result you can use

Instructions and examples

From input to output

  1. Choose a CSV or open its optional paste area.
  2. Enter exact header names in Columns to keep, separated by commas, or use the available column buttons.
  3. Select Keep selected columns and inspect the CSV before downloading.

Settings and result behavior

  • The entered order becomes the output column order. Unselected columns are omitted; rows retain their source order.
  • The column buttons preserve exact header names, including commas and outer spaces. Selection order controls the output. The optional text field accepts simple comma-separated names.

A worked example

Input
id,name,note
001,Ada,ready
002,Lin,review
Settings
Columns to keep: name,id.
Expected result
name,id
Ada,001
Lin,002

Supported input and limits

Choose a UTF-8 CSV, TSV or TXT file, or open “Paste CSV instead”. Use comma, semicolon, tab or pipe separators. A header row with unique nonblank names and the same field count on every row is required. CSV exports retain the detected/selected delimiter and protect formula-like cells with an apostrophe.

Header names must match exactly and are entered as a comma-separated list. Headers containing commas cannot be selected that way. Up to 10 MB, 50,000 rows and 200 columns; rectangular CSV with unique nonblank headers required. CSV output has a conservative 20 MB cap.

If the result is unexpected

  • For a missing-header error, check exact spelling and case.
  • If a name contains commas or edge spaces, rename it through CSV cleanup or the source application before selection.

Check before using the result

Check that required identifiers are retained and unnecessary fields are absent. Review protected cells before importing the output.

Report a problem with this tool. Include a nonsensitive example and your browser details.