TEXT TOOL

Duplicate Line Remover

Remove duplicate lines from any list, keeping the first occurrence.

Lines removed

About this tool

Paste any list of lines and instantly remove duplicates, keeping the first occurrence of each. Useful for cleaning up email lists, keyword lists, or any line-separated data before importing it elsewhere.

Frequently asked questions

Which occurrence is kept when there's a duplicate?
The first one — later duplicate lines are removed, and the original relative order of the remaining lines is preserved (unless you enable sorting).
What does "ignore case" do?
Treats lines like "Apple" and "apple" as duplicates of each other. The first-seen casing is kept in the output.
Does this remove empty lines?
Blank lines are treated like any other line — repeated blank lines collapse to one, consistent with the rest of the deduplication logic.