Remove duplicate lines
Paste a list of emails, names, URLs or anything else, one per line, and every repeat is removed instantly. The first copy of each line stays, in its original order.
- Instant
- No signup
- Nothing uploaded
Paste. Done.
How to remove duplicate lines
- Paste your list into the left box, one item per line.
- Duplicates disappear from the right box straight away, with a count of how many were removed.
- Turn on Ignore case so “Alice” and “alice” count as the same, or Sort A–Z to alphabetise.
- Click Copy result.
Options
| Option | What it does |
|---|---|
| Ignore case | Bob@Example.com and bob@example.com count as the same line. The first one is kept. |
| Trim spaces | Spaces at the start and end of a line don't make it different. On by default. |
| Remove empty lines | Blank lines are dropped. On by default. |
| Sort A–Z | Sorts what's left alphabetically, with numbers in natural order (2 before 10). |
Removing duplicates in a spreadsheet instead
- Excel: select the column, then Data → Remove Duplicates.
- Google Sheets: Data → Data cleanup → Remove duplicates.
- Numbers: there's no built-in command. Copy the column, clean it here, and paste it back.
Questions
How do I remove duplicate lines from a list?
Paste the list above. Every line that appeared before is removed and the first copy is kept, in the original order. Copy the result with one click.
Does it keep the original order?
Yes. Lines stay in the order they first appear, unless you turn on Sort A–Z.
Is there a limit on list size?
No set limit. Lists of tens of thousands of lines are handled instantly, because everything runs in your browser.
Is my list uploaded?
No. Nothing leaves your browser, so it's safe for customer emails and other private lists.
Keep reading
- GuideHow to see your clipboard history on a MacWhere your Mac keeps what you copy, how to open the clipboard history built into macOS Tahoe's Spotlight, and what to use when you need more than the last few items.
- GuideHow to organize your clipboard history on a Mac automaticallySort what you copy on a Mac without doing it by hand: boards for clips you keep, and smart boards that collect links, screenshots, contact details or code by rules.
- GuideHow to paste several things at once on a MacThe Mac clipboard holds one thing. Here is how to queue several clips and paste them in order, fill a form field by field with Tab, or merge clips into one list.
- GuideEvery copy and paste shortcut on the MacEvery copy, cut and paste shortcut on the Mac, including pasting without formatting, moving files in Finder and copying a screenshot straight to the clipboard.