Skip to content
PratronHome

Sort Lines

Sort any list instantly: alphabetical A→Z or Z→A, natural sort that orders numbers sensibly (item2 before item10), case-insensitive mode, reverse the current order, or shuffle lines randomly. An option removes empty lines while sorting. Everything happens in your browser as you click.

Text Tools

Private by default

This tool runs entirely in your browser. Your data is never uploaded to a server.

How to use

3 clear steps.

  1. Paste your lines into the input box.

  2. Pick a sort mode: A→Z, Z→A, natural, reverse, or shuffle.

  3. Copy the sorted result.

Good to know

Frequently asked questions

What is natural sort?
Ordering that treats digit runs as numbers, so "file2" comes before "file10". Plain alphabetical sort would put "file10" first because the character "1" sorts before "2".
Is the shuffle truly random?
Yes — it uses a Fisher–Yates shuffle driven by the browser's cryptographically secure random generator, so every permutation is equally likely.