Skip to content
XUtilHub

Delimited Text Extractor – Extract Columns

Extract specific columns from CSV, TSV, pipe- or custom-delimited text. Pick columns and an output delimiter.

  • Free, no sign-up
  • Runs in your browser, nothing uploaded
Input
Output

About the Delimited Text Extractor

Pull specific columns out of delimited text such as CSV, TSV, pipe-separated or custom. Choose the columns and the output delimiter.

Key features

  • Extract columns from CSV, TSV, pipe, semicolon or space-delimited text
  • Pick columns by number: 2,4 or ranges like 1-3
  • Choose any output delimiter (\t for tab)
  • Rows with missing columns produce empty values
  • Works on large pastes instantly
  • Runs in your browser

Pull specific columns out of delimited text

Exports from databases, spreadsheets, logs and command-line tools often come as delimited text: comma-separated, tab-separated, pipe-separated or semicolon-separated. When you need only a few of the columns, opening a spreadsheet is overkill. The Delimited Text Extractor keeps the columns you want and drops the rest.

Example

Input (comma-delimited):

id,name,email,city
1,Ada,ada@example.com,London
2,Alan,alan@example.com,Manchester

Columns 2,3:

name,email
Ada,ada@example.com
Alan,alan@example.com

Column selection syntax

You typeColumns returned
2Column 2 only
1,3Columns 1 and 3
2-4Columns 2, 3 and 4
4,1Column 4, then column 1 (reordered)
1-2,5Columns 1, 2 and 5

Common jobs

  • Email lists: pull the email column from a CRM export.
  • Log analysis: extract the timestamp and status fields from pipe-delimited logs.
  • Re-delimiting: convert semicolon CSV (European Excel) to comma or tab output.
  • Preparing imports: keep only the fields another system accepts.

Command-line equivalent

cut -d',' -f2,3 data.csv

The extractor gives you the same result without a terminal, and also lets you reorder columns, which cut can't.

Turn a column into a quoted list with the String Builder, or remove duplicates with Remove Duplicate Lines. For proper CSV parsing, try Excel to JSON.

How to use the Delimited Text Extractor

  1. Type or paste your text into the input box.
  2. Choose the options you want.
  3. The result updates instantly as you type.
  4. Copy the output or download it as a .txt file.

Frequently asked questions

Are columns numbered from 0 or 1?

From 1. The first column is 1.

Can I reorder columns?

Yes. Columns are output in the order you list them, so '3,1' puts column 3 first.

Does it handle quoted CSV fields containing commas?

No. It splits on every delimiter. For CSV with quoted commas, convert it with Excel to JSON or open it in a spreadsheet.

How do I extract a single column as a list?

Enter just that column number; each row's value appears on its own line.

Is my text sent anywhere?

No. All text tools run locally in your browser.

Do these tools support Unicode?

Yes. They handle Unicode text, including emoji and accented characters.

Last updated:

Related Text tools