Line Sorter
Sort any list of lines alphabetically, by length, reversed, or shuffled — numeric-aware and case-insensitive, right in your browser.
Order any list, your way
Sorting a list by hand is tedious and error-prone. This tool does it instantly with the options that actually come up: alphabetical in either direction, by line length, a straight reverse of the current order, or a random shuffle for picking winners or randomizing test data. Clean-up toggles let you trim stray whitespace and drop blank lines first, so the result is tidy.
The alphabetical sort is smarter than a naive string compare — it's case-insensitive and numeric-aware, so "10" lands after "2" rather than before it, and mixed-case entries group naturally. Paste your list, pick a sort, and copy the result. It works on names, keywords, URLs, CSV columns, or any line-based text.
Private and instant
Everything runs in your browser — no uploads, no accounts, no waiting.
Frequently Asked Questions
What sorting options are available?
Alphabetical A–Z and Z–A, by line length (short to long), reverse the current order, and random shuffle. You can also remove blank lines and trim whitespace.
Is the sort case-sensitive?
Alphabetical sorting uses a natural, case-insensitive comparison so “Apple” and “apple” group together in the expected order.
Can it sort numbers correctly?
Yes. The comparison is numeric-aware, so 2 sorts before 10 instead of the naive string order that would put 10 first.
Is my text private?
Yes. Sorting happens entirely in your browser — nothing is uploaded or stored.
More free text and data utilities for developers and marketers.