Remove Duplicate Lines & Sort Lines · Tutorial
How to remove duplicate emails from a mailing list
4 min readbeginnerUpdated
You've combined sign-ups from a website form, an event and a spreadsheet, and you don't want anyone to receive the same email twice. Some addresses appear more than once, sometimes with different capitalisation or stray spaces. This tutorial shows how to get a clean list of unique addresses in a few seconds.
What you need
- The Remove Duplicate Lines & Sort Lines
- Your email addresses, one per line (the Try it button loads a short list)
Steps
Combine the lists
Copy the email column from each source and paste them one after another into the left box, so there's one address per line. You can also open a .txt or .csv file that contains only the addresses.
Keep the default options
Leave Case-sensitive off, because email addresses are almost always delivered regardless of capitalisation. Keep Ignore spaces at line ends and Remove empty lines on.
Check the result
The message reports how many lines were kept and removed. In the sample, 10 lines become 5 unique addresses.
Amara.Okafor@example.comwas recognised as a duplicate ofamara.okafor@example.com, andsam.rivera@example.com(with a leading space) as a duplicate of the clean version.amara.okafor@example.com lee.chen@example.org priya@example.net sam.rivera@example.com mei.tanaka@example.jpExport the clean list
Press Copy and paste the list back into your spreadsheet or email tool, or Download it as a text file for import.
Try it yourself
Opens the Remove Duplicate Lines & Sort Lines with this tutorial's sample loaded.
Common mistakes
- Turning on Case-sensitive for emails
- With case-sensitive matching,
Amara.Okafor@andamara.okafor@count as different, so the same person stays on the list twice. - Pasting whole rows
- If each line contains a name and an email, two rows for the same person with different names won't be seen as duplicates. Paste only the email column.
- Forgetting consent
- Removing duplicates doesn't check that everyone agreed to receive email. Make sure each address on the list opted in.
Next steps
Go back to the Remove Duplicate Lines & Sort Lines, or keep going with one of these:
FAQ
Is my mailing list uploaded?
No. The list is processed in your browser and never sent anywhere.