sapienkit
Files never leave your browser

Sort Lines of Text Alphabetically or Numerically

100% browser-basedFiles never leave your deviceFree & unlimited

Paste a list of lines and sort them alphabetically, numerically, by length, or in reverse. Handles both ascending and descending order.

Great for organizing name lists, sorting data exports, or reordering configuration entries. You can also remove blanks and duplicates while sorting, getting a clean list in one step.

Sort Mode
Input0 lines
Output0 lines
Paste text to sort lines

Frequently Asked Questions — Text Sorter

Alphabetical (A–Z, Z–A), numerical, by line length, and random shuffle.

In numerical mode, yes. '2' comes before '10'. In alphabetical mode, '10' comes before '2' (string sorting).

Use the Remove Duplicate Lines tool for that, then sort the result here.