GoWebTools

Remove Duplicate Lines

Remove duplicate lines from any list instantly. Options for case sensitivity, trimming, sorting and keeping only the lines that repeat. Free and private.

Input

Result

The result appears here as you type.

What this tool is for

Exported lists arrive dirty: the same email twice, a keyword repeated with different capitalisation, a stray blank line in the middle. This strips repeats and gives you a clean list back, and it can do the opposite too, showing only the entries that appeared more than once.

How to use it

  1. Paste your list, one item per line.
  2. Decide whether case matters and whether surrounding spaces should be ignored.
  3. Switch to "keep only duplicates" if you are hunting for repeats rather than removing them.
  4. Copy the cleaned list.

Frequently asked questions

Is the order preserved?

Yes. The first occurrence of each line keeps its position, and later copies are dropped. Turn on sorting if you would rather have the result alphabetised.

Can I find which lines were duplicated?

Yes. Switch the mode to "keep only duplicates" and you get every line that occurred at least twice, once each.