Text Sorter
Sort lines alphabetically, by length, numerically, or randomly. Each line is treated as one item.
About This Tool
Free text sorter online — sort any list of lines alphabetically (A–Z or Z–A), numerically (smallest to largest or reverse), or by line length. Supports case-insensitive sorting and can optionally remove duplicates after sorting. No sign-up, instant, browser-based. Common uses: alphabetizing a bibliography or reference list, sorting a keyword list for an SEO content plan, ordering a list of names for a directory, numerically sorting a list of prices or scores, and ordering code import statements. The line-length sort is useful for creating visual staircase patterns in creative text or for organizing content by complexity. Paste any list, pick a sort mode, and download or copy the sorted output.
How to Use
- 1
Paste your list
Paste a list with one item per line.
- 2
Choose sort order
Select Alphabetical (A–Z), Reverse Alphabetical (Z–A), Numeric (ascending), Numeric (descending), or By Length.
- 3
Apply and copy
Click Sort and copy the sorted output.