All tools

Sort lines

Sort a list A to Z, Z to A, in number order or by length. You can also reverse or shuffle it.

How to sort lines

  1. Paste your list, one item per line.
  2. Choose how to sort it.
  3. Copy or download the sorted list.

Frequently asked questions

Why does item10 come after item2?

The Numbers option sorts in natural order, so 2 comes before 10. A to Z compares character by character.

Is the shuffle random?

Yes. It uses your browser’s secure random generator. Click Shuffle again for a new order.

Related tools

Everything runs in your browser. Your files and text are never uploaded.

↑↓ move · Enter open · Esc close