Skip to content

CSV Column Remover

Remove unwanted columns from a CSV by name, position or range and keep everything else exactly as it is.

Processed locally in your browser

Options

Header names or 1-based numbers, separated by commas. Ranges work too: 1,3-4,email. Use "quotes" around names containing commas.

0 chars · 0 lines
The result will appear here.

What is CSV Column Remover?

Sometimes it is easier to say what to throw away than what to keep: internal IDs, notes, tokens, personal data. This tool deletes the columns you list and leaves every other column and row untouched, in the original order.

Columns are identified by header name (case-insensitive), by 1-based position, or by ranges such as 2-4, in any combination. Removing every column is refused, and unknown names produce a clear error rather than a silent no-op.

How does it work?

  1. Paste the CSV or open a file.
  2. List the columns to delete, for example email,5 or 2-4.
  3. Check the preview table and the note that says how many columns were removed.
  4. Copy the result or download it as a new CSV.

Common use cases

  • Stripping personal data such as emails or phone numbers before sharing a dataset.
  • Removing helper or audit columns before importing into another system.
  • Dropping empty trailing columns produced by a spreadsheet export.
  • Making a public sample from an internal file.

Examples

Try this input in the tool above:

Input
id,name,email,city,age
1,Alice Martin,alice@example.com,Paris,34
2,Bob Durand,bob@example.com,"Lyon, France",28
3,Chloé Petit,chloe@example.com,Nice,41
4,David Roux,david@example.com,Paris,19
Output
id,name,city
1,Alice Martin,Paris
2,Bob Durand,"Lyon, France"
3,Chloé Petit,Nice
4,David Roux,Paris

Privacy

CSV Column Remover runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.

Limitations

Removing columns is done on the text you provided; the original file is not modified. If you list the same column twice it is removed once.

Frequently asked questions

Can I remove a range of columns?

Yes. Write 2-4 to remove the second to fourth columns, or 3- to remove everything from the third column onward.

What if the file has no header row?

Untick "First row is a header" and refer to columns by number only.

Is the data sent anywhere?

No. Parsing and removal happen entirely in your browser, which makes the tool suitable for files with sensitive fields.

More tools in JSON & Data →