Skip to main content
MyDataFixer

Split a Column

Split one column into several at a space, comma, dash or any separator, such as full names into first and last names. See a preview first, undo any time, and download the result as Excel or CSV.

Open a CSV or .xlsx file, choose a column and a separator, and check the preview. Everything happens on your device, and your original file is never changed: you download a new copy.

Your file is read by your browser on this device. It is not uploaded to our servers.

How Split a Column works

  1. Open a CSV file or an Excel workbook (.xlsx). It is read on your device.
  2. Choose the column to split and where to split it: at a space, comma, semicolon, dash, tab or any other text you type.
  3. Choose whether to split only at the first separator (two parts, such as first name and the rest) or at every separator, and how many parts to keep.
  4. The preview shows the first rows with their new columns. Nothing changes until you tap Apply.
  5. The new columns are added at the right of the sheet, named after the column: “name (1)”, “name (2)”. Undo takes them away again. Download the result as CSV or, for .xlsx files, as Excel.

Example

A column “name” holds “Asha Patil” and “Ben Rome”. Split at the first space, it gives “name (1)” with Asha and Ben, and “name (2)” with Patil and Rome. A value without a space, such as “Cher”, goes into “name (1)” and leaves “name (2)” empty. Split at every comma, “Pune, Maharashtra, India” gives three columns.

What Split a Column never does

  • Upload your file or change the original. The split is made on a copy in your browser; the download is a new file.
  • Split a formula cell. Formula cells are left as they are and counted in the preview.
  • Lose data: the original column is kept unless you tick “Remove the original column”, and values without the separator are kept in the first new column.
  • Remove a column from an Excel workbook when a filter, name or formula refers to it. The original column is kept and the preview says why.

Good to know

  • Works with CSV and .xlsx files. Old .xls files can't have columns added safely: save them as .xlsx in Excel first.
  • A separator that also appears inside a value (such as “Lee, Jr, Ahmed”) splits that value too. Check the preview, or tick “Don't split inside double quotes” when such values are quoted.
  • An Excel sheet holds at most 16,384 columns; a split that would need more is refused with the reason.
  • Very large files need a computer or a recent phone with enough memory.

Questions and answers

Is my file uploaded?

No. Your browser opens the file on your device and every check, fix and download happens there. The contents of your file are not sent to MyDataFixer's servers or to anyone else, and your original file is never changed.

How do I split first and last names?

Choose the name column, “Space” and “At the first separator only”. The first word goes into one column and the rest of the name into the next, so “Mary Ann Lopez” becomes “Mary” and “Ann Lopez”.

Where do the new columns go?

At the right of the sheet, after the last column, named after the column you split: “name (1)”, “name (2)” and so on. Your other columns don't move.

Is the original column removed?

Not unless you tick “Remove the original column”. Either way, Undo brings everything back as it was.

Will my Excel formatting be kept?

Yes, when you download an .xlsx file as Excel: the new cells are written into your original workbook, and formatting, formulas and other sheets stay as they were.

Is this the same as Text to Columns in Excel?

It does the same job, with a preview first and Undo afterwards, and it works in any browser, also on a phone. Excel's Text to Columns replaces the columns to the right; this tool adds new columns instead.