Home › Text Tools › Remove Duplicate Lines

Remove Duplicate Lines

Paste a list and get every line once, in its original order.

Open a text file or paste below
  • Free & unlimited
  • No sign-up
  • Instant results

How to use the Remove Duplicate Lines

  1. Paste your list, one item per line.
  2. Choose whether to ignore case and spaces.
  3. Copy the unique lines.

How duplicates are found

Lines are compared one by one. The first time a line appears it is kept; later copies are removed, so the original order stays. With Ignore upper/lowercase, Apple and apple count as the same; with Ignore spaces, extra spaces at the ends do not matter.

Typical uses

Cleaning email lists, keyword lists, product codes, tags or URLs before you import them somewhere. Combine with Sort Lines to get a clean alphabetical list.

Frequently asked questions

Which copy is kept?

The first one. Later repeats are removed.

Is there a size limit?

No fixed limit. Lists with hundreds of thousands of lines work in a modern browser.

Is my list uploaded?

No. It is processed in your browser.

Related tools