Home / Text to columns

Text to columns

Split each line of text into columns at commas, spaces, tabs or any character, keep only the columns you need, and paste the result into a spreadsheet.
Your text never leaves your device: everything runs in this page. No upload, no sign-up.

Your lines

Empty

Columns (paste into Excel)

How to split text into columns

  1. Paste your lines: names and emails, an address list, an export, log lines.
  2. Choose where to split, or leave Auto to detect commas, semicolons, tabs or | bars.
  3. The table below shows the columns. The result box is separated by tabs, so it pastes into Excel or Google Sheets as real columns.

Options

  • Keep "quoted, text" together: commas inside quotes do not split, as in CSV files.
  • Several spaces count as one: for text aligned with spaces.
  • Keep columns: list the columns to keep, such as 2 for the emails only, 1,3, or 2-4. Use it to pull one column out of a pasted table.
  • Result separated by: tabs for spreadsheets, commas for a CSV file, semicolons or bars.

Excel has its own Text to Columns (Data tab), which works on cells already in a sheet. This page is handy before pasting, or when you need only some of the columns.

Related tools

Guides

Questions

How do I split text into columns for Excel?

Paste the text, choose the separator, and copy the result. Pasted into Excel, each part lands in its own column.

Can I extract just one column?

Yes. Type its number in Keep columns, for example 2.

Does it handle commas inside quotes?

Yes, with Keep quoted text together on (the default).