What does removing duplicate lines do?
It scans a list from top to bottom and drops any line that has already appeared, keeping the first occurrence in its original place. The order of what remains does not change, so the result is the same list without repeats.
You decide what counts as a duplicate. By default lines must match exactly, so Apple and apple are different. Turn on "Ignore case" and they match. Turn on "Ignore spaces around lines" and "apple " with a trailing space matches "apple". The tool reports how many duplicates were removed and how many lines were kept.
How to use the Remove Duplicate Lines
- Paste your list, one item per line.
- Choose whether case should matter.
- Choose whether to ignore spaces around lines.
- Copy the cleaned list and read the count.