Duplicate line remover

Paste a list and get back every item exactly once. Optionally ignore case, clean up spaces and sort the result.

Options

How to remove duplicates

  1. Paste your list into the left box, one item per line.
  2. The cleaned list appears on the right immediately.
  3. Adjust the options, then click Copy list.

The counter shows how many lines went in, how many came out, and how many duplicates were removed.

Options

  • Ignore upper and lower case: treats [email protected] and [email protected] as the same. Useful for emails and names.
  • Ignore spaces at the start and end: treats apple and apple as the same. Hidden trailing spaces are a common reason duplicates slip through.
  • Remove empty lines: drops blank lines.
  • Sort: keep the original order, sort A–Z or Z–A, by number (so 2 comes before 10), or shortest first.

Common uses

  • Email and contact lists: remove repeated addresses before sending a newsletter.
  • Keyword research: merge keyword lists from several tools and remove overlaps.
  • Product codes and SKUs: find the unique codes in an export.
  • URLs: clean up a list of links before submitting or checking them.
  • Spreadsheet data: paste a column from Excel or Google Sheets, clean it, and paste it back.

Need to tidy spacing and line breaks too? Try the text cleaner.

Last updated 4 December 2026

Frequently asked questions

Does it keep the first or last copy of a duplicate?

It keeps the first time each line appears and removes later copies, so your original order is kept unless you choose to sort.

Why are “Apple” and “apple” both still there?

By default, lines must match exactly, including capital letters. Tick “Ignore upper and lower case” to treat them as the same.

Is there a limit on list size?

No fixed limit. It runs in your browser and handles lists of tens of thousands of lines easily on most devices.

Is my list stored?

No. Everything happens in your browser, and nothing is saved or uploaded.