Sort Lines
Sort lines alphabetically, by number or length — or shuffle them.
Loading tool…
Runs entirely in your browser — nothing you enter is uploaded or stored on a server.
How to use it
Sort any list A to Z or Z to A, naturally (file2 before file10), by the number in each line, by length, in reverse order or at random, removing duplicates and blank lines as you go.
- Paste your list, one item per line.
- Pick the order.
- Copy the sorted list — or shuffle again.
WritersDevelopersMarketers
Questions
How are accented letters sorted?
In natural and numeric order they sort with their base letter, so “Émile” sits beside “Emma”. Plain A–Z compares characters directly.
Is the shuffle random?
Yes — each shuffle is a fresh random order, drawn with a fair shuffle so every order is equally likely.