Sort Lines

Paste a list and sort it alphabetically, numerically, by line length, or shuffle it at random — ascending or descending. Sorting is case-insensitive by default, with a case-sensitive toggle for when exact ordering matters. Great for organising imports, cleaning up CSV exports, and restructuring any line-based data quickly.

All processing happens in your browser. No data is sent to any server.

Frequently Asked Questions

What sort modes are available?
You can sort A→Z, Z→A, by shortest line, by longest line, numerically, or shuffle the lines randomly.
Is the sort case-sensitive?
By default the sort is case-insensitive so "Apple" and "apple" are treated as equal. A case-sensitive toggle is also available.
Can I sort a numbered list without affecting the numbers?
Use numeric sort mode and the lines will be ordered by their leading numeric value rather than alphabetically.

Related Tools