Split full name into first and last, for any contact list

Paste a column of names or drop a CSV. You get prefix, first, middle, last and suffix columns, with companies, couples and unsure rows flagged.

Free tool · Small business · Excel · Updated

1Paste your names or drop a file

The sample names show each rule. Replace them with yours.
A contact export from Mailchimp, HubSpot, QuickBooks or any sheet saved as CSV.

2Choose how to split

3Your names, split

Split cleanly
9
Rows to check
3
Companies, not split
2
Names read
14
#OriginalPrefixFirst nameMiddle nameLast nameSuffixCompanyNote
1John Smith–John–Smith–––
2Smith, Mary Ann–MaryAnnSmith––Was "Last, First"
3Dr. Robert J. Alvarez Jr.Dr.RobertJ.AlvarezJr.––
4MARIA DE LA CRUZ–Maria–de la Cruz––Capitals fixed
5John & Mary Peterson–John & Mary–Peterson––Couple
6Mr. and Mrs. David ChenMr. & Mrs.David–Chen––Couple
7Baker & Sons Plumbing LLC–––––Baker & Sons Plumbing LLCCompany name, not split
8Pieter van der Berg–Pieter–van der Berg–––
9O'BRIEN, PATRICK–Patrick–O'Brien––Was "Last, First"; Capitals fixed
10Linda "Lin" Okafor, CPA–Linda–OkaforCPA–Nickname "Lin" left out
11Cher–Cher––––One word only
12Thomas Wright III–Thomas–WrightIII––
13jessica mcdonald–Jessica–McDonald––Capitals fixed
14Summit Electric Inc–––––Summit Electric IncCompany name, not split

The download keeps your original columns and adds the split ones, a status and a note.

Want this done on your whole Excel? We fix contact lists with names, companies and duplicates mixed together before a CRM or email import on your real data, tested with you.

Walk us through your contact list

How do you split a full name into first and last in Excel?

Use Data > Text to Columns > Delimited, tick Space, pick a destination column and click Finish. In Excel for Microsoft 365 or Excel 2024, formulas do it without touching the original:

  • First name: =TEXTBEFORE(A2," ")
  • Last name: =TEXTAFTER(A2," ",-1)

The -1 tells Excel to search from the end, so it takes the last word.

Example: “Mary Ann Lopez” gives “Mary” and “Lopez”. “Ann” is lost, and “Lopez Jr.” would come out as “Jr.”, which is why the tool above handles suffixes and middle names for you.

How do you split full name into first and last in Google Sheets?

Select the column, then Data > Split text to columns and set the separator to space. As a formula, =SPLIT(A2," ") puts each word in its own column.

Example: “Dr. Robert J. Alvarez” becomes four columns: “Dr.”, “Robert”, “J.” and “Alvarez”. Any name with a title or middle initial needs fixing by hand afterward.

How do you split “Last, First” names separated by a comma?

Split at the comma: the part before it is the last name, the part after it is the first name. In Excel 365:

  • Last name: =TEXTBEFORE(A2,",")
  • First name: =TRIM(TEXTAFTER(A2,","))

In Google Sheets, =SPLIT(A2,", ") splits on the comma and the space and drops the empty piece between them.

Example: “Smith, John” gives “Smith” and “John”. “Smith, John A.” gives “Smith”, “John” and “A.” in Sheets. The tool spots this format row by row, so a list that mixes both formats still splits correctly.

How does the tool decide which part is which?

It reads each name in this order:

  • Titles at the start (Mr., Mrs., Dr., Rev.) go to Prefix.
  • Suffixes at the end (Jr., Sr., III, PhD, MD, CPA, Esq.) go to Suffix.
  • A comma with a first name after it means “Last, First”.
  • Last-name particles stay with the last name: “van der Berg”, “de la Cruz”, “St. James”.
  • First word is the first name, last word is the last name, anything between is the middle.

Nicknames in quotes or brackets, like “Lin” or (Bob), are left out and noted.

Company names (LLC, Inc, Plumbing, Services) are flagged and left whole. Couples, single words, email addresses, names of four or more words and two-word names that could be a business, like “Dana Sales”, are flagged for you to check.

What should I check before importing into Mailchimp or a CRM?

Mailchimp’s *|FNAME|* and *|LNAME|* merge tags insert each contact’s first and last name, so a wrong split shows up in every greeting.

  • Filter the download by Status = Check and fix those rows first.
  • Put flagged companies in the company field, not the last name.
  • Choose Middle name: with the first name if your list only has two name fields.
  • Keep the original full-name column until the import looks right.

For a list with repeats, run the HubSpot duplicate contact finder or the duplicate customer finder next.

Questions

Is my list uploaded anywhere?

No. Your browser reads the names and splits them on your computer. Close the tab and they are gone.

Can I use an Excel file?

Copy the column and paste it into the box, or save the sheet as CSV and drop it in. The download opens in Excel with your original columns kept.

How does it handle “John & Mary Smith”?

It puts “John & Mary” in First name and “Smith” in Last name, and flags the row. “Mr. and Mrs. David Chen” keeps “Mr. & Mrs.” as the prefix.

Will it fix names typed in all capitals?

Yes, if you leave the capitals option on. “O’BRIEN, PATRICK” becomes “Patrick O’Brien”, and names already in mixed case are left alone.

How many names can it split?

Tens of thousands in a modern browser. The screen shows the first 200 rows and the download has every row.

Sources

Lines of light running into one large blue period

Walk us through one problem.

We’ll tell you what we’d fix first.

Walk us through one problem

Free. 30 minutes. A one-page note within two business days.