Text Sorter

Sort the lines of any list A–Z or Z–A, by length, numerically, reverse the order, or shuffle them randomly.

Your text is sorted locally in your browser and never uploaded.

How to use Text Sorter

  1. Paste your list, one item per line.
  2. Choose a sorting method.
  3. Press “Sort”.
  4. Copy or download the sorted list.

About this tool

Alphabetizing a list of names, keywords or tasks by hand is slow and mistake-prone. The sorter handles alphabetical, reverse-alphabetical, numeric and length sorting, plus a random shuffle for drawing winners or mixing a list.

Frequently asked questions

How does numeric sorting work?
Lines are compared as numbers, so “10” comes after “9” instead of after “1”. Lines that are not numbers are treated as zero.
Does sorting change my original text?
No — the result appears in the output box and the original stays available until you edit it.

Related tools