How to Use Sort Text Lines
Order a list of lines alphabetically (A→Z or Z→A), by length, numerically, in reverse, or shuffle them randomly — with optional case-insensitive sorting.
Open the Sort Text Lines tool →What is Sort Text Lines?
Sort lines alphabetically, by length, numerically, reversed or shuffled. It's completely free, needs no sign-up, and runs entirely in your browser — so it's fast and private.
How to use Sort Text Lines
- Open the Sort Text Lines tool.
- Paste or type your input.
- Set any options provided.
- Copy the result. Everything runs in your browser — nothing is uploaded.
Frequently asked questions
Which sort orders are available?
Alphabetical (A-Z and Z-A), by line length, numeric, reversed, and a random shuffle.
Can it sort numbers correctly?
Yes — numeric mode orders lines by their value rather than alphabetically, so 2 comes before 10.
Is my list private?
Yes — sorting happens in your browser.
Ready to try it?
Open Sort Text Lines →