How do I split full names into first and last?
Choose the name column, split at a space, and set a fixed number of 2. The last part keeps the rest, so middle names stay with the last name.
Split one column into several at a delimiter: a full name into first and last at the space, an email address into user and domain at the @, or a code into its parts at a dash. A live preview shows the first rows before you apply it, and nothing is lost when values have extra parts.
Loading the CSV tools.
You do not have to take our word for it. Browser developer tools list every request a page makes, so you can watch 2csv work and confirm that your data is never sent anywhere. The check takes about a minute.
F12, or Cmd+Option+I on a Mac, and select the Network tab.Your file is read into this tab's memory with the browser's own file reader, parsed and changed by code that is already on the page, and handed back to you as a download. It is never uploaded, never stored in the browser, and gone when you close the tab. The only other request the site can make is the feedback form, and only when you submit it.
The production site also sends a Content-Security-Policy header that tells your browser to refuse connections to anywhere except this site and the anonymous analytics endpoint, so even a bug could not send your data elsewhere.
The new columns are named after the original, such as name_1 and name_2, and they appear next to it. You can keep the original column for reference or drop it once the split looks right. Trim parts removes the spaces left around each piece, which matters when the delimiter is a comma followed by a space.
Choose as many as needed, and the tool makes enough columns for the value with the most parts, up to 50. Choose a fixed number when you want exactly that many columns. With a fixed number the last part keeps the remainder, so splitting Mary Ann Smith into two parts at a space gives Mary and Ann Smith, and nothing is lost.
Check the live preview before applying, because real data often has a few rows that do not follow the pattern, such as names with a middle name, a suffix, or no space at all.
Undo restores the table for the last five changes. To put split values back together, or to join any columns into one, use Merge columns, which picks columns in order and joins them with a separator you choose. If a split column holds dates or numbers, the column type converter can clean them afterwards.
Splitting works on a single column within one file. It does not split a file into several files; for that, the CSV splitter cuts a large table into parts with the header repeated in each.
All eighteen tools are on the 2csv home page, and once a file is open you can switch between them without reloading it. Part of the 2suite.io privacy-first ecosystem.
Choose the name column, split at a space, and set a fixed number of 2. The last part keeps the rest, so middle names stay with the last name.
They are named after the original column with a number, such as name_1 and name_2. Rename them by double-clicking the header.
Your choice. Keep it for reference or drop it. Undo restores the table either way.
Splitting into as many columns as needed makes up to 50 new columns, enough for nearly any real data.
Choose the email column and split at the @ character. The part before it goes into the first new column and the domain into the second.