Split a CSV Column into Multiple Columns
About this tool
About Split CSV Column
This is the online version of Excel's Text to Columns, made for CSV files. Pick the column to split, such as a full name, an address or a City, Country field, and choose what to split on: a comma, a space, any run of spaces, a semicolon, pipe, hyphen, slash, the @ in email addresses, or your own separator. Set Max parts to control what happens with extra pieces. With 2 parts, Mary Ann Smith becomes Mary and Ann Smith instead of three columns. Name the new columns (for example first, last), keep or drop the original column, and check the live preview of the first rows before you apply. Parts are trimmed of stray spaces, and rows with fewer parts get blank cells rather than shifted data. Split again, merge columns back, undo any step, and export as CSV, TSV or JSON. Your data is processed in your browser and never uploaded.
Built and maintained by Abhi JainUpdated
How to Split a Column in a CSV
- 1
Open the CSV
Drop the file on the page or paste the data. Split column is already open.
- 2
Choose the column and separator
Pick Column to split and Split on, for example Space for names or Comma for City, Country.
- 3
Set parts and names
Set Max parts if needed, type New column names separated by commas, and check the preview.
- 4
Apply and export
Click Split column, check the table, then open Export to download the file.
Split CSV Column: questions and answers
How do I split a full name into first and last name?
Choose the name column, split on Space, and set Max parts to 2. Name the new columns first, last. Middle names stay with the last name, so no data is lost.
What happens when rows have different numbers of parts?
The tool creates as many columns as the longest row needs, and fills missing parts with blank cells, so values never shift into the wrong column.
Can I split on more than one character?
Yes. Choose Other text and type any separator, such as ' - ' or '::'. Choose Any spaces to treat several spaces or tabs as one separator.
Is there a way to undo a split?
Click Undo, or use CSV Cleaner's Merge columns to join the parts back together with the separator you choose.
More CSV Cleaner presets
Related tools
- CSV Viewer & EditorOpen, edit, sort, filter and search big CSV files like a spreadsheet, then export CSV, TSV or JSON.
- CSV AnalyzerProfile every column of a CSV: types, missing values, unique counts, min, max, mean, median, histograms and outliers.
- CSV ValidatorFind ragged rows, quoting errors, duplicate headers and type problems in a CSV, with line numbers.
- CSV FormatterClean up a CSV: consistent quoting, line endings and delimiter, trimmed cells, no empty rows.
- CSV to JSONConvert CSV to JSON objects, arrays or keyed maps with real numbers, booleans and nesting.