Remove Duplicate Lines
Paste a list and get it back with every repeated line removed, in the same order. Useful for email lists, phone numbers, names and keywords.
How to remove duplicates
- Paste your list with one item on each line.
- Choose whether capitals and spaces at the ends should count.
- Copy or download the cleaned list.
Typical uses
- Cleaning a contact or email list before sending.
- Merging lists from two spreadsheets without repeats.
- Tidying keyword lists, tags or product codes.
Want them in order as well? Use Sort lines.
Frequently asked questions
How do I remove duplicate lines?
Paste your list, one item per line, in the left box. The right box shows the list with every repeated line removed, and says how many were removed.
Which copy of a repeated line is kept?
The first one. The order of your list does not change; later repeats are simply left out.
Are "Apple" and "apple" duplicates?
Only if you tick "Ignore capitals". By default, lines must match exactly. Spaces at the start and end of a line are ignored by default; untick that option to compare them too.
Can I also sort the list?
Yes, with Sort lines, which can remove duplicates and sort A to Z in one go.
Is my list uploaded?
No. Everything happens in your browser, so lists of email addresses or phone numbers stay private.
More text tools
Word counter
Count words, characters, sentences and reading time.
Case converter
UPPER, lower, Title and Sentence case in one click.
Remove extra spaces
Clean up double spaces and empty lines.
Sort lines
Sort lines A to Z, Z to A or by length.
JSON formatter
Format, check and minify JSON, and see where an error is.