Duplicate Line Remover
Remove duplicate lines from text and keep only unique lines.
Frequently asked questions
Which copy of a duplicate line does it keep?
The first one — every later repeat of that line is dropped, so the order of first appearances is preserved in the output.
What exactly does "Case-insensitive" change?
With it off, "Hello" and "hello" count as different lines. Turn it on and they're treated as duplicates, but the kept line still uses whichever capitalization appeared first.
Does it trim whitespace before comparing lines?
No — comparison is exact, so a line with a leading or trailing space is treated as different from an otherwise identical line without one.
Related tools
Word Counter
Count words, characters, sentences, and paragraphs in real-time.
Character Counter
Count characters with and without spaces instantly.
Case Converter
Convert text to UPPER, lower, Title, camelCase, snake_case, or kebab-case.
Lorem Ipsum Generator
Generate placeholder text in any number of paragraphs or words.