Home / Text Tools / Duplicate Line Remover

๐Ÿงน

Duplicate Line Remover

Paste any list, one item per line. Duplicate lines are removed while keeping the first occurrence's position.

How duplicate removal works

Each line of your input is compared against the lines seen so far. The first time a line appears, it's kept; every later repeat of that same line is dropped. The order of the remaining unique lines is preserved exactly as in your original list.

Will this reorder my list?
No โ€” unique lines stay in their original order. Only the repeated lines are removed.
What counts as a "duplicate"?
By default, lines must match exactly, including capitalization. Turn on "Treat different capitalization as duplicates" to ignore case when comparing.