NEW
Sort Lines
Sort lines alphabetically, by length, or randomly.
π‘
Suggest a new tool
Tell us what you'd like to see next
How to Use Sort Lines
- 1Paste your text (one item per line) into the input area.
- 2Choose a sort mode: AβZ, ZβA, by length ascending, by length descending, or shuffle.
- 3Click 'Sort Lines' to process.
- 4Copy the sorted result.
Frequently Asked Questions
Is the sort stable?
Yes β lines that compare as equal maintain their original relative order.
How does 'By Length' sort work?
Lines are sorted by their character count. Ties are kept in original order.
Can I combine sort with deduplication?
Run Sort Lines first, then paste the result into Remove Duplicate Lines β or vice versa.
About Sort Lines
Sorting lines alphabetically, by length, or randomly is a frequent task when working with lists, word dictionaries, configuration entries, or any structured text. Our Sort Lines tool handles all common sort orders instantly in your browser.