Clean a file

How to Dedupe a List When Names Are Spelled Differently

Your list holds one man four times: William Carter, Bill Carter, W. Carter, and Willaim Carter. A human sees one man at a glance. A strict tool sees four strangers. Name variants are the single biggest reason dedupe fails, and they are the focus of this guide.

Names vary for kind reasons. People use nicknames. Clerks type what they hear. Forms split names in odd ways, or swap first and last. None of it is fraud. It is just how names live in the wild. Your dedupe has to meet names where they live.

The method here has two sides. Catch more of the true pairs, and guard against the false ones — two real people who share a name. If you want the base case first, read why exact-match dedupe misses most duplicates and then come back for the name craft.

One scope note: this guide is about names of people and firms in business lists — clients, members, donors, leads. It is not about matching names across languages or scripts, which is a deeper craft with its own rules. If your list is in one language and one script, the method here will carry you a long way. Start with the five kinds of variants below and see how many of your pairs fall into place.

The five kinds of name variants

Most variants fall into five kinds. First, nicknames: Bill for William, Liz for Elizabeth, Jim for James. Second, typos: one letter wrong, added, dropped, or swapped. Third, initials: W. Carter for William Carter. Fourth, field swaps: “Carter, William” in one row and “William Carter” in the next. Fifth, suffixes and titles: Jr., Dr., and firm words like Inc. that come and go.

Variant kindExample pairWhat catches it
NicknameWilliam / Bill CarterNickname-aware scoring
TypoWillaim / William CarterLetter-level similarity
InitialW. Carter / William CarterMatching on last name plus initial
Field swapCarter, William / William CarterSet name order before matching
Suffix or titleCarter Jr. / CarterStrip titles and suffixes first

Knowing the kinds matters because each needs a different fix. A tool that only fixes typos will still miss every Bill. A tool that only knows nicknames will miss every typo. Good dedupe layers the fixes: tidy the forms, then score the pairs with letter-level and sound-level tests, then ask for more proof when the name alone is not enough.

Step 1: tidy the names before you compare them

Tidying is cheap and safe. Make all names small letters for the test, even if you keep the fine form for display. Trim extra spaces. Drop titles and suffixes — Dr., Jr., III — since they say nothing about who the person is. Split “Last, First” into the same order as the rest of your list. Strip firm suffixes like Inc. and LLC from firm names.

None of this changes who you mail or bill. It changes the copy you test. Keep the best display form on the survivor row, and run the match on the tidied form. Many “hard” duplicates turn out to be plain ones once the forms line up. This is the same normalization step that fixes phones and emails, applied to the field that varies the most.

Be careful with one trap: do not “fix” a name into a guess. If a row says “W. Carter,” do not expand the W to William in the data, even if you are sure. You may be wrong — it could be Walter. Expand for the test if you must, but keep the true form in the record. Records should hold what you know, not what you infer.

Tidying has one more quiet win: it makes groups smaller and cleaner. Raw lists throw up huge, mixed groups — twenty rows tied by one common last name. After tidying, most false ties fall away, and the groups that remain are small and true. Review gets faster not because you rush, but because there is less noise to wade through. Ten minutes of tidying can save an hour of review.

Step 2: score names by how alike they look and sound

After tidying, score each pair of names. A letter-level score counts how many small edits turn one name into the other. “Willaim” to “William” is one swap — a very high score. “William” to “Wilson” needs more edits — a mid score. A sound-level test adds a second view: names that sound alike when spoken, like “Katherine” and “Catherine,” score high even when the letters differ at the start.

Diagram: five written forms of one name — full name, nickname, initial form, swapped order, and a typo — all point to one person.William CarterBill CarterW. CarterCarter, WilliamWillaim CarterONEPERSONfive ways to write one name
Five ways to write one name. Scoring plus extra proof groups them as one person.

Nicknames sit outside both tests. Bill and William share few letters and do not sound alike. Tools that know common nicknames can score them as kin; tools that do not must lean on other fields. That is fine. The name score is one voice in the call, not the whole call — which brings us to the proof rule.

Step 3: ask for a second proof when names are close

Here is the rule that keeps you safe: a close name alone is a hint, not a verdict. To merge two rows on a variant name, ask for one more match — the same email, the same phone, the same street, or the same firm. Two weak signs that point the same way beat one strong guess. And when the second proof clashes — same name, but a different town and a different phone — that clash is a sign too. Believe it.

This is how DedupeCSV is built: name scores ride on top of blocking by email, phone, and name sound, and a pair needs support from more than one field to group with high trust. Pairs with a close name and no support wait in the review queue with their reasons shown. If your list is name-heavy — no emails, few phones — the dedupe tool will still group the strong pairs and hold the rest for your eyes.

What about two rows with the same name and the same town, and nothing else? Treat them as “maybe,” not “merge.” Families share names. A father and son at one address, with one name between them, is a classic trap. When in doubt, keep both rows and add a note. A left duplicate costs a stamp. A wrong merge costs a client.

Firms are names too — and they vary the most

Firm names vary even more than people's names. “Acme Parts Inc.” is also “Acme Parts,” “ACME PARTS LLC,” and “Acme Parts Co.” Word order shifts. “The” comes and goes. On public business lists, one firm may appear in dozens of rows across years, with the name drifting a bit each time. If your list is firms, strip the legal suffixes, fold the case, and lean hard on address and phone as the second proof.

Firm lists are also where two lists from two sources clash the most. If you are joining lists from a shop, a fair, and a bought file, the column shapes differ too — our guide on deduping lists when the columns don't match covers the mapping step that has to come first.

A note on scale: firm lists from public sources can hold one firm in scores of rows — each year's license, each site's record, each with its own drift of the name. We see this in our own tests on city and state business lists. Hand review cannot carry that load. What carries it is blocking — grouping rows by a shared phone, street, or name sound first — so the scoring only runs inside small, likely sets. If your tool does not block, very large firm lists will crawl.

Middle names, maiden names, and other traps

Middle names cause a quiet kind of chaos. One row holds “Mary Ann Smith.” The next holds “Mary Smith.” A third holds “M. A. Smith.” The middle name comes and goes, and initials stand in for it half the time. Treat middle names as a hint, not a pillar: never require them to match, and never let their absence block a pair that agrees on first name, last name, and one more proof.

Maiden and married names are harder, because the last name itself changes. A woman signs up as “Kate Doyle,” marries, and next year she is “Kate Doyle-Reyes” or just “Kate Reyes.” No letter test will call Doyle and Reyes kin. The bridge is the other fields: the same email, the same phone, the same street. When those agree and the first name agrees, a changed last name is a life event, not a new person.

Hyphenated names split both ways. “Doyle-Reyes” may be filed as “Reyes,” as “Doyle,” or with a space in place of the dash. A good tidy step tests each part of a hyphenated name as a possible last name. Done by hand, that is slow. Done by a tool, it is a cheap rule that saves real pairs — the kind your best clients hide in when they marry, move, or simply fill a form in a new mood.

Then there are the household traps: two people, one home, names that rhyme with each other. A husband and wife share a last name, a street, and a landline. Their first names differ — that is your clash sign, so respect it. Shared contact fields prove a shared house, not a shared identity. This is why the second-proof rule asks for proof that fits the person, and why a firm “do not merge” on a strong first-name clash is wise.

Firm names have their own family of traps. Founders lend their names to firms: “Carter Plumbing” is a firm, and “Bill Carter” is its owner, and both may be rows in your list. Merging the man into the firm (or the firm into the man) tangles billing and mail at once. When one row looks like a person and the other looks like a firm, route the pair to a human. Some pairs are kin. Kin is not the same as identical.

The habit that survives all these traps is the one from step three: score the name, then ask for proof that fits, then believe clashes. Traps work by making two rows look more alike — or less alike — than the people behind them. Your job in review is to look past the label to the person. The tool's job is to bring you the pairs worth that look, with the reasons laid out plain.

A quick self-test for your list

Sort your list by last name and scan one letter's worth of rows. Count the variant pairs you can see: the Bills next to the Williams, the one-letter typos, the swapped fields. Most people find more than they expect in five minutes. That count is your case for taking names seriously: every one of those pairs is a person you mail twice, bill twice, or count twice.

Then check the opposite risk. Find your most common last name and look for pairs that share it but are not the same person. Note what sets them apart — first name, street, phone. Those are the clash signs your dedupe must respect. A good run catches the first group and spares the second. If a tool cannot show you both its merges and its reasons, it is asking for blind trust. Do not give it.

Names vary; people don't

A name is a label, and labels get smudged. Tidy the forms, score how alike names look and sound, and ask for a second proof before you merge. Do that, and the Williams, Bills, and W. Carters of your list fold into one row each — while the two real John Smiths stay two, as they should.

Once the names are grouped, the records still have to be merged with care. Removing duplicates without losing data shows the gap-filling merge that keeps every good fact from the rows you fold away.

Names will keep varying as long as people keep typing them. That is fine. Your list does not need perfect names. It needs a method that treats each name as a clue, not a verdict.

Sources and further reading


← All guides