Remove Duplicate Lines

Paste a list to remove duplicate lines instantly, with options to ignore case, trim spaces, sort and drop empty lines.

Lines removed
–
Lines in
–
Unique lines out
–

Embed this calculator on your website (free)

Paste this code into your website or blog. Free to use, please keep the credit link.

How to remove duplicate lines

  1. Paste your list into the box, one item per line: emails, keywords, product codes, names or URLs.
  2. Choose your options. The result updates as you type.
  3. Copy the unique lines with one click.

Options explained

Without sorting, lines stay in their original order and the first occurrence is kept. Everything runs in your browser, so lists of customer emails or private data are never uploaded.

To make the whole list lowercase before deduping, use the case converter. To count the words in it, use the word counter.

Frequently asked questions

Which line is kept when there are duplicates?

The first occurrence is kept and later copies are removed. With case-insensitive matching, the first spelling is the one you see.

Is there a limit on how many lines I can paste?

No fixed limit. Tens of thousands of lines are processed instantly in your browser.

Is my list uploaded?

No. Duplicates are removed in your browser, and nothing is sent anywhere.

Last updated November 2026