Remove duplicate lines from a list
Paste a list and get it back with every repeat removed, keeping the first occurrence of each line. Useful for email lists, keyword exports and log files.
Runs entirely in your browser — nothing is uploaded.
How to use
- Paste your list. One item per line.
- Choose how to compare. Turn off case sensitivity to treat "Apple" and "apple" as the same line. Leading and trailing spaces are ignored when comparing.
- Read the count and copy. The tool reports how many lines it removed and how many unique ones remain.
Questions
Which duplicate is kept?
The first occurrence, in the original order. The remaining lines stay in the order you pasted them unless you switch on sorting.
Are "Apple" and "apple" duplicates?
Only if you turn off case sensitivity. By default they are treated as different lines.
What about lines that differ only in spacing?
Leading and trailing whitespace is ignored when comparing, so " apple" and "apple" are treated as the same line. Differences in the middle of a line still count as different.
Is there a size limit?
Only your device’s memory. Lists of tens of thousands of lines are fine on a normal laptop, because the work happens locally rather than being uploaded.