Remove Duplicate Lines & Sort Text
Dedupe, sort, trim and reverse lines · free, no signup
Free Duplicate Line Remover & Text Sorter
Cleaning a list by hand is tedious. Paste your text and this tool removes duplicate lines, sorts them A to Z or Z to A, sorts by length, reverses the order, trims extra spaces and deletes blank lines.
It is handy for email lists, keyword lists, log files, CSV columns and anything else with one item per line. Everything runs in your browser, so private data stays private.
Remove duplicates
Case-sensitive or case-insensitive.
Sort your way
Alphabetical, reverse or by line length.
Clean up
Trim spaces and delete empty lines.
See the savings
Shows how many lines were removed.
How to use it
- Paste your list, one item per line.
- Choose the options you need.
- Click Apply.
- Copy the cleaned result.
Frequently asked questions
Does it keep the first or last duplicate?
It keeps the first occurrence and removes later ones.
Is sorting case-sensitive?
You can choose. By default it ignores case.
Is there a size limit?
It handles very large lists, limited only by your browser memory.
Is my text uploaded?
No. All processing happens locally in your browser.