Text Sorter
Sort any list of lines alphabetically, reverse, by length, or randomly.
Text Sorter
Sort lines alphabetically, numerically, by length or randomly.
How to use Text Sorter
- 1
Paste your list
Drop a multi-line list into the input panel.
- 2
Choose a sort order
Alphabetical (A→Z, Z→A), by length, numerically, reverse order, or shuffle for a random order.
- 3
Toggle cleanup options
Remove empty lines or duplicates in the same pass to clean up your list while sorting.
- 4
Copy or download
Grab the sorted list with one click.
About Text Sorter
Sort any list of lines alphabetically, reverse, by length, or randomly.
Use Text Sorter when you need to sort lines a-z, z-a, by length. Review the available options in the interface, process your input, and check the result before saving or copying it.
Frequently asked questions
We use Intl.Collator with numeric mode, so 'item2' sorts before 'item10' instead of after — the natural order most people expect.
Related tools
All Text ToolsRemove Line Breaks
Join multiline text into one line
Open toollowercase Converter
Make text lowercase
Open toolText Reverser
Reverse text characters or words
Open toolUPPERCASE Converter
Make text UPPERCASE
Open toolText Case Converter
UPPER, lower, Title, camelCase
Open toolRemove Duplicate Lines
Dedupe lines instantly
Open tool