Text Sorter
Sort lines alphabetically, numerically, by length or by frequency.
About the Text Sorter
Sort any list of lines: A to Z, by the number inside each line, by length, by how often each item appears, or shuffled at random. Natural sorting puts file2 before file10 instead of the other way round.
Duplicates can be removed and the output numbered in the same pass, which turns a messy paste into a clean list in one step.
Frequently asked questions
What is natural sort order?
A sort that reads digits as numbers, so item2 comes before item10. Plain alphabetical order puts item10 first because 1 sorts before 2.
Related tools
All Text Tools โFancy Text Generator
Turn plain text into bold, italic, script, bubble and upside-down styles.
Duplicate Line Remover
Remove duplicate lines, blank lines and extra spaces, then sort your list.
Find and Replace Text
Replace words across a whole document, with regex and bulk rules.
Invisible Character Remover
Strip zero-width and hidden characters from pasted text.
Voice Typing / Speech to Text
Dictate text with your microphone, in English, Sinhala, Tamil and more.
Case Converter
Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and more.