CSV Column Extractor & Filter

Extract specific columns from CSV, TSV, or any delimited tabular data. Click the columns you want to keep and copy the result.

Runs in your browser. No data leaves your device.

About this tool

Pulls selected columns out of delimited text (CSV, TSV, pipe or semicolon). Paste the data, click the column names you want, and copy the reduced table. Useful for trimming exports down to the fields you need.

Features
  • Delimiter auto-detection from the first line (ignoring text inside quotes), checked in the order tab, comma, pipe, semicolon (comma if none found)
  • RFC 4180 parsing: quoted cells may contain the delimiter, doubled "" quotes, and line breaks; CRLF line endings work
  • Manual delimiter choice: Auto-detect, Comma, Tab, Pipe, Semicolon
  • First line is used as headers; each header becomes a toggle button (blank headers show as "Column N")
  • Select all / Clear buttons
  • Live output with a count of selected columns and data rows
  • Copy button and a pipeline button to send the result to other tools
  • Cell values are trimmed of surrounding whitespace
How to use it
  1. Paste tabular data with a header row into the input box
  2. Leave the delimiter on Auto-detect or pick one
  3. Click the header buttons for the columns you want (or Select all)
  4. Copy the extracted result from the output box
Inputs
  • Plain text, one row per line, first line is the header row
  • Delimiters: comma, tab, pipe or semicolon
Outputs
  • Delimited text containing only the selected columns, header line included
  • Output uses the same delimiter as the input (comma, tab, pipe, or semicolon)
  • Cells containing the delimiter, a double quote, or a line break are re-quoted ("" for inner quotes)
Limits and notes
  • Output columns always keep their original left-to-right order, regardless of click order
  • The column selection is kept while you edit data rows; changing the header row or the delimiter starts a fresh selection
  • No custom delimiters beyond the four listed
  • Nothing is saved to localStorage; all processing is local in the browser

Frequently Asked Questions

How does the Column Extractor work?

The tool parses your text as delimited data following RFC 4180, so quoted cells can contain the delimiter, doubled "" quotes, and line breaks; cells are trimmed and blank lines skipped. The first row becomes the column headers, shown as buttons. Auto-detect looks at the first line (ignoring quoted text) for a tab, then a comma, then a pipe, then a semicolon. Selected columns are written back out with the same delimiter as the input, and any cell that contains the delimiter, a quote, or a line break is quoted again.

What delimiters are supported?

Comma, tab, pipe and semicolon. Auto-detect picks one from the first line, or you can choose it manually. Custom delimiters are not supported.

Can I select multiple columns?

Yes. Click any number of column header buttons, or use Select all. The output always keeps the columns in their original left-to-right order, whatever order you click them in.

Does it handle quoted fields with commas inside?

Yes. Quoted fields are parsed per RFC 4180, so a delimiter, a doubled "" quote, or even a line break inside quotes stays part of the cell. In the output, any cell that contains the delimiter, a quote, or a line break is wrapped in quotes again, so the result stays valid CSV.