Text Sorter
Sort lines A to Z, by length, by number or shuffle.
Free
Runs in your browser
About this tool
Text Sorter puts any list in order, one item per line. Sort alphabetically, by line length or by the numbers in each line, or shuffle the lines to pick a random order for names, prizes or questions.
How to use Text Sorter
- Paste your list, one item per line.
- Choose a sort order.
- Copy the sorted list.
Questions people ask
What is natural order?
Natural order sorts numbers inside text by value, so “item 2” comes before “item 10”. Plain alphabetical order puts “item 10” first because 1 comes before 2.
Is the shuffle truly random?
It uses the Fisher-Yates shuffle with your browser’s cryptographic random number generator, so every order is equally likely.
How does numeric sort handle lines without numbers?
It sorts by the first number found in each line. Lines with no number go to the end, in alphabetical order.
More text tools
See all 19 →
Remove Line BreaksJoin broken lines into clean paragraphs.
Text CleanerRemove extra spaces, HTML, emojis and smart quotes.
Slug GeneratorTurn titles into clean URL slugs.
Fancy Text GeneratorBold, italic, script and other Unicode fonts to copy.
Reverse TextReverse letters, word order or line order.
Text to SpeechRead text aloud with your device’s voices.