Free · No sign-up · Runs in your browser

CSV Column Extractor

Select and reorder named CSV columns while preserving quoted commas, multiline cells, leading zeros and header spelling.

STEP 1

Start with your input

Edit the example or replace it with your own text.

STEP 2

Choose your options

These settings are optional. Keep the defaults to get started.

How to use CSV Column Extractor

  1. Paste CSV with a unique, non-empty header row.
  2. Enter the exact desired column names as a JSON array, in output order.
  3. Extract the columns and copy or download the comma-separated result.

Select fields without corrupting cell boundaries

This tool parses the CSV rather than splitting text at every comma. Quoted delimiters, doubled quotes and embedded line breaks remain part of their original cells. The selector is a JSON array so a header containing a comma can be selected unambiguously. Matching includes header whitespace and case; the tool does not silently rename columns.

Use an explicit output order

Selected names determine output order, and repeated or unknown names are rejected. Every source row must match the header width. Values remain strings, including empty cells and IDs with leading zeros. Output uses comma-separated CSV with proper quoting regardless of input delimiter. The tool does not import XLSX workbooks, infer data types or run spreadsheet formulas.

Example input

name,email,city
Ada,ada@example.com,London
Grace,grace@example.com,New York

How do I select a header that contains a comma?

Include it as one JSON string, for example ["city, state","email"]. The comma inside the quoted name is not a separator between selected fields.

Is input uploaded?

Processing takes place in your browser. This tool does not send your input or selected files to a conversion API.

Related tools and guides

Browse all developer tools