Text Sorter

Sort a list of lines alphabetically, by number, by length, or at random.

Order
Result

How to use the Text Sorter

  1. Paste your list. Put one item on each line.
  2. Pick an order. Choose A to Z, by number, by length or another order.
  3. Copy the result. The sorted list appears on the right.
  4. Copy or download. Use the Copy button, or Download to save the result as a file.

About this tool

Sort names, words, numbers or any list with one item per line. Numeric sorting reads the number at the start of each line, so 10 comes after 9 and not after 1.

Shuffle puts the lines in a random order, which is handy for picking winners or mixing questions.

When to use the Text Sorter

  • Sort a list of names or words.
  • Order numbers from small to large.
  • Shuffle lines in a random order.

Tips for the best result

  • Choose numeric sorting for numbers.
  • Sort by length to find the shortest and longest lines.
  • Choose Shuffle to put the lines in a random order.

Frequently asked questions

How does numeric sorting work?

It reads the number at the start of each line. Lines without a number count as zero.

How do I sort a list alphabetically?

Paste your list, one item per line, and choose A to Z.

What does numeric sort do?

It puts 2 before 10, which plain alphabetical sorting would not.

Is there a limit on how much text I can paste?

There is no fixed limit. Very large texts depend on your device’s memory and can be slower on older phones.

Is my text sent anywhere?

No. Everything runs in your browser. What you type or paste never leaves your device.