Nylia Text.Text & list tools

Extract a CSV column

Extract a CSV or TSV Column Online

Extract a numbered column from quoted CSV or TSV while keeping identifiers and multiline values intact.

1 Extract a CSV column
0 / 500,000 characters
Ready when you are

Nylia Text result

Your original input stays unchanged.
Settings links never include your text.

Paste text, choose your options, and run the tool.

How it works

A strict delimited-text parser handles quoted delimiters, doubled quotes and embedded line breaks. Choose a one-based column number and whether the first record is a header.

When to use it

Extract product IDs from a comma-separated export, or choose Tab for TSV. Download CSV when cells contain line breaks.

Good to know

Only UTF-8 text, one delimiter character, consistent column counts and at most 1,000 columns are supported. Excel workbooks and malformed CSV are rejected. Spreadsheet imports may still infer numeric types; import identifier columns explicitly as text.

Up to 500,000 characters and 25,000 lines per input. UTF-8 text files up to 2 MB. Review outputs before using them.

CSV protection adds an apostrophe to fields starting with formula-like characters or tab/line-break controls. It changes those values. Protection varies by spreadsheet and may be lost after saving and reopening. Import untrusted data and identifiers as text. Copy or TXT preserves the original values.

Turn one CSV field into a usable list

Paste CSV text or load a UTF-8 text file. Choose the delimiter and enter the column number, counting from 1. Select the header option if the first record contains column names, then select Extract column. Check the output against the source before exporting.

The parser recognizes quoted delimiters, doubled quotation marks and line breaks inside quoted cells. For TSV, choose Tab as the delimiter. The tool extracts one numbered column; it does not open Excel workbooks.

Example: identifiers with leading zeros

For id,name followed by 001,"Smith, Ana" and 002,"Lee, Sam", column 1 with the header option enabled returns 001 and 002. The comma inside each quoted name belongs to that field and does not create an extra column.

Malformed quoting and inconsistent column counts produce an error. Check the delimiter and source export rather than assuming a partially extracted result is correct. When an extracted cell contains a line break, use CSV download to preserve record boundaries. Spreadsheet software may still infer numeric values, so import identifiers as text.

Work with the extracted values

Use Remove duplicate lines for one-value-per-line output, or Compare two lists to compare identifiers from two exports. Avoid passing multiline cells into a line-based tool unless you intend to split them.

Frequently asked questions

How do I extract a single column from a CSV file?

Paste your CSV data or load a UTF-8 CSV text file. Choose Comma, enter the column number starting at 1, and select Extract column. If the first row contains column names, leave First row is a header checked.

Can I extract a column from a TSV file?

Yes. Select Tab as the separator and enter the column number. TSV files must contain consistently structured records.

Does the extractor handle commas inside quoted cells?

Yes. Properly quoted CSV fields can contain commas, doubled quotes, and embedded line breaks. Malformed quotes or inconsistent column counts are rejected.

Working with the extracted data

Will the tool keep leading zeros in IDs?

The extracted text retains leading zeros, such as 00123. However, spreadsheet programs may automatically convert these values to numbers. When opening exported data in Excel, import identifier columns as text.

Can I extract a column from an Excel XLSX workbook?

No. This tool processes UTF-8 delimited text, not XLSX workbooks. Export the worksheet as CSV or TSV before using it.

Is my CSV data uploaded to a server?

Extraction runs in your browser. Your pasted data and file contents are not sent to Nylia Text for processing. See the privacy policy for information about analytics and other site data.

For related workflows, remove repeated values or compare extracted columns.