Remove Duplicate Lines

Paste a list and remove duplicate lines instantly. Optionally ignore case, trim spaces, remove empty lines and sort the result.

How to remove duplicate lines

  1. Paste your list into the top box, with one item per line.
  2. The bottom box instantly shows every line only once, in its original order.
  3. Copy the result or download it as a text file.

Options

  • Ignore case – treats “Apple” and “apple” as the same line and keeps the first one.
  • Ignore leading and trailing spaces – “apple ” and “apple” count as duplicates, and the extra spaces are removed.
  • Remove empty lines – deletes blank lines from the result.
  • Sort A→Z – sorts the unique lines alphabetically, with numbers in natural order (2 before 10).

FAQ

What can I use this for?

Cleaning email lists, keyword lists, product codes, log files, word lists, or merging two lists without repeats: paste both lists together and remove the duplicates.

Is there a size limit?

No fixed limit. Lists with hundreds of thousands of lines work fine on a computer; very large files depend on your device’s memory. Nothing is uploaded.