Remove Duplicates from a List Free (Keep Order or Sort)
Paste a list of emails or names, tick Remove duplicates, and get each item once, free. Ignore capitals and stray spaces, and keep the original order.
Published · 5 min read
To remove duplicates from a list, paste it into the free alphabetizer with one item per line, tick Remove duplicates, and choose Keep order from the Sort menu if you want the list to stay in its original order. Each item then appears once, and the line under the buttons tells you how many duplicates were removed. With Ignore capitals and Trim spaces on (they are by default), Asha@Example.com and asha@example.com count as the same entry.
It's free, works with lists of any length you can paste, and your list never leaves your device, which matters when it's a list of customer emails or phone numbers.
How to remove duplicates from a list
- Open the free alphabetizer.
- Paste your list into Your list, one item per line. Copying a column from Excel or Google Sheets gives you exactly that.
- Tick Remove duplicates.
- In the Sort menu, pick Keep order to leave items where they were, or A to Z to sort them as well.
- Read the line under the buttons, for example "148 items, 23 duplicates removed."
- Click Copy result or Download .txt.
When a duplicate is removed, the first occurrence is kept and later ones are dropped. With Keep order, that means the list reads exactly as before, minus the repeats.
Why "the same" isn't always identical
Most duplicates in real lists aren't letter-for-letter copies. They differ in ways a computer notices and people don't. Here's a list of signups exported from two forms:
ravi@example.com
Asha@Example.com
asha@example.com
meera@example.com
ravi@example.com
Ravi@example.com
| Settings | Result | Duplicates removed |
|---|---|---|
| Ignore capitals on, Trim spaces on (default) | ravi@, Asha@, meera@ | 3 |
| Ignore capitals off, Trim spaces on | ravi@, Asha@, asha@, meera@, Ravi@ | 1 |
| Ignore capitals on, Trim spaces off | ravi@, Asha@, " asha@", meera@, "ravi@ " | 1 |
The defaults catch all three hidden repeats: a different capital letter, a leading space, and a trailing space you can't even see. The blank line is dropped too, because Remove empty lines is on by default.
When should you turn Ignore capitals off? When case really means something different, such as product codes where AB12 and ab12 are distinct, or passwords and case-sensitive IDs.
Keep order or sort?
Keep order when the sequence carries meaning:
- a sign-up list where earlier entries came first,
- a ranked shortlist,
- steps, playlist tracks or agenda items.
Sort A to Z when you'll scan or share the list:
- names for a register or certificate printing,
- email addresses for a mailing,
- tags or keywords.
Sorting also puts near-duplicates side by side, so you can spot entries the tool can't merge on its own, like Priya Sharma and Priya Sharma. or Mohd. Imran and Mohammed Imran. Our guide to sorting a list alphabetically explains the other sort options, including Natural for numbered items.
Lists that aren't one per line
If your list is comma-separated, like red, blue, Red, green, open Separators and numbering and set Items are separated by to Commas. You can also set Join the result with to Commas to get a single deduplicated line back. For other separators, such as semicolons, split the list into lines first, dedupe, then join it again with the free line break remover; our guide to turning a column into a comma-separated list shows how.
Finding which items were duplicates
The tool tells you how many duplicates it removed, not which ones. To see them:
- Copy your original list.
- Run it through with Keep order and Remove duplicates ticked, and copy the result.
- Paste the original on the left of the free text compare tool and the result on the right, then compare by Lines.
Every line shown as removed was a repeat. If you want to see who is in one list but not another, that's a different job: see finding the differences between two lists.
Common real-world lists
- Email lists before a mailing, so nobody gets the same message twice. Keep Ignore capitals on: email providers treat addresses as case-insensitive in practice.
- Attendance or registration names merged from several sheets. Sort A to Z afterwards and scan for spelling variants.
- Phone numbers. Make the format consistent first:
+91 98200 12345and9820012345won't match. Strip spaces and country codes in your spreadsheet, then dedupe. - Keywords and hashtags gathered from different sources.
- Roll numbers or order IDs. Turn Ignore capitals off if letters in the IDs are case-sensitive.
Doing it in a spreadsheet instead
Excel has Data > Remove Duplicates, and Google Sheets has Data > Data cleanup > Remove duplicates. They work well when you need to keep the other columns of each row. The browser tool is quicker for a plain list, and it handles stray spaces and capital letters without extra steps.
Clean up your list now
Paste it into the free alphabetizer, tick Remove duplicates, pick Keep order or A to Z, and copy the result. It's free, needs no sign-up, and the list stays on your device.
Frequently asked questions
- How do I remove duplicates but keep the original order?
- Tick Remove duplicates and choose Keep order in the Sort menu. The first time each item appears is kept, and later repeats are removed.
- Will "Apple" and "apple" be treated as duplicates?
- Yes, while Ignore capitals is ticked, which is the default. Untick it if capital letters make items different.
- Why didn't two entries that look identical get removed?
- They differ somewhere you can't see, often an extra space inside the text or a full stop at the end. Trim spaces only removes spaces at the start and end, so sort the list A to Z to put near-matches side by side and fix them by hand.
- Can I see which items were duplicates?
- The tool shows the number removed. To see the actual lines, compare your original list with the deduplicated one in the free text compare tool, by lines.
- Is there a limit to how long the list can be?
- There's no set limit; it handles lists of thousands of lines. Everything runs on your device, so very large lists depend on your device's speed.
Text tools
Try Sort List Alphabetically
Free, no sign-up, works in your browser. Put any list in alphabetical order, from A to Z or Z to A, sort by number or length, reverse or shuffle it, and remove duplicates and blank lines.
Also useful
- Text ComparePaste two versions of a text to see exactly what changed: removed text in pink, added text in green, side by side or inline. Compare by lines, words or characters, and ignore capitals or extra spaces when they don't matter.
- Remove Line BreaksPaste text copied from a PDF, email or website and remove the unwanted line breaks in one step. Join everything into one line, keep paragraph breaks, or join lines with a comma or any separator, and tidy extra spaces as you go.