Text field extractor
Extract one column from delimited text by 1-based column number, with a comma, tab, pipe or whitespace separator and blank lines skipped by default. Fields are split on the delimiter; quotes are not parsed.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Extracted values
One value per line, in the original order.
Enter delimited text to see the result
Rows: 0 · Values: 0 · Column: 0
What this tool does
- Pull a single column out of pasted CSV or TSV, for example turning an exported order list into just the order numbers by choosing column 2 and the comma or Tab separator.
- Tidy log fields: split each line by spaces and take the third field (status code, duration, …), one value per line.
- Prepare parameters for a batch query: split a user list by pipe or comma and keep only the column you need.
Example
Input
a,b 1,2
Output
b 2
Default settings: separator "Comma ,", column 2 and "Skip blank lines" on, so each row yields its second field — b and 2.
Frequently asked questions
Is the column number 1-based, and what if a row lacks it?
Columns are 1-based. When a row is missing that column and "skip blank lines" is on (the default) the value is an empty string and an empty line is still emitted. Turn the switch off and the same input raises a missing-column error instead of silently returning empty values.
Does it handle quoted CSV?
No. Fields are split on the delimiter character only and quotes are not interpreted, so "a,b",c becomes three fields rather than two. Use the CSV to JSON tool when you need real CSV parsing.
What does the whitespace separator do?
With "Whitespace" selected, lines are split on runs of spaces or tabs (equivalent to \s+) after trimming, so leading and trailing spaces never become a column. Comma, Tab and Pipe split on that single character instead.
Are blank lines counted?
By default blank lines (empty or whitespace-only) are dropped and excluded from the "Rows" statistic. With the switch off they take part in the extraction and trigger the missing-column error because they have no such field.
Keywords:extract columndelimited text