Remove Duplicate Lines

Paste a list and get it back with every repeated line removed. Sort it and drop empty lines in the same step.

Runs in your browser. Nothing is uploaded.
0Lines in
0Lines out
0Duplicates removed

Report a problem with this tool

How to remove duplicate lines

  1. Paste your list into the first box, one item per line. Email lists, keywords, URLs and product codes all work.
  2. Pick the options you need. The result updates as you type.
  3. Copy the result or download it as a text file.

How duplicates are matched

Two lines count as duplicates when they are exactly the same. The first copy stays where it was and later copies are removed, so the original order is kept unless you choose to sort.

Turn on Ignore upper and lower case to treat "Apple" and "apple" as the same line, which is useful for email addresses. Ignore spaces at the start and end catches copies that differ only by a stray space, a common problem with lists pasted from spreadsheets.

Frequently asked questions

Is my list uploaded?

No. Everything happens in your browser, so customer emails and other private lists stay on your device.

Which copy is kept?

The first one. If a line appears on rows 3 and 10, row 3 stays and row 10 is removed.

How many lines can it handle?

Hundreds of thousands of lines work on most computers, and the result appears almost instantly.

More free tools