Duplicate Line Remover
Remove duplicate lines and sort lists A to Z, Z to A, by length, reversed or shuffled.
How it works
- 1Paste your list.
- 2Choose how to handle duplicates, sorting and empty lines.
- 3Copy or download the result.
Features
- Keeps the first copy of each line.
- Case-sensitive or case-insensitive.
- Natural sort: 'item 9' comes before 'item 10'.
- Sort by length, reverse or shuffle.
- Private: runs in your browser.
Frequently asked questions
Which copy of a duplicate is kept?
The first one, so the original order is preserved when you don't sort.
What is natural sort?
Numbers inside text are sorted by value, so 2 comes before 10.
Is there a size limit?
No. Lists of hundreds of thousands of lines work, limited only by your device.
Related tools
Remove Line BreaksRemove line breaks and extra spaces from text copied out of PDFs and emails, keeping paragraphs if you like.Text Diff CheckerCompare two texts and see exactly which lines or words were added, removed or changed.Word and Character CounterCount words, characters, sentences and reading time, and check platform character limits as you type.Case ConverterChange text to UPPER, lower, Title, Sentence case, camelCase, snake_case, kebab-case and more.