Sort Lines

Sort lines of text alphabetically, numerically, by length, or shuffle them randomly. Paste your list and choose a sort mode — the result is instant.

Your files never leave your device

How to Sort Lines

  1. Paste your text into the input area.
  2. Choose a sort mode: A-Z, Z-A, shortest first, longest first, numeric ascending, numeric descending, or random shuffle.
  3. Toggle case-sensitive, trim whitespace, or remove empty lines as needed.
  4. Copy the sorted output or download it as a text file.

Why Use This Tool?

Sorting lists of names, URLs, IDs, or any line-delimited data is a frequent task in development and content work. This tool handles it instantly in your browser without any software to install.

Frequently Asked Questions