Toolstia / Column extractor

column extractor

Paste a table, CSV or any delimited text and keep only the columns you want. Use numbers such as 1,3 or ranges such as 2-4, reorder or repeat columns and choose a new separator.

Columns start at 1, and "last" means the final column. You can reorder or repeat columns, for example 3,1. Commas inside quoted values are handled for comma separated data.

How it works

  1. Paste your data.
  2. Type the columns to keep, such as 1,3 or 2-last.
  3. Copy the result.

Columns

Columns start at 1. Use last for the final column, and ranges such as 2-4. Order matters, so 3,1 puts column 3 first.

Separators

The separator is detected from the first line, or you can choose comma, tab, semicolon, pipe, spaces or your own.

Quoted values

For comma separated data, commas inside quotes stay inside the value.

Header row

Skip the first row if it holds column names you do not want in the output.

Questions

What if a column does not exist?

It comes out empty, and you are told how many were missing.

Can it handle very large data?

It works in your browser, so very large files can be slow.

Is my data stored?

Everything happens in your browser, and nothing you enter is sent anywhere.