Skip to main content
Premier SEO Services

Text tools

Delimited Column Extractor

Pull one or more columns out of CSV, TSV, pipe- or custom-delimited text, in any order, without opening a spreadsheet.

  • Runs in your browser
  • Free, no sign-up
  • Unlimited use
  • Updated 30 September 2026

Delimited Column Extractor

Paste your text — the result updates as you type

How to use the delimited column extractor

  1. 1Paste your data into Delimited text (CSV, TSV…).
  2. 2Choose the Delimiter; use Tab (TSV) for cells copied from a spreadsheet.
  3. 3Type the columns into Columns: 2, 1,3 or 2-4, or column names when First row is a header is ticked.
  4. 4Choose an Output delimiter, then Copy or Download the result.

Example

Input
name,email,city
Ana Silva,ana@example.com,Lisbon
"Lee, Min",min@example.com,Seoul
Tom Berg,tom@example.com,"Oslo, Norway"
Output
city,name
Lisbon,Ana Silva
Seoul,"Lee, Min"
"Oslo, Norway",Tom Berg

Settings: Columns = city,name, First row is a header ticked. The columns come out in the order you typed them, and values containing commas stay quoted.

Choosing the delimiter

  • Comma (CSV): the usual export format.
  • Tab (TSV): what you get when you copy cells from Excel or Google Sheets.
  • Semicolon: CSV files from regions where the comma is the decimal separator.
  • Pipe |: common in database exports and logs.
  • Spaces: any run of spaces or tabs, for aligned output from command-line tools (no quote handling).
  • Custom…: any string, such as :: or --. Type \t for a tab.

Selecting and reordering columns

Column numbers start at 1. Type 2 for one column, 1,3 for several, 2-4 for a range, 3- for column 3 to the last, or 4-2 for a range in reverse. The order you type is the output order, so 3,1 swaps two columns, and a column can appear twice.

With First row is a header ticked you can type names instead of numbers (email,name), matched without regard to case, and mix them with numbers. A column number beyond the widest row produces empty values and a note under the result.

Quoted fields and embedded commas

Quoting follows RFC 4180, the CSV specification: a field wrapped in double quotes may contain the delimiter and even line breaks, and a doubled quote ("") inside it stands for one quote character. So "Lee, Min" is one value, not two.

In the output, a value is quoted again if it contains the output delimiter, a quote or a line break, so the result is valid CSV. A quote in the middle of an unquoted value, as in 5" screen, is kept as a literal character.

Header rows and empty values

When the first row holds column names, tick First row is a header; untick Include the header in the result if you only want the data. Rows shorter than the others give empty values for missing columns instead of shifting data across. Skip empty rows drops blank lines, and Trim spaces around values removes the spaces some exports put after each comma.

Is my text private?

This tool runs entirely in your browser. Your text is not uploaded to our servers.

Sources

Questions about the delimited column extractor

How do I extract the second column from a CSV?

Choose Comma (CSV) as the delimiter and type 2 into Columns. You get one value per line, starting with the header if the first row is a header.

Does it handle commas inside quotes?

Yes. Quoted fields are read as one value, including commas, line breaks and doubled quotes inside them.

Can I change the output delimiter?

Yes. Output delimiter can be the same as the input, a comma, tab, semicolon, pipe or space. Choosing Tab lets you paste the result straight into spreadsheet columns.

Last updated 30 September 2026Maintained by Premier SEO Services

Report a problem