Sort Lines
Sort lines of text A–Z, Z–A, by shortest, by longest, or randomly. Copy the sorted result with one click.
How to sort lines of text
- 1. Paste or type your lines into the input box.
- 2. Click the sort order you want: A → Z, Z → A, Shortest first, Longest first, or Random shuffle.
- 3. Copy the sorted result with the Copy button.
FAQ
Does sorting change the content of lines?
No. Only the order of lines changes. The content of each individual line is preserved exactly.
Is the sort case-sensitive?
The A–Z and Z–A sorts use locale-aware comparison, which is generally case-insensitive for standard alphabetical order but may vary slightly by language.
Is my text sent to a server?
No. All sorting is performed locally in your browser. Your text never leaves your device.