---
title: "Name splitter: first, middle and last name"
url: "https://coldagentai.com/tools/name-splitter.md"
canonical_url: "https://coldagentai.com/tools/name-splitter"
last_updated: "2026-10-18"
type: "tool"
summary: "Split full names into prefix, first, middle, last and suffix. Handles Last, First order, titles, credentials and surname particles. Bulk mode with CSV download."
related: ["https://coldagentai.com/tools.md", "https://coldagentai.com/tools/email-name-generator.md", "https://coldagentai.com/tools/email-pattern.md", "https://coldagentai.com/tools/remove-duplicate-emails.md", "https://coldagentai.com/tools/email-extractor.md", "https://coldagentai.com/tools/company-email-format.md"]
install: "claude mcp add --transport http coldagentai-free https://coldagentai.com/api/mcp"
---

# Name splitter: first, middle and last name

> **For AI agents:** the complete index of ColdAgentAI pages is [llms.txt](https://coldagentai.com/llms.txt). Every page is also served as markdown at its URL plus .md.

Split full names into prefix, first, middle, last and suffix. Handles Last, First order, titles, credentials and surname particles. Bulk mode with CSV download.

Type one full name, or paste a column of them, and get prefix, first name, middle name, last name and suffix as separate fields. It reads "Last, First" order, drops titles and credentials into their own columns, and keeps surname particles such as "van der" with the surname. Download the result as a CSV.

The names you enter are split in this page and are never sent anywhere.

## Inputs

- One full name, or in bulk mode one name per line.
- Bulk mode takes up to 10,000 names per run. A longer list is refused whole, so nothing is cut off without you seeing it.
- Names can be in "First Middle Last" order or "Last, First Middle" order with a comma.

## How it works

- A comma means "Last, First". The text before the first comma is the last name, and the words after it are the first name and any middle names. Parts after later commas that are only credentials, such as "Ph.D.", go to the suffix.
- Honorifics at the start (mr, mrs, ms, miss, mx, mister, madam, madame, mme, mlle, messrs, dr and others, 41 in all) move to the prefix column. A title is only stripped when at least one word is left, so a lone "Dr" stays as a name.
- Suffixes and credentials at the end (jr, sr, junior, senior, 2nd, 3rd, 4th, phd and others, 33 in all, plus the numerals II to V) move to the suffix column. Numerals count only when at least two other words remain, so "Anna V" keeps its V as a last initial.
- The first word is the first name, the last word is the last name, and anything between is the middle name. A single word is returned as a first name only.
- A run of surname particles directly before the last word stays with it (van, von, der, den, ter, ten, de, del, della, degli, dei, di and others). "Jan van der Berg" gives last name "van der Berg". The first word is always kept as the first name, so "De La Cruz" gives first "De" and last "La Cruz".
- The tool keeps your spelling and capitalization, and never splits inside a word, so MacDonald, McKay, O'Brien and D'Angelo stay whole.

## Why you split names at all

Mail merge, CRMs and cold email templates ask for a first name and a last name in separate fields. A file with only a "Full name" column cannot fill a greeting such as "Hi Grace" without help, and an incorrect split produces "Hi Hopper" or "Hi Dr." in front of a real person. Splitting the list once, and looking at the odd rows, is far cheaper than fixing the greetings after they have gone out.

## The rules, in the order the tool applies them

First the tool looks for commas. With a comma, the text before it is the surname and the words after it are given names, which is how most directories and exported contact lists write names. Pieces that are only credentials, like "Esq." in "Smith, John, Esq.", are moved to the suffix.

Then it removes titles from the front and credentials from the back, then splits what is left by word position. Dots are ignored when matching, so "Ph.D.", "PhD" and "phd" are the same entry. Roman numerals need two other words so that a last initial is not mistaken for a numeral.

Finally, particles are attached to the surname. The tool walks backward from the last word and pulls in each particle it meets, but never the first word, so a name that is only particles still has something in the first-name field.

## Names are more varied than any rule

The W3C internationalization group describes how much names differ: Chinese, Japanese, Korean and Hungarian names put the family name first, and some cultures use a given name followed by a patronymic with no family name in the Western sense. Its guidance for forms is to allow spaces in names, to preserve the capitalization a person enters, and not to assume that relatives share a family name. This tool follows the same lines: it never rewrites capitalization and never invents a missing part.

So treat the output as a good first pass. For a large file, sort by the last-name column and read the first and last few hundred rows, where odd cases cluster, and fix those by hand before you load the file.

## Using the output

The copy button gives tab-separated text with a header row. Paste it into a spreadsheet and each field lands in its own column. The download button gives a CSV with the same five columns, with quotes handled so a name that contains a comma or a quote mark stays in one cell. Spreadsheet programs also have formulas that cut text at spaces, but those cannot read "Last, First" order, titles or particles, which is the reason to use a splitter.

## Worked example

Input:

```
Dr. Grace M. Hopper
Lovelace, Ada Augusta
Jan van der Berg
Alan Turing Jr.
```

Result:

```
Dr. Grace M. Hopper
  prefix: Dr. | first: Grace | middle: M. | last: Hopper | suffix: -
Lovelace, Ada Augusta
  prefix: - | first: Ada | middle: Augusta | last: Lovelace | suffix: -
Jan van der Berg
  prefix: - | first: Jan | middle: - | last: van der Berg | suffix: -
Alan Turing Jr.
  prefix: - | first: Alan | middle: - | last: Turing | suffix: Jr.
```

## Limits

- Names are split by position and by word lists, not by understanding the person. Names that put the family name first without a comma, as in Chinese, Japanese, Korean and Hungarian names, come out in the wrong order unless you type a comma.
- In some cultures a person has one given name followed by a patronymic, as in "Isa bin Osman". The tool treats "Isa" as the first name and "bin Osman" as the last, which suits a database but is not how that person would be addressed.
- A middle name that is a surname particle, or a two-word first name such as "Mary Ann", cannot be told apart from a middle name. The tool puts the extra word in the middle column. Review rows that matter.
- The lists of titles, credentials and particles are ours and cover common ones. A word on none of them stays in the name. Words that are also real names, such as "Major" and "Do", are left out of the lists on purpose.
- Cells that begin with =, +, - or @ get a leading apostrophe in the copy and the download, so a spreadsheet shows them as text and does not run them as formulas.

## Questions

**How does the tool decide which word is the last name?**

The last word is the last name, plus any surname particles right before it, such as "van der" or "de la". In a name with a comma, such as "Hopper, Grace", the text before the comma is the last name.

**What happens to titles like Dr. and credentials like Ph.D.?**

Titles at the start go to the prefix column and credentials at the end go to the suffix column, so they never end up in the first or last name. Dots are ignored when matching.

**How many names can I split at once?**

Up to 10,000 per run in bulk mode. If you paste more, the tool says so and does nothing, rather than silently splitting only part of the list.

**Why did my name come out with the first and last name swapped?**

The tool reads the first word as the first name unless there is a comma. If your list writes family names first without a comma, add one after the family name, or reorder the column before splitting.

**Can I download the result?**

Yes. Download CSV gives a file with prefix, first, middle, last and suffix columns. Copy gives the same table as tab-separated text that pastes straight into a spreadsheet.

**Will a spreadsheet run a name that starts with an equals sign?**

No. A cell that starts with =, +, - or @ gets a leading apostrophe in the copy and the CSV, so it opens as plain text and not as a formula.

## Sources

- [W3C Internationalization, Personal names around the world](https://www.w3.org/International/questions/qa-personal-names) (read 2026-10-18)

## Related tools

- [Email name generator](https://coldagentai.com/tools/email-name-generator.md)
- [email-pattern](https://coldagentai.com/tools/email-pattern.md)
- [Remove duplicate emails](https://coldagentai.com/tools/remove-duplicate-emails.md)
- [Email extractor](https://coldagentai.com/tools/email-extractor.md)
- [Company email format](https://coldagentai.com/tools/company-email-format.md)

## Related

- [Free cold email tools](https://coldagentai.com/tools.md)
- [Email name generator: username ideas](https://coldagentai.com/tools/email-name-generator.md)
- [Email pattern generator](https://coldagentai.com/tools/email-pattern.md)
- [Remove duplicate emails from a list](https://coldagentai.com/tools/remove-duplicate-emails.md)
- [Email extractor: pull addresses from text](https://coldagentai.com/tools/email-extractor.md)
- [Company email format finder](https://coldagentai.com/tools/company-email-format.md)
