Remove duplicate lines
Delete repeated lines from a list, or show only the lines that repeat.
How to remove duplicate lines
- Paste your list, one item per line.
- Choose Remove duplicates, Keep lines that appear once or Show only duplicates.
- Copy the cleaned list.
Frequently asked questions
Does it keep the original order?
Yes. Lines stay in the order they first appear. To sort them, use the Sort lines tool.
Are “Apple” and “apple” duplicates?
Only if you tick Ignore upper and lower case.
How many lines can I paste?
Hundreds of thousands. Very large lists depend on your device’s memory.
Related tools
Word counterCount words, characters, sentences and paragraphs as you type.Case converterChange text to Sentence case, lower case, UPPER CASE, Title Case, camelCase, snake_case and more.Text cleanerTidy messy text in one step: extra spaces, empty lines, ALL CAPS sentences, broken lines from PDFs and hidden characters.Text diff checkerPaste two versions of a text and see exactly what was added, removed or changed, line by line or word by word.
Everything runs in your browser. Your files and text are never uploaded.