Text Line Sorter
Sort lines alphabetically, by length or numerically.
About the Text Line Sorter
Text Line Sorter reorders a list of lines alphabetically (A–Z or Z–A), by line length, or numerically by the number each line starts with. Turn on 'Ignore case' for a true alphabetical order regardless of capitalisation. It is ideal for tidying lists, keywords and references. Sorting happens in your browser.
How to use it
- Paste your lines, one item per line.
- Choose how to sort and whether to ignore case.
- Click 'Sort' and copy the ordered result.
Frequently asked questions
How does numeric sorting work?
It reads the number at the start of each line and orders by value, so 2 comes before 10 (unlike plain alphabetical sorting).
Is my list uploaded?
No. Sorting is done locally in your browser.
Related tools
Word Counter
Count words, characters, sentences and reading time as you type.
Text ToolsCase Converter
Convert text to UPPERCASE, lowercase, Title Case and more.
Text ToolsLorem Ipsum Generator
Generate placeholder paragraphs, sentences or words instantly.
Text ToolsText Diff Checker
Compare two texts and highlight added and removed lines.
Text Tools