Text Sorter
Sort lines of text alphabetically (A–Z or Z–A). Free online text sorter for lists, names and data cleanup.
Everything runs in your browser. Your input is not sent to a server.
Advertisement
How to use the Text Sorter
- Paste one item per line.
- Choose ascending or descending order if both are offered.
- Sort and copy the ordered list.
- Reset to sort a different list.
How it works
Lines are sorted with standard string comparison (locale rules depend on the browser). Ascending puts A before Z; descending reverses that.
Useful for name lists, glossaries, tag cleanup and preparing data for spreadsheets.
Examples
- banana, apple, cherry → apple, banana, cherry (A–Z).
- Same list Z–A → cherry, banana, apple.
- Numbers as text sort lexicographically (e.g. “10” before “2”) unless a numeric mode exists.
Text Sorter FAQ
Is sorting case-sensitive?
Browser string sort is typically case-sensitive unless the tool normalizes case first.
Can I sort numbers?
Lines are sorted as text by default. Numeric order may differ from text order.
Is the Text Sorter free?
Yes.
Related tools
More: all text tools · browse all tools · popular tools