Remove duplicate lines

Delete repeated lines from a list and keep each one once.

  • Content
  • 100% free
  • No sign-up
  • Runs in your browser
Remove duplicate lines

What is the remove duplicate lines?

The remove duplicate lines tool deletes repeated lines from a list and keeps the first occurrence of each one, in the original order. Ignore the letter case and the spaces at the start and end of lines to catch near duplicates, and remove the empty lines.

Clean keyword lists, email lists, URLs, product codes or log files in seconds. The counters show how many lines were removed.

How to use the remove duplicate lines

  1. 1Paste the list, one item per line, or upload a file.
  2. 2Choose the options: ignore case, ignore spaces, remove empty lines.
  3. 3Copy or download the unique lines.

Features

Keeps the order

The first occurrence of each line stays in place.

Case and space options

Catch duplicates that differ only by case or spaces.

Counters

Total, unique and removed lines.

Big lists

Hundreds of thousands of lines, in your browser.

Frequently asked questions

Does it change the order of the lines?

No, the lines stay in their original order.

Can I remove duplicates and sort the list?

Yes, remove the duplicates here, then use the line sorter.

Are blank lines removed?

Only when the Remove empty lines option is on.

Is my list uploaded?

No, everything runs in your browser.