FAQs
Does it change the order of my lines?
No. Lines keep their original order. With "First occurrence" each repeated line stays where it first appeared. With "Last occurrence" it stays where it last appeared.
Are lines with different capitals duplicates?
Not by default. Tick "Ignore upper and lower case" to treat Apple and apple as the same line.
What happens to empty lines?
By default empty lines are treated like any other line, so only one is kept. Tick "Remove empty lines" to delete them all.
Can I see which lines were removed?
The page shows how many lines were removed. To inspect them, compare the input and output side by side, or sort the input first with the Line Sorter so repeats sit next to each other.
How large a list can I use?
Hundreds of thousands of lines work in a modern browser. Input above two million characters is rejected to protect your browser.
Is my list uploaded?
No. The page works in your browser and sends nothing to a server.
About this tool
Duplicate Line Remover cleans up lists of emails, keywords, URLs, names, log lines and anything else that is one item per line.
It performs exact comparison with the options you choose. It does not guess which lines are similar.
Privacy
Your text is processed by JavaScript in your browser tab. It is not sent to us or anyone else, and it is not saved. It is still visible to you and to any browser extensions you use, so clear it on shared computers. Read the policy.