Remove Duplicate Lines

Paste a list to remove duplicate lines instantly. Choose whether to match case, trim spaces and drop blank lines, and sort the result A–Z, Z–A or numerically.

Runs in your browser; nothing you type is sent anywhere. · Updated

How to use it

  1. Paste your list, one item per line: emails, keywords, product codes, names.
  2. Pick your options: - Match case: "No" treats "Apple" and "apple" as the same item; the first one is kept. - Trim spaces: removes leading and trailing spaces, so " cherry" matches "cherry". - Remove blank lines. - Sort: keep the original order, or sort alphabetically or numerically.
  3. Copy the cleaned list.

Example: apple, Banana, apple, cherry, banana, " cherry", date becomes apple, Banana, cherry, date: 3 duplicates removed.

Common uses

  • Cleaning email lists before importing them into a newsletter tool
  • De-duplicating keyword lists for SEO research
  • Merging two lists and removing overlaps (paste both, one after the other)
  • Tidying lists exported from spreadsheets

In Excel or Google Sheets you can also use Data → Remove duplicates, but this is quicker for a pasted list. To pull emails or links out of messy text first, use the email and URL extractor.

Frequently asked questions

Which copy of a duplicate is kept?

The first one, in its original position and spelling.

Is my list uploaded anywhere?

No. Everything runs in your browser.

Can I find which lines were duplicates?

This tool shows how many were removed. To see them, sort the original list A–Z: duplicates end up next to each other.