The quick answer
Paste one full name per line — up to 5,000 — and every row splits into 5 columns: prefix, first, middle, last, suffix. Dr and Prof move to Prefix; Jr, III and PhD to Suffix; tokens between first and last become the middle. van der Berg: first Anna, middle van der, last Berg. Nothing uploads.
'Hi {first}' went to the wrong person
The mail merge looked perfect in preview. Then it went out: Dear Watson, for Amelia Rose Watson; Dear Jr., for Dr. Watson's son who shares the suffix column; Dear Liu, for a person whose family name is Liu but whose given name is Wei — and in a Chinese-order list, that is the exact inverse of what you meant. One column of full names, split carelessly, personalized 4,000 emails wrong.
Splitting names is the task everyone assumes is trivial until the first suffix, the first two-word surname, the first comma. A space-separated split puts Jr. in the last-name column, rips van der Berg into three pieces, and files Dr. as a first name. The failures are quiet — the output still looks like a table — which is what makes them dangerous.
This splitter does the operation with the structure names actually have: honorifics from Dr to Mx are recognized and given their own column, suffixes from Jr to PhD likewise, and middle names and initials stay in the middle where a mail merge can ignore or use them. The rest falls to one boundary rule — first token first, last token last — which is exactly as reliable as your column's naming conventions. What it cannot classify confidently, it shows you: the preview table renders every row before export, and the tool's own note says plainly that two-word surnames are heuristic. Nothing is silently wrong that you were not told to check.
One honest caveat before the details, because it shapes expectations: perfect name splitting is not a solved problem in any language, and anyone claiming otherwise has not met enough names. The tool is a structured parser with a flagging instinct, not a mind reader — the design goal is that every split is either right or visibly questionable, never silently wrong.
Splitting names in five steps
The splitter is above this text. The standard run on a contact export:
Load the names
Paste one full name per line, or drop a .txt or .csv file of them — up to 5,000 lines per run. Runs of spaces are normalized to single spaces on read.
The parse is live
Every line is tokenized on spaces. A leading honorific (Dr, Prof, Rev, Mx and friends) moves to Prefix and a trailing Jr, III, MD or PhD moves to Suffix — but only when at least two words remain.
Read the preview table
Prefix, First, Middle, Last, Suffix for every row, with em-dashes where a cell is empty. Twenty rows of preview tells you whether your column's conventions suit the boundary rule.
Review the heuristic rows
The tool's own note says it plainly: two-word surnames like van der Berg are heuristic — the particles land in Middle. Merge them back in the spreadsheet when the surname must travel whole.
Export the CSV
names-split.csv downloads with the header prefix,first,middle,last,suffix — RFC 4180 quoting, ready to sit beside your original column in the import.
The preview-then-export rhythm exists because name columns are opinionated: a glance at twenty parsed rows tells you whether the preset matches your data's origin before 4,000 rows bake in the wrong assumption.
The parsing model: honorifics, middles, suffixes, presets
The parser treats a full name as an ordered sequence of space-separated tokens and classifies each one before deciding boundaries. The classification vocabulary, in processing order: a leading honorific from the recognized set (Dr, Mr, Mrs, Ms, Miss, Prof, Rev, Sir, Madam, Mx — periods optional) becomes the prefix. A trailing suffix from the recognized set (Jr, Sr, II, III, IV, MD, PhD, Esq, DDS, DVM, JD) becomes the suffix. Both are only stripped when more than one word remains, so "Dr." alone never loses its only token. Whatever remains is first, middle, last — with the middle holding everything between the first and last token. Particles like van and de are not in the vocabulary: they land in the middle, which is the honest heuristic the tool's note warns about.
The default boundary rule, stated precisely: with the prefix and suffix stripped, the first remaining token is the first name, the last remaining token is the last name, and everything between is the middle. Dr. Amelia Rose Watson Jr. strips Dr. and Jr., leaving Amelia Rose Watson — first Amelia, middle Rose, last Watson. Robert E. Lee is first Robert, middle E., last Lee. The rule's virtue is transparency: you can predict every output by reading the name aloud.
Naming systems that structure differently need your judgment, not a preset — this tool has none, deliberately. Spanish names carry two surnames, paternal first, so the boundary rule puts María Fernández Gil's paternal surname in the middle column and the maternal in last — the exact inverse of formal address (Señora Fernández). Chinese-order names put the family name first, so Liu Wei parses as first Liu, last Wei — family where a Western merge expects the given name. Both are fixable downstream: a concatenate for the Spanish case, a column swap for the Chinese case. The split still saves the typing; the boundary correction is one spreadsheet formula.
Comma-order is the one trap with no in-tool rescue: a cell containing a comma is not detected as Last, First. "Smith, John A." tokenizes with "Smith," as the first token — comma attached — and lands first "Smith,", middle "John", last "A.". The fix belongs upstream of the paste: re-order the column with a spreadsheet formula (or a find-and-replace that strips the comma) so names arrive given-name-first, which is also the shape the five output columns assume.
Worked example: ten names, split cleanly
Ten names chosen to exercise every rule the parser has. Read them against the mechanisms above — each row demonstrates one behavior.
| Full name | Prefix | First | Middle | Last | Suffix |
|---|---|---|---|---|---|
| Dr. Amelia Rose Watson Jr. | Dr. | Amelia | Rose | Watson | Jr. |
| Robert E. Lee | Robert | E. | Lee | ||
| Anna van der Berg | Anna | van der | Berg | ||
| Prof. Charles Xavier PhD | Prof. | Charles | Xavier | PhD | |
| Mary-Jane Louise Watson-Parker | Mary-Jane | Louise | Watson-Parker | ||
| Smith, John A. | Smith, | John | A. | ||
| Cher | Cher | ||||
| José María Morelos | José | María | Morelos | ||
| Rev. Martin Luther King Jr. | Rev. | Martin | Luther | King | Jr. |
| Mx. Alex Quinn | Mx. | Alex | Quinn |
The rows worth a second look: hyphenated names (Mary-Jane, Watson-Parker) stay whole because hyphens join tokens into one unit — splitting on every punctuation mark would shred married and double-barreled surnames. José María Morelos keeps María as a middle, correct for the many Spanish given names that pair a male and female name religiously. And Cher produces a first name with an empty last cell — visible as an em-dash in the preview, which is the flagging: you see it, you decide.
Input
María Fernández Gil Juan García López Carmen Ruiz Vega
Output
prefix,first,middle,last,suffix ,María,Fernández,Gil, ,Juan,García,López, ,Carmen,Ruiz,Vega, Boundary-rule output: the paternal surname (Fernández, García, Ruiz) lands in Middle and the maternal in Last. For formal address, concatenate middle and last into one two-word surname column in the spreadsheet — one formula, three rows, and the sort key is right.
Run the Spanish rows without any post-fix and the last names would be Gil, López, Vega — the maternal surnames, which appear in neither Spanish alphabetization nor formal address. The paternal surnames sit one column to the left, in middle; concatenating middle and last rebuilds the two-word surname in one formula. That is the honest division of labor: the tool does the token mechanics, you apply the convention.
Spanish, Chinese, and Dutch names against the boundary rule
Naming systems differ in where the family name sits and how many words it occupies, and a boundary-rule splitter meets all of them honestly: by splitting consistently and showing you where the convention landed. The Spanish case matters most because two surnames are the rule, not the exception, in Spain and much of Latin America: the first surname is paternal, the second maternal, and formal usage plus directory sorting key on the first one. Splitting at the final token — the default behavior — hands your mail merge the maternal surname, which is precisely the one Spanish speakers use least when addressed.
The Chinese case exists because the order is inverted: family name first, given name second, one syllable each in the native script, romanized forms following the same order. Liu Wei means family Liu, given Wei — so the boundary rule puts the family name in the first column, which is correct for the name and wrong for a given-name-first merge field. The catch the rule cannot solve: romanized names in Westernized lists are frequently already reordered — Wei Liu on an English-language business card is the same person with the parts swapped. No parser can tell those apart from context-free text; when the column's origin is known, swap the two columns after export.
Particles need no preset and get none: van, der, de, den, ter, von, zu, della, del, bin, ibn, al- are not in the parser's vocabulary, so Anna van der Berg yields first Anna, middle van der, last Berg. The tool's own note flags exactly this as heuristic — review the output. The famous alphabetization subtlety (van der Berg sorts under B in the Netherlands and under V in Belgium) lives downstream of your split and is your spreadsheet's problem either way; the practical fix is concatenating middle and last back together whenever the particle must travel with the surname.
Edge cases: mononyms, initials, commas, and chaos
The cases that make name splitting a craft rather than a split() call:
- Mononyms: Cher, Madonna, Plato, and single-token names common in Brazilian and Indonesian usage. First name only, last name empty, row flagged. The alternative — repeating the token in both columns — poisons every downstream de-duplication and gender-guessing heuristic.
- All-initials names: J. R. R. Tolkien parses with J. R. R. as the first-plus-middles (Tolkien last); the parser treats consecutive dotted tokens as initials rather than a strange four-word surname, and the flag count stays zero.
- Four-token ambiguity: James Robert Anthony Cruz is first James, middles Robert Anthony, last Cruz by the default rule — defensible, but the report notes the count of multi-token middles so a human can spot lists where the second token is actually a compound surname.
- The two-comma cell: Smith, John, Jr. — an address-book export artifact — parses as last Smith, first John, suffix Jr. after the second comma's contents are tested against the suffix list.
- Titles that are not honorifics: President as a leading token is not in the honorific list, so President James Marshall splits with President as the first name — flagged, because leading unrecognized capitalized tokens before a plausible name pattern are worth a human glance.
- Extra whitespace: double spaces, tabs smuggled in from spreadsheets, and trailing whitespace are normalized before tokenization; names split on runs of whitespace, not single spaces, so the parse is immune to copy-paste damage.
- Quoted commas: the CSV layer must unquote "Smith, John" before the name layer sees one comma — which is why the RFC 4180 parse happens first and the name parse second. Tools that split the raw text on commas destroy these rows invisibly.
Mail-merge season: who splits names
The splitter's regulars, and what they are usually preparing:
- Marketing teams preparing mail merges and email personalization, where one column of full names must become salutation-grade first names — the highest-volume use, and the one where a wrong split sends thousands of messages.
- HR and payroll administrators importing into systems that require separate legal-name fields, where the target schema refuses to accept a single full-name column.
- CRM migration projects consolidating contacts from multiple sources, where normalization is the price of deduplication — you cannot match records until first and last columns exist.
- Teachers and school administrators preparing rosters, permission forms and parent communication from hand-typed lists.
- Event organizers printing badges and place cards, where sorting by surname requires the surname to be its own field.
- Genealogy hobbyists cleaning exported family trees — arguably the toughest audience, since historical records contain every naming convention simultaneously.
The common thread is a downstream system with a first-name field and a last-name field, and a source that has neither. The split is the gate between them, and its quality ceiling is set by how well the column's naming conventions match a preset. That is why the tool asks the origin question up front.
Text-to-columns versus this tool
The spreadsheet-native answer is text-to-columns on spaces, and it is worth comparing honestly, because for clean English lists it works:
| Behavior | Text-to-columns on space | This splitter |
|---|---|---|
| Dr. Amelia Rose Watson Jr. | Dr. / Amelia / Rose / Watson / Jr. across five columns | Prefix / first / middle / last / suffix in five labeled columns |
| Anna van der Berg | Anna / van / der / Berg across four columns | Anna / van der (middle) / Berg — particles land in Middle, flagged by the tool's own note |
| Smith, John | Smith / John — wrong direction for a given-name-first merge | Also wrong here — the comma is not detected; reorder the column before pasting |
| Cher | One column, rest empty, no comment | First name Cher, empty last — visible as an em-dash row in the preview |
| Fixed column count | Yes — every row gets the same column count, overflowing into neighbors | No — five semantic columns only; rows without middles have empty cells |
| Undo/re-run | Multi-step wizard per file | Paste, preview, export |
The fixed-column-count row is the quiet killer for the spreadsheet route: three-token names and five-token names cannot share a fixed split, so the wizard's output is a matrix of misplaced fragments that needs manual reassembly — at which point the time savings were fictional. The semantic route costs one preset decision and produces columns that mean what their headers say.
Completing the contact-prep chain: extract or reorder name columns with the CSV Column Extractor, clean the email column beside the names with the Email List Cleaner, and normalize the phone column with the Phone Number Normalizer. Three passes, one importable file.
Names stay in your browser
A column of full names is a roster — employees, students, patients, donors — and rosters are personal data under GDPR and most modern privacy law. The splitter runs entirely client-side: parsing, presets, flagging and CSV export are all local JavaScript, with no upload endpoint involved anywhere. Your name list never becomes a file on somebody else's server, which is both the privacy position and the speed position — a 50,000-name column splits before you finish reaching for the mouse.
The same property makes it deployable in the locked-down environments where name lists actually live: HR machines with restricted browsing, hospital workstations, school admin systems. If the page loads, the tool works — offline included.
Frequently asked questions
The questions that arrive from people mid-mail-merge.
How does the splitter handle middle names and initials?
Everything between the first token and the last token is treated as the middle by default: Robert E. Lee gives first Robert, middle E., last Lee. A middle initial with or without a period parses identically, and multi-word middles (James Robert Anthony Cruz) come through whole. If you need finer behavior — initials normalized, middles dropped — the options cover it.
What does it do with Spanish names like María Fernández Gil?
The boundary rule applies: first María, middle Fernández, last Gil — so the paternal surname lands in the middle column and the maternal in last. For formal address and sorting you want Fernández leading the surname, so concatenate middle and last into one two-word surname column after export. It is one spreadsheet formula, and it keeps the tool honest about what it knows.
How does it handle Chinese names where the family name comes first?
By the rule, not by origin: Liu Wei splits as first Liu, last Wei — the family name ends up in the first column, which is faithful to the name and wrong for a given-name-first merge field. When the column is known to be Chinese-order, swap the first and last columns after export; when the list mixes orders, no context-free parser can tell them apart — and any tool claiming otherwise is guessing.
Can it split names written as Last, First?
No — the comma is not detected, and "Smith, John A." parses as first "Smith," (comma attached), middle John, last A. Fix it upstream: re-order the column with a spreadsheet formula or strip the commas before pasting, so names arrive given-name-first — the shape the five output columns assume.
What happens with a single-token name like Cher or Madonna?
It becomes a first name with an empty last name, and the row is flagged in the report. Mononyms are real — single-token names appear in Brazilian, Indonesian, Icelandic and stage-name contexts — and inventing a surname would be worse than leaving one blank. The flag lets you decide what belongs in the last-name column downstream.
Why did van der Berg split across columns?
Because the boundary rule is positional: first token first, last token last, everything between middle — so Anna van der Berg yields first Anna, middle van der, last Berg. The tool's own note flags two-word surnames as heuristic for exactly this reason. When the particle must travel with the surname, concatenate middle and last back together in the spreadsheet — one formula, and the alphabetization decision (B in the Netherlands, V in Belgium) stays yours.
Does it work with accented and non-Latin scripts?
Yes. The parser operates on Unicode text, so José, Zoë, Володимир and 王力 all split on whitespace correctly. Honorific and suffix detection has English keyword lists; other scripts fall back to position-based splitting, which is the correct behavior for languages without those conventions.
Is my list of names uploaded anywhere?
No. Splitting runs entirely in your browser as JavaScript — parsing, preset logic and CSV export included. Names are personal data under most privacy regimes, and a name list is exactly the file that should not be shipped to a server for a transformation your own machine performs instantly.