Sort Lines
Sort a list of lines alphabetically, numerically, or by length. Alphabetical sort is case-insensitive and natural — "item2" comes before "item10".
Original0 chars, 0 lines
Alphabetical sort is case-insensitive and natural (so 'item2' comes before 'item10').
Sorted0 chars, 0 lines
Options
How to sort lines online
- Paste your list (or drop a file).
- Pick the sort mode — alphabetical, numeric, or by length.
- Optionally reverse the order or drop empty lines.
- Copy or download the sorted result.
Sort modes
- Alphabetical (smart) — uses your locale's natural ordering with numeric awareness; case-insensitive.
- Numeric — parses each line as a number; non-numbers fall to the bottom.
- Line length — shortest first; ties break alphabetically.
Related tools
After sorting, you may also want to deduplicate lines or normalise the case.