Deduplicate Lines

Remove duplicate lines from text keeping only unique entries.

Remove duplicate lines from a list and keep the first time each one appears, in the original order. Choose whether to ignore case and spaces at the ends of lines when comparing, and whether to drop empty lines. The note under the result says how many lines were removed and kept. It works on lists of thousands of lines instantly.

Common use cases

  • Remove repeated emails, names or IDs from a list
  • Clean a keyword list
  • De-duplicate log lines or URLs

How to use

  1. Paste the list, one item per line.
  2. Choose the comparison options.
  3. Copy the de-duplicated list.

FAQ

Does it sort the list?

No. Lines stay in their original order. Use the sort lines tool afterwards if you want them alphabetical.

Which copy is kept?

The first one. Later repeats are removed.