Remove Duplicate Lines and Sort Lists

Paste a list and remove repeated lines in one click. You can also trim spaces, drop empty lines and sort the result.

Remove Duplicate LinesPrivate

Runs in your browser. Your data is never uploaded to any server.

How to use the remove duplicate lines

  1. Paste your list in the left box, one item per line.
  2. Choose the options: case sensitive, trim spaces, remove empty lines and sorting.
  3. Copy the cleaned list from the result box.

What it does

The first time a line appears it is kept, and later copies are removed. By default the comparison ignores upper and lower case, so "Apple" and "apple" count as the same line. Turn on Case sensitive to keep both.

It is useful for cleaning email lists, keyword lists, log files, URLs and any data copied from spreadsheets.

Frequently asked questions

How do I remove duplicate lines?

Paste the text in the left box. Duplicates are removed automatically and the result is on the right.

Does it keep the original order?

Yes, unless you choose a sorting option.

Is the check case sensitive?

Not by default. Turn on Case sensitive if "Apple" and "apple" should be treated as different lines.

Is my list uploaded?

No. It is processed in your browser.