Clean

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.

🛡️ Your rows never leave your browser.
Why Onfyt: Accurately separates given and family names while correctly handling prefixes (Dr., Rev.), compound surnames (Van der Valk), and reversed comma notation.

Interactive Sample Data

idfull_nameemailphone
1Dr. Jane Muthoni Wambuijane.wambui@example.co.ke+254 712 345 678
2Kipchoge, Eliudeliud@athletics.ke+254 722 001 002
3Mary Ann van der Biltmary.ann@sample.org+254 733 998 877
4John Peter Mwangi Jr.john.mwangi@nairobi.tech+254 799 445 566

How this tool works

When exporting customer contact lists from e-commerce stores (Shopify, WooCommerce), event registries, or CRM databases, customer names are frequently merged into a single unstructured text column. Importing combined names into email marketing software like Mailchimp, Klaviyo, or HubSpot prevents personalized greetings such as "Hi Jane" or sorting contacts alphabetically by surname. Splitting full names accurately is surprisingly complex due to the variety of global naming conventions. A simple split on the first space character breaks down on: - Honorific titles and professional prefixes (Dr., Prof., Rev., Mr., Mrs.) - Generation suffixes (Jr., III, Ph.D., Esq.) - Compound surnames with aristocratic particles (van der Bilt, de la Rosa, Von Neumann, bin Rashid) - Comma-inverted bureaucratic formats ("Kipchoge, Eliud") - Multi-word first names (Mary Ann, Jean-Pierre) This tool applies rule-based name parsing heuristics that detect honorific prefixes, separate comma-inverted surnames, protect compound surname particles, and isolate middle names into a dedicated middle_name column if desired. Because DataFix executes all transformations locally inside your browser sandbox via Web Workers, your contact lists, client identities, and customer emails remain completely confidential and are never uploaded to an external server. From an algorithmic standpoint, separating full names reliably requires deep grammatical heuristics rather than naive whitespace splitting. In international datasets, individuals frequently possess complex compound surnames such as "van der Bilt", "de la Cruz", "von Trapp", or "bin Rashid". Splitting on the last space would erroneously assign "Bilt" as the surname and "van der" as middle names. DataFix implements cultural surname particle recognition, ensuring that compound surnames remain unified in the last_name column. Furthermore, generation suffixes such as Jr., Sr., III, and Ph.D. are extracted into an optional suffix column rather than corrupting the family name. From an enterprise data governance and compliance perspective, customer contact lists represent valuable and protected personal data under frameworks like GDPR and the Kenya Data Protection Act. Uploading proprietary customer lists or employee directories to third-party cloud tools introduces severe security risks. By executing all name parsing algorithms inside client-side Web Workers, DataFix ensures that customer identities, email pairings, and contact records never leave your local computer, providing enterprise-grade security and instantaneous throughput.

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

🧪 Single-word name ('Cherono')

First name receives 'Cherono'; last name cleanly set to empty string.

🧪 Reversed comma format ('Otieno, Peter')

Identifies 'Peter' as first name and 'Otieno' as surname.

🧪 Compound surnames ('Van der Valk', 'De La Cruz')

Prefix particles remain joined to the family name column.

🧪 Academic titles ('Dr. Mary Wanjiku')

Title stripped or placed in designated column.

🧪 Empty full_name cell

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

Clean

Combine First and Last Name

Merge separate first and last name columns into a single clean full_name column, trimming extra spaces.

Open Tool →
Clean

Fix Name Capitalization

Transform SHOUTING all-caps or all-lowercase names into natural Title Case with cultural naming rule support.

Open Tool →
Clean

Clean an Email List

Scrub email lists by fixing syntax errors, trimming spaces, removing duplicates, and lowercasing addresses.

Open Tool →