Remove Duplicate Lines

Remove duplicate lines from any text. Keeps the first occurrence of each line and removes all subsequent duplicates. Option to ignore case when comparing.

Runs locallyInstantPrivate
Input
Output
Text with duplicates removed will appear here…

How to Use

  1. Paste your text with duplicate lines.
  2. Toggle Ignore case to match lines regardless of capitalization.
  3. The cleaned text appears instantly in the Output panel.
  4. Once duplicates are removed, use the sort lines tool to alphabetize the result.

Related tools