126+ free tools that run in your browser — no uploads, no sign-up

Sort Lines

Sort lines alphabetically, numerically, by length or shuffle them.

Sort a list of lines in seconds.

About Sort Lines

Sort any list of lines A to Z or Z to A, in natural order (item2 before item10), by number, by length, reverse the order or shuffle randomly. Optionally ignore case and remove empty lines. Copy or download the sorted list.

Sort a list of lines in seconds. Choose alphabetical, reverse alphabetical, natural order, numeric, by length, reversed or shuffled, then copy the result. Everything is done locally in your browser.

How to use Sort Lines

  1. Paste your lines into the input box.
  2. Pick a sort order.
  3. Optionally ignore case or remove empty lines, then copy or download the result.

Key features

  • A–Z, Z–A, natural, numeric, length, reverse and shuffle.
  • Natural sort puts item2 before item10.
  • Shuffle again with one click.

Common use cases

  • Alphabetising names, tags or references.
  • Ordering numbered lists correctly.
  • Randomising a list for a draw or a quiz.

Frequently asked questions

Related tools

More Text tools