CSV Column Extractor
Select and reorder named CSV columns while preserving quoted commas, multiline cells, leading zeros and header spelling.
Start with your input
Edit the example or replace it with your own text.
Choose your options
These settings are optional. Keep the defaults to get started.
How to use CSV Column Extractor
- Paste CSV with a unique, non-empty header row.
- Enter the exact desired column names as a JSON array, in output order.
- 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.