CSV column extractor (RFC 4180)
Parse CSV/TSV the RFC 4180 way — quoted delimiters, embedded newlines, "" escapes and delimiter auto-detection — then keep columns by number (1,3), range (2-4) or header name, exporting either quoted CSV or plain text, all locally.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Parsed as RFC 4180: delimiters and line breaks inside quotes stay in the field, and "" escapes a quote. Paste straight from Excel.
Extracted columns
Generated locally — paste back into Excel or save the text as .csv.
Paste CSV content to extract the selected columns
Data rows: 0 · Output rows: 0 · Skipped: 0 · Parsed columns: 0 · Selected columns: 0 · Delimiter: -
What this tool does
- Keep only the columns you need from an exported order or member CSV and paste it back into Excel
- Handle quoted CSV correctly: commas and line breaks inside quotes are never treated as a new row
Example
Input
name,age,city Zhang San,28,"Beijing, CN" Li Si,31,Shanghai Wang Wu,,Guangzhou
Output
name,city Zhang San,"Beijing, CN" Li Si,Shanghai Wang Wu,Guangzhou
Set "Columns to keep" to name,city — using header names makes the first record the header. Fields containing the delimiter are quoted again in the CSV output.
Frequently asked questions
How do I write the column list?
Columns are 1-based and comma separated: 1 for a single column, 1,3 for two, 2-4 for a range. You can also use header names (name or name,3). A column number larger than the table is an error instead of silently padding.
When is the first row treated as a header?
With the default "auto" setting: if the column list contains a name it is treated as a header, and if it contains only numbers it is not. You can force either behaviour with the selector. When a header is used, the selected header cells are written first so the output is a ready-to-use table.
How are quotes, newlines and tabs handled?
Parsing follows RFC 4180: quoted fields may contain delimiters and line breaks, and a doubled quote means a literal quote. Leave the delimiter on auto to detect , ; | or tab from the first record. Output is escaped the same way — fields containing a delimiter, quote, line break or padding are quoted.
Is my data uploaded, and is there a size limit?
Nothing is uploaded; parsing and export happen in your browser. To keep the page responsive the input is limited to 5,000,000 characters and 200,000 records, and a clear error appears beyond that.
Keywords:csv column extractorRFC 4180csv-field