Name Splitter
Turn full names into separate fields, ready for your spreadsheet.
CONTACT NAMES
Full names.
In the right columns.
Separate first, middle and last names. Keep titles and suffixes in their own fields, with the original name alongside for review.
DR. JOHN A. SMITH JR.
John A. Smith
- First
- John
- Middle
- A.
- Last
- Smith
Prefix: Dr · Suffix: Jr
More than the first space.
Handle surname-first entries such as GARCIA, MARIA, as well as titles, middle names and common surname particles. Apostrophes and hyphens can stay with the name.
Keep names in order.
Paste up to 100 names from a spreadsheet. Results keep the order and duplicate entries. Blank rows are skipped. Use Bulk to keep the original rows in your file.
Leave room for a review.
A single-word name leaves the last name empty. Name order can be ambiguous; check the returned parts against the original before updating your contacts.
From one column to useful fields.
Copy your names from Excel without the heading. Paste one person per line and select Split names. Copy for Excel pastes the results into separate cells; Download Excel saves a new spreadsheet.
Have a whole file? Use BulkWORKING IN EXCEL
Simple names can use a simple formula.
For Ada Lovelace in A2, these formulas work in Microsoft 365 or Excel 2024. They split at the first space. Use the splitter above for mixed patterns, middle names or compound surnames.
Prefer Text to Columns? Select Data → Text to Columns → Delimited and preview a Space or Comma separator. Choose an empty destination before finishing.
- First name → Ada
=TEXTBEFORE(TRIM(A2)," ")- Last name → Lovelace
=TEXTAFTER(TRIM(A2)," ")
Use it in your app.
Turn a full name into clean first, middle and last name fields.
import { parseAPI } from '@parseapi/sdk';
const parse = parseAPI("YOUR_API_KEY");
const result = await parse.name("Dr. John Smith Jr.");
console.log(result);A few more answers.
How do I separate first and last names in Excel?
Copy your full-name column without its heading, paste the names above, and select Split names. Use Copy for Excel to paste the resulting columns into empty cells, or Download Excel for a new file. Keep the original names alongside the results so you can review each split.
What Excel formula splits a first and last name?
For a two-word name in A2, use =TEXTBEFORE(TRIM(A2)," ") for the first name and =TEXTAFTER(TRIM(A2)," ") for the last name. These functions are available in Excel for Microsoft 365 and Excel 2024. The formulas assume exactly First Last. They need adapting for middle names, titles, or compound surnames.
How do I separate names written Last, First?
Paste the comma-separated name as it is. GARCIA, MARIA returns Maria as the first name and Garcia as the last name. In Excel's Text to Columns wizard, choose Comma as the delimiter. The surname stays in the first resulting column, so label the columns to match that order.
Can I split first, middle, and last names into three columns?
Yes. A middle-name column appears when at least one result has a middle name or initial. Prefixes such as Dr and suffixes such as Jr get separate columns too. Splitting every space in Excel can also produce three columns, but a three-word name may contain a compound surname rather than a middle name. Review those rows.
How can I extract just the last name in Excel?
Split the names, then use the Last name column from the copied results or downloaded file. For a consistent two-word First Last list, TEXTAFTER can return the text after the space. Taking only the last word from a longer name can cut off part of a compound surname or return a suffix instead.
Can I separate names in Google Sheets?
Yes. Copy your full-name column from Sheets, split it here, then paste the output into empty columns. In Sheets itself, =SPLIT(A2," ") separates the text at each space. That gives you one column per word, so review names with middle names or compound surnames. See the Google Sheets SPLIT guide.
What about compound surnames or one-word names?
A one-word name is returned in the First name column with an empty Last name. Recognized surname particles can stay together, but a name's intended order or surname boundary may still be ambiguous. Check those results against the original record or the person's stated name before replacing it.
Can I split more than 100 names?
A paste run splits the first 100 nonempty lines. Duplicate entries stay in their original order, and lookups that could not finish can be retried separately. Use Bulk for a larger file.