Text Sorter

Sort lines alphabetically (A-Z, Z-A) or numerically with multiple options.

Browse all Text Tools

About Text Sorter

Sort a list of lines in seconds. Choose alphabetical, numerical or length-based order, or shuffle the lines randomly.

How to use Text Sorter

  1. Paste your text with one item per line.
  2. Choose a sort type: Alphabetical (A-Z or Z-A), Numerical (0-9 or 9-0), Length (short to long or long to short) or Random Order.
  3. Click Sort, then Copy the result or Clear to start again.

Common uses

  • Alphabetizing name lists, keywords or bibliographies.
  • Ordering numbers from smallest to largest.
  • Finding the shortest or longest lines in a list.
  • Shuffling a list for random selection or testing.

Tips

  • Each line is treated as one item, so put one item on each line.
  • Use Numerical sort for numbers, because an alphabetical sort puts 10 before 2.