Remove Duplicate Lines

Paste a list and get back only the unique lines — in their original order.

Runs in your browser — nothing is uploaded

How to use Remove Duplicate Lines

  1. Paste your list, one item per line.
  2. Choose whether to ignore case, trim spaces or drop empty lines.
  3. Copy or download the cleaned list.

Questions

Which copy of a duplicate is kept?

The first occurrence is kept and later repeats are removed, so the original order is preserved.

Can I treat “Apple” and “apple” as the same?

Yes — untick “Case sensitive”. The first spelling that appears is the one kept.