Paste your list (one item per line)
Sorted Output
What This Tool Does
Sort Lines offers 7 sorting modes: alphabetical, reverse alphabetical, numerical, reverse numerical, by line length (shortest or longest first), and random shuffle. Options for case-insensitive sorting, whitespace trimming, and empty line removal are available as toggles.
Frequently Asked Questions
What sort modes are available?
Alphabetical (A→Z), Reverse alphabetical (Z→A), Numerical (smallest to largest), Reverse numerical, By length (shortest first), By length (longest first), and Random shuffle.
How does numerical sorting work?
Lines are sorted by the numeric value at the start of each line. Lines that do not start with a number are treated as zero. This is useful for sorting numbered lists, log lines with timestamps, or data with numeric prefixes.
Is my text sent to a server?
No. All sorting happens in your browser. Nothing is transmitted anywhere.