Document and text tools

Remove duplicate lines

Remove repeated lines from a list or text, keeping the first occurrence of each line.

How to use Remove duplicate lines

  1. Paste a list or text.
  2. Remove the repeated lines, keeping the first occurrence of each.
  3. Copy the cleaned list.

A good use for this

Cleaning a mailing list, a set of tags, or pasted data that contains repeats.

Limits

Lines must match exactly to count as duplicates — the same words with different spacing or capitalisation are treated as different lines.