Sort, dedupe and clean text lines
Sort lines A-Z, remove duplicates, reverse, trim.
Files stay on your device. No accounts. Free.
Loading tool...
About this tool
Paste a list, one item per line, and clean it up: sort A to Z or Z to A, case-sensitive or not, remove duplicate lines, reverse the order, and strip empty lines and stray whitespace.
The everyday cases: deduplicating an email list, alphabetizing names, cleaning up a log extract, tidying a TODO dump. Lists are processed on your device, so customer data can stay customer data.
How it works
- Paste or type your text into the box.
- The results update live as you type.
- Copy the output, or download it as a file.
Frequently asked questions
How do I remove duplicate lines from a list?
Paste the list and turn on dedupe. Each line is kept the first time it appears and dropped on repeats; combine with case-insensitive mode to treat Apple and apple as the same entry.
Does sorting handle numbers sensibly?
Sorting is alphabetical, so 10 sorts before 2 because 1 comes before 2 as a character. Pad numbers to the same width, 02 and 10, when you need numeric order.
Is it safe to clean up a customer email list here?
Yes. The list is sorted and deduplicated entirely inside your browser and is never transmitted, unlike pasting it into a random website form that posts to a server.