Text Sorter
Sort lines alphabetically, by length, or numerically — with optional deduplication.
Everything runs in your browser. Nothing you type is uploaded or stored.
About this tool
Sorting a list by hand is tedious and error-prone. This sorts by line, with the options that actually come up: alphabetical in either direction, by length, numerically, or simply reversed.
Numeric sorting reads the leading number on each line, so 9 comes before 10 rather than after it — the classic problem with sorting numbers as text.
How to use it
- Paste your list, one item per line.
- Choose a sort order and any extras: remove duplicates, ignore case, trim whitespace.
- Copy the sorted list.
Frequently asked questions
Is my text sent to a server?
No. Everything runs in your browser using JavaScript. Nothing you type or paste is uploaded, logged or stored anywhere.
Is there a length limit?
There is no fixed limit — the practical ceiling is your browser's memory. Documents of tens of thousands of words are handled comfortably.
Does it handle non-English text?
Yes. Text is treated as Unicode throughout, so accented Latin, Chinese, Tamil and emoji are all processed correctly rather than mangled.
Does it change my original text?
No. Your input stays exactly as you typed it; the result is produced separately so you can adjust the options and compare.