Remove Duplicate Lines

Remove repeated lines from a list of emails, keywords, IDs or log entries, and see which lines were duplicated.

Runs in your browser

List

Unique lines

Processed in this browser tab. Nothing is uploaded.

How to use the Remove Duplicate Lines

  1. Paste your list, one item per line.
  2. Choose whether to ignore case and surrounding spaces.
  3. The unique lines appear instantly, with a count of what was removed.
  4. Copy or download the result.

Example

Deduplicate a list of emails

With Ignore case on. The original order is kept.

What it does

Keeps your order
Lines stay in their original order unless you choose to sort them.
Flexible matching
Ignore differences in case or leading and trailing spaces, and drop empty lines.
See the duplicates
A list shows which lines repeated and how many times.

Frequently asked questions

Which copy is kept?

The first occurrence by default. Choose “Keep last” to keep the final occurrence instead, which is useful for logs where the latest entry matters.

How many lines can it handle?

Hundreds of thousands of lines process in well under a second on a typical device.

Is my text stored or sent anywhere?

No. Everything happens in your browser. Your text is not uploaded, saved or used for analytics.