Remove Duplicate Lines
Remove duplicate lines from your text while preserving the order of first occurrences.
Enter text and click the button to remove duplicates
About this tool
Clean up lists by keeping only the first occurrence of each line. The original order stays the same, which makes this useful for email lists, keywords and log files.
How to use it
- Paste your list with one item per line.
- Press Remove Duplicates.
- Check the count of removed lines and copy the result.
Frequently asked questions
Is it case-sensitive?
Yes. “Apple” and “apple” count as different lines. Convert the text to lowercase first if you want them treated as the same.
Why are some duplicates not removed?
Lines may differ in trailing spaces. Clean them with the text cleaner, then try again.
How do I remove duplicates from a comma-separated list?
Use the list converter, which has a remove-duplicates option for any separator.