Delimited Column Extractor

Pulls chosen columns out of comma-separated or tab-separated text. You can ask for a single column, several columns, a range or the last column. It is useful when you have a long export or spreadsheet data and only need a couple of fields from it.

Up to 1 MiB.

Options

Numbered from 1. Use commas for several columns and a dash for a range.

How to use the Delimited Column Extractor

  1. Paste delimited text with one row per line, such as CSV or data copied from a spreadsheet (tab-separated).
  2. Choose the separator and enter the Columns to extract: 2, 1,3, a range such as 2-4, or -1 for the last column.
  3. Select Extract columns.

Rules applied

  • Values in double quotes may contain the separator, as in CSV: "Smith, Anna".
  • Missing columns become empty values. Empty lines stay empty.
  • If an extracted value contains the output separator or a quote, it is quoted again.

Limitations

  • Quoted values cannot span several lines. To search for patterns instead of columns, use the Regex Tester.

Worked examples

Names and emails from CSV

Input

name,email,city
"Smith, Anna",anna@example.com,Kuala Lumpur
Bob Tan,bob@example.com,Penang

Result

Smith, Anna	anna@example.com
Bob Tan	bob@example.com
Last column of tab-separated data

Input

a	b	c
1	2	3

Result

c
3

Practical uses

  • Pull emails from an exported list

    An admin has a CSV export with many columns but needs only the name and the email address. They choose the separator and enter the column numbers, such as 1,3. The tool returns just those two columns, ready to paste.

  • Take the last column of data

    A researcher has tab-separated data and wants the final value on each row, even though the rows have different lengths. They choose the tab separator and enter -1 as the column. The last value of every row is extracted without counting columns.

Privacy: this tool runs entirely in your browser. Your text is not uploaded, logged or saved, and it is never sent to analytics. Maximum input: 1 MiB.