About the Remove Duplicate Lines
Lists copied from spreadsheets, emails, logs or exports often contain the same entry several times. This tool removes repeated lines and keeps the first occurrence of each, preserving the original order unless you choose to sort. It can ignore differences in capitalization, trim stray spaces and drop empty lines. Sorting follows the alphabetical rules of your language and puts numbers in natural order (2 before 10).
How to use it
- Paste your list with one item per line.
- Choose the options: ignore case, trim spaces, remove empty lines and sort order.
- Check the counts to see how many duplicates were removed.
- Copy the cleaned list or download it as a text file.
Frequently asked questions
Which copy of a duplicate is kept?
The first occurrence is kept and later repeats are removed, so the original order is preserved unless you choose to sort.
How does “Ignore case” work?
When enabled, “Apple”, “apple” and “APPLE” are treated as the same line, and the first spelling found is kept.
Is there a size limit?
There is no fixed limit. Lists with hundreds of thousands of lines work in most browsers, because everything is processed locally on your device.