How to remove duplicate lines
- Paste your list into the first box, one item per line.
- Choose whether lines that differ only in capitals or spacing count as duplicates.
- Copy the deduplicated list from the result box.
The first time a line appears, it stays. Every later copy is removed. Your list keeps its original order, which matters when the order means something, like a ranked list or a log. If you'd rather have it alphabetical too, run the result through the sort lines tool.
When lines count as duplicates
| Lines | Default settings | With both options off |
|---|---|---|
Apple and apple | Duplicate | Different |
apple and apple | Duplicate | Different |
green apple and green apple | Duplicate | Different |
Ignoring case is right for email addresses, names, keywords and most lists people type by hand. Turn it off for things where capitals matter, such as passwords, product codes or case-sensitive file paths.
Common uses
- Cleaning email lists before importing them into a newsletter tool
- Deduplicating keyword lists for SEO or ad campaigns
- Merging two lists and removing the overlap
- Finding the unique values in a column copied from a spreadsheet