Line Sorter
Sort lines alphabetically, by length, numerically, or randomly with options for case-insensitive sorting and blank line removal.
Sort Options
Sample Data
âšī¸ About Line Sorter
- Alphabetical sort uses locale-aware comparison for accurate ordering
- Numeric sort handles integers and decimals correctly
- Random shuffle uses Fisher-Yates for uniform distribution
- Pairs well with Remove Duplicate Lines for full list cleanup
How to use Line Sorter
- 1 Paste text â Enter or paste the lines you want to sort.
- 2 Choose sort mode â Select alphabetical, by length, numeric, or random.
- 3 Click Sort Lines â Sorted output appears instantly.
- 4 Copy or download â Use the result directly.
Line Sorter runs entirely in your browser â your text never leaves your machine.