Remove Duplicate Lines

Paste one item per line. The first copy of each line is kept and the rest are removed.

How to remove duplicate lines

  1. Paste your list with one item on each line.
  2. Choose whether capital letters should be ignored and whether spaces around each line should be trimmed.
  3. Press Remove duplicates and copy the cleaned list.

Good to know

The first copy of every line is kept and later copies are removed, so your order stays the same. The tool does not sort the list. Empty lines count as lines too, which means only the first empty line is kept.

This is useful for cleaning email lists, keyword lists, URLs, product codes and names copied from several sources. Turn on “Ignore upper/lowercase” if “Apple” and “apple” should count as the same item.

Frequently asked questions

Which copy of a duplicate is kept?

The first time a line appears it is kept. Later copies are removed and the order stays the same.

Can I ignore capital letters?

Yes. Check “Ignore upper/lowercase” so “Apple” and “apple” count as the same line.

More free tools