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 of each line, with case and whitespace options.
  • Editable input and copyable results.

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?

Text input is limited to 200,000 characters. Diff accepts 40,000 characters in total and stops long comparisons. JSON numbers use JavaScript precision.

Related tools