Duplicate line remover

Keep the first occurrence of each line, with case and whitespace options.

Processed locally. No file uploads.
Maximum 200,000 characters.

How to use

  1. Paste your lines
  2. Choose case sensitivity and whitespace handling
  3. Remove duplicates and download

What you can do

  • Keep the first occurrence without sorting the remaining lines.
  • Optionally ignore letter case or outer whitespace for duplicate matching.

Useful answers

Which version of a line is kept?

The first original line is retained. Trimming affects comparison only, preserving the original content.

What are the limits?

Up to 200,000 UTF-16 text units. Processing is local; very large inputs can take longer on limited devices. Matching options affect comparison keys; the retained line keeps its original spelling and spacing.

Related tools