Skip to content
OddsockLocal
Local
Source text
ItemQuantity
Notebook12
Pencil4
3 wordsRuns in this browser. Nothing is uploaded.

How to use

  1. Paste a header and the rows into Source text.
  2. Type the header to split in Column name, or leave it blank to split the first column.
  3. Set Separator to the character sequence inside the cells, such as a space, a comma, or a hyphen.
  4. Copy the widened CSV.

What is Split a CSV column?

A single Label column that actually holds an item and a quantity, separated by a space, is two fields wearing one header. Split a CSV column breaks that header on the separator you give it. Each piece becomes its own column, named from the original header with _1, _2, and so on. The widest row decides how many new columns appear. Shorter rows get empty cells in the extra columns.

Read more

The separator defaults to a space, and a blank column name means the first header. If no cell contains that separator, the column is renamed with _1 and the rest of the sheet is unchanged. New names that collide with a header already on the sheet are refused, so Item_1 is rejected when Item_1 is already a column.

Use cases

  • A receiving log stores Notebook 12 in one Label cell and needs Item and Quantity as separate columns.
  • A contact export keeps Last, First in one field and should be two columns on a comma.
  • A SKU such as PEN-BLUE-4 is split on hyphens into family, color, and pack size.
  • A teacher splits a Full name column on the first space pattern that every row shares.
  • An import file uses a pipe inside one notes field, and the downstream system wants those pieces as columns.

A label column with a space in it

For a real split, paste Label / Notebook 12 / Pen 4, leave Column name blank, and set Separator to a space. The two-column sample Item,Quantity / Notebook,12 / Pen,4 has no space inside Item, so the first column is only renamed.

Splitting Label on a space returns Label_1,Label_2 / Notebook,12 / Pen,4. Running the sample sheet with the default space separator returns Item_1,Quantity / Notebook,12 / Pen,4.

Why use Oddsock

The split widens the table in place and names the pieces from the header you broke, so the next tool still sees a normal CSV.

Related tools

Using this tool

The original header plus _1, _2, and so on, one per piece in the row that splits into the most parts.