← Back to homepage
🔤
Text

Text Sorter

Sort text lines alphabetically.

How does Text Sorter work?

Text Sorter alphabetizes a list of lines in either A-Z or Z-A order, after trimming extra whitespace and removing empty lines.

How to use it

  1. Paste your list with one item per line.
  2. Choose "Sort A-Z" or "Sort Z-A" from the dropdown.
  3. Copy the sorted result.

Common use cases

  • Alphabetizing a contact list or team roster.
  • Sorting a list of keywords or tags before reviewing them.
  • Ordering a reading list or bibliography.

Frequently asked questions

Does it remove blank lines?
Yes, empty or whitespace-only lines are filtered out before sorting.
How is the sort order decided?
It uses locale-aware comparison, which generally sorts in a natural, human-expected order rather than strict character-code order.