Remove Duplicate Lines

Have a list with repeated entries — names, phone numbers, email addresses or keywords? Paste it here to keep each line only once, and sort it if you like.

Result

Lines before —
Lines after —
Duplicates removed —

How to use

  1. Paste your list with one item per line.
  2. Choose whether to sort and how to compare lines.
  3. Copy the cleaned list from the result box.

How it works

The first time a line appears it is kept; later copies are removed. With "Ignore upper/lower case" on, "Apple" and "apple" count as the same line.

Tips and common uses

Mailing and contact lists

Merge lists of email addresses or phone numbers and remove repeats so nobody gets the same message twice. Turn on "Ignore upper/lower case" so Name@mail.com and name@mail.com match.

Keyword and tag lists

When you collect keywords or tags from many sources, duplicates pile up. Remove them and sort A to Z to see the final list at a glance.

Clean first, then compare

Trailing spaces make two identical-looking lines different. Keep "Ignore spaces at the start and end" on so "apple" and "apple " are treated as the same line.

Frequently asked questions

Does it work with Hindi lists?

Yes. Hindi lines are compared and sorted in Hindi alphabetical order.

Can I paste a column from Excel?

Yes. Copying a column from Excel or Google Sheets gives one value per line, which works perfectly here.

Which copy is kept?

The first time a line appears is kept, so the original order is preserved unless you choose to sort.

More tools