Remove Duplicate Lines

Paste your text below and instantly remove all repeated lines.

Keep:

How to Use

  1. Paste or type your text into the input box — each line is treated as one item.
  2. Choose your options: case-sensitive matching, whitespace trimming, and whether to keep the first or last duplicate.
  3. Click Remove Duplicates to process the text.
  4. Copy the cleaned output with the Copy Output button.

Case-sensitive means "Apple" and "apple" are treated as different lines. When off, they count as duplicates. Trim whitespace ignores leading and trailing spaces when comparing lines.