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

Steps

  1. 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.

  2. 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.

  3. 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.com was recognised as a duplicate of amara.okafor@example.com, and sam.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.jp
  4. Export 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.

Try it now

Common mistakes

Turning on Case-sensitive for emails
With case-sensitive matching, Amara.Okafor@ and amara.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.