Remove Duplicate Lines
Clean up a list by removing duplicate or blank lines, instantly.
Input
Output
Frequently Asked Questions
Which occurrence of a duplicate is kept?
The first occurrence of each line is kept; later duplicates are removed, preserving your original line order.
Can I ignore case when comparing lines?
Yes — enable "Case insensitive" so "Apple" and "apple" are treated as duplicates.
Are blank lines treated as duplicates?
No. Blank lines are kept as-is and never deduplicated against each other, so your paragraph spacing is preserved. If you'd rather strip every empty line, turn on "Remove blank lines".
Is my text uploaded anywhere?
No. Everything runs locally in your browser — nothing is sent to a server.
Related tools
More free, private, browser-based utilities — no upload, no sign-up.
Word & Character CounterCount words, characters, sentences, and reading time as you type.Case ConverterConvert text to uppercase, lowercase, title case, and more.Text Diff CheckerCompare two blocks of text and highlight what changed.Typing Speed TestTest your typing speed and accuracy — timed or word-count modes, punctuation & numbers.Text Line SorterSort and alphabetize a list of lines — natural, length, or A→Z order, with dedupe.Lorem Ipsum GeneratorGenerate placeholder text — paragraphs, sentences, words, or lists.

Davemi Tools