New InstaDataNewsOur live magazine on AI, Agentic AI & Robotics — updated daily Explore the Magazine
Skip to content
Text Tools · Free · No sign-up

Text Sorter

Sort lines A–Z, Z–A, by length, numerically or shuffle randomly. Free, private, no sign-up — runs in your browser.

Runs in your browser Nothing uploaded Instant, unlimited No sign-up
🔀

Text Sorter

Sort any list of lines alphabetically (A–Z or Z–A), numerically, by line length, or shuffle them into random order. Natural sort handles numbers inside text correctly.

About this Text Sorter

The A–Z modes use natural sorting, so file2 comes before file10 — the way humans expect. Numeric sort reads the leading number of each line, and shuffle uses the Fisher–Yates algorithm for an unbiased random order.

Frequently asked questions

What is natural sort?
It compares embedded numbers by value rather than character-by-character, so item2 sorts before item10.
Is the shuffle truly random?
It uses the Fisher–Yates algorithm with the browser’s random generator — unbiased for everyday use (not for cryptography).
Does it handle accents?
Yes, locale-aware comparison places é, ñ and similar letters where a dictionary would.
Verified by MonsterInsights