Split full names into first and last name columns online
Separate full name columns into dedicated first_name and last_name columns in CSV and Excel spreadsheets.
Interactive Sample Data
| id | full_name | phone | |
|---|---|---|---|
| 1 | Dr. Jane Muthoni Wambui | jane.wambui@example.co.ke | +254 712 345 678 |
| 2 | Kipchoge, Eliud | eliud@athletics.ke | +254 722 001 002 |
| 3 | Mary Ann van der Bilt | mary.ann@sample.org | +254 733 998 877 |
| 4 | John Peter Mwangi Jr. | john.mwangi@nairobi.tech | +254 799 445 566 |
How this tool works
Things that usually go wrong
- Titles Treated as First Names: Titles like "Dr." or "Mr." can become first names if not stripped. DataFix recognizes common honorifics automatically.
- Compound Surnames Split in Half: Surnames like "van der Bilt" get split if partitioned on the last space. DataFix detects European and African compound particles.
- Comma-Inverted Order: Lists exported as "Surname, Given Name" get reversed by simple space splitting. DataFix detects commas as inverted indicators.
Edge cases we tested
First name receives 'Cherono'; last name cleanly set to empty string.
Identifies 'Peter' as first name and 'Otieno' as surname.
Prefix particles remain joined to the family name column.
Title stripped or placed in designated column.
first_name and last_name both output as "". The row is preserved; no error is thrown.
Frequently Asked Questions
How does it handle single-word names?
If a row contains only a single word (e.g. "Madonna"), it is placed in the first_name column and last_name is left blank.
Can I preserve middle names in a separate column?
Yes! Select the "First, Middle, Last" option to generate three dedicated columns.
Does it support comma-separated names like "Doe, Jane"?
Yes. If a comma is detected in the name, DataFix recognizes the first part as the surname and the second part as the given name.
Is my customer contact data private?
Yes. The transformation runs locally in your browser memory; zero rows are ever transmitted across the network.
Related tools
Combine First and Last Name
Merge separate first and last name columns into a single clean full_name column, trimming extra spaces.
Open Tool →Fix Name Capitalization
Transform SHOUTING all-caps or all-lowercase names into natural Title Case with cultural naming rule support.
Open Tool →Clean an Email List
Scrub email lists by fixing syntax errors, trimming spaces, removing duplicates, and lowercasing addresses.
Open Tool →