Text Sorter
Sort, shuffle, reverse, and deduplicate lines of text instantly.
Actions
Input (one item per line)
Output
Sort and clean up lists of text in seconds
We've all been there — you have a big list of names, URLs, keywords, or data entries and they're in completely random order. You could open a spreadsheet, paste it into a column, hit sort, and export it back. Or you could just paste it here and click one button. This tool sorts text alphabetically (A-Z or Z-A), reverses the order, shuffles it randomly, removes duplicate lines, and strips out empty lines. No sign-ups, no fuss.
How does the sorting actually work?
The alphabetical sort uses locale-aware comparison, which means it handles special characters and international text properly. It's not just comparing raw character codes — “café” will sort correctly next to “cat” instead of being thrown to the end. The reverse function simply flips the current order of lines, which is useful when you want the last item first. The random shuffle uses the Fisher-Yates algorithm, which gives you a truly random result every time you click it.
Removing duplicates — how does it know?
The duplicate removal trims whitespace from the beginning and end of each line, then compares them as exact strings. So “Apple” and “apple” would both stay because they differ in capitalization. If you want case-insensitive deduplication, convert everything to lowercase first (use our Case Converter tool), then remove duplicates here. The stats cards at the top show you exactly how many duplicates exist before you even click anything.
Common use cases
SEO pros use this to sort keyword lists and remove duplicates from scraped data. Developers use it to sort configuration values, clean up log entries, or randomize test data. Teachers use it to shuffle quiz questions or student names. Event organizers use it to alphabetize attendee lists. If you have any list that needs ordering or cleaning, this tool will save you a bunch of time compared to doing it manually or firing up Excel for a 10-second job.