📊

Text Sorter

Sort lines alphabetically, by length, numerically or randomly. Free, instant, no signup.

📝 Text Tools Free Browser-based
Tool

Sort Modes

  • A → Z — standard alphabetical ascending order.
  • Z → A — reverse alphabetical descending order.
  • Shortest / Longest first — sort lines by character count.
  • Numeric — sort lines as numbers so 10 comes after 9, not after 1.
  • Shuffle — randomise the order of all lines.

When to Sort Alphabetically vs by Length

Alphabetical sorting is best for name lists, dictionaries, dropdown menus and navigation items. Length-based sorting is useful when you want to see the shortest or longest items first — handy for meta description lists, keywords or tweet drafts where character count matters.

Sorting Numbers in Text

Standard alphabetical sorting treats numbers as strings, so "10" sorts before "2". Use Numeric mode to sort numerically. Combine with the Duplicate Line Remover for a full list-cleaning workflow.

Frequently Asked Questions