Remove duplicate lines

Removes repeated lines from a list and keeps the first occurrence of each – the original order is preserved.

What you enter is processed in this browser only and is not transmitted.

Loading tool …

How it works

  1. Paste your list, one entry per line.
  2. Choose whether to ignore case and spaces at the edges.
  3. Click “Remove duplicates” and copy the cleaned list.

Notes and limitations

  • The order is kept; use “Sort lines alphabetically” afterwards if you want it sorted.
  • With “Ignore case”, “[email protected]” and “[email protected]” count as the same.
  • Works with many thousands of lines.