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.
URL Slug Generator
Turn any title into a clean, SEO-friendly URL slug with your chosen separator.
Word & Character Counter
Count words, characters, sentences, paragraphs and reading time as you type.
Case Converter
Convert text to UPPERCASE, lowercase, Title Case, Sentence case, camelCase, snake_case and more.
Find and Replace Text
Replace words across a whole document, with regex and bulk rules.
Voice Typing / Speech to Text
Dictate text with your microphone, in English, Sinhala, Tamil and more.