Text Sorter
Sort lines alphabetically, reverse or randomize — any list, instantly.
How to use Text Sorter
- Paste your list into the box, one item per line.
- Pick the order: A–Z, Z–A, reverse the current order, or random shuffle.
- Review the output — re-shuffle as many times as you like for random draws.
- Copy the sorted list back to your document or spreadsheet.
What is Text Sorter?
A text sorter rearranges the lines of a list: alphabetically A–Z or Z–A, reversed from their current order, or shuffled randomly. Paste a list, pick the order, copy the result.
Alphabetizing by hand invites mistakes the eye can't catch in a long list — one out-of-place name in a 90-line roster is nearly invisible. And random order has real uses beyond parlor tricks: fair prize draws, unbiased task assignment, randomized question order, and shuffling any queue where "first pasted" shouldn't mean "first served."
About the Text Sorter
Paste your list — one item per line — choose a sort mode, and the reordered list is ready to copy.
A–Z handles the everyday cases: name rosters, bibliography entries, glossary terms, keyword lists, file or package names. Z–A gives you reverse-alphabetical when a style guide or ranking calls for it. Reverse flips the existing order (newest-first ↔ oldest-first without re-sorting). Random shuffles fairly — pick a winner from the top of a shuffled list, or randomize presentation order for a class.
Sorting runs instantly in your browser; lists with names or client data never leave your device.
Frequently Asked Questions
Learn more
How to Sort Lines of Text Alphabetically or Numerically
Need a list in order? Here is how to sort lines of text alphabetically, numerically or in reverse — instantly.
Read the guide