Paste a list and sort the lines the way you need: alphabetical from A to Z or Z to A, or numeric from smallest to largest and back. A line sorter is a quick way to tidy a shopping list, order a set of names, rank numbers, or prepare data before importing it somewhere. Alphabetical sorting is case aware but ordered sensibly, while numeric sorting reads the leading number on each line so mixed content still lines up correctly. You can also just reverse the current order or shuffle the lines randomly. All sorting happens in your browser, so your list is never sent anywhere and even long files stay responsive.
Alphabetical sorting orders lines by their characters, while numeric sorting reads each line as a number so 2 comes before 10 instead of after it.
Yes. You can sort ascending or descending, reverse the current order, or shuffle the lines into a random order.
Blank lines are sorted along with the rest, typically grouping together at one end depending on the direction you choose.
Paste a list and sort the lines the way you need: alphabetical from A to Z or Z to A, or numeric from smallest to largest and back. A line sorter is a quick way to tidy a shopping list, order a set of names, rank numbers, or prepare data before importing it somewhere.
Yes. Sort Lines is completely free, with no sign-up and no usage limits.
Yes. Sort Lines runs in any modern web browser. There is nothing to download or install.
Yes. Sort Lines runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/sort-lines)