Sort Lines
Sort lines of text alphabetically, numerically, by length, reverse the order or shuffle them — with case-insensitive and remove-duplicates options.
Paste a list, pick how to sort it and copy the result. All sorting happens in your browser.
About Sort Lines
Sort Lines reorders any line-based list in eight ways: alphabetically A to Z or Z to A, numerically ascending or descending, by line length shortest-first or longest-first, reversed, or shuffled into random order. Paste one item per line and the sorted result appears instantly.
Two options refine the result: ignore case treats “Apple” and “apple” as equal while sorting, and remove duplicates drops repeated lines in the same pass. A line counter keeps track of the list size, and the sorted output is one click away from your clipboard.
The numeric modes sort by actual value rather than character order, so 2 comes before 10. All sorting runs in your browser — nothing is uploaded, and the tool is free.
How to use Sort Lines
- Paste your list into the box, one item per line.
- Pick a sort order: A→Z, Z→A, numeric, by length, reverse or shuffle.
- Optionally enable “Ignore case” and “Remove duplicates”.
- Copy the sorted lines from the result panel.