Text & WritingRuns in your browser
Sort Lines Alphabetically
Paste a list and sort it A-Z, Z-A, by length, reversed, or shuffled — with optional de-duplication.
Quick presets
Sort Lines Alphabetically
Lines
Sorted
Runs in your browser — nothing you enter is uploaded or stored.
Scratchpad auto-saved
Stored in this browser (localStorage)
About the Sort Lines Alphabetically
Sorting a list by hand is tedious and error-prone. This tool takes any text where each item sits on its own line and re-orders the whole list instantly, entirely inside your browser.
A → Z and Z → A sort alphabetically; By length orders from shortest to longest line; Reverse flips the current order; and Shuffle randomises it. Turn on Case-insensitive so that "apple" and "Apple" sort together, and Remove duplicates to collapse repeated lines to one.
Because everything runs on your device, you can safely sort private lists — emails, names, keywords — without anything being uploaded.
Examples
Grocery list → A → Z → alphabetised, ready to print.
Keyword dump → Remove duplicates + A → Z → a clean, unique list.
Raffle entrants → Shuffle → a random running order.
Frequently asked questions
4 answersDoes it change the words themselves?
No. It only reorders and optionally de-duplicates whole lines. The text of each line is left exactly as you typed it.
How are duplicates detected?
Two lines are duplicates when their text matches exactly. De-duplication keeps the first occurrence and removes later ones.
Is my list uploaded anywhere?
No. All sorting happens locally in your browser, so even sensitive lists never leave your device.
Can it sort numbers correctly?
Alphabetical sorting treats text left-to-right, so 10 sorts before 2. For pure numeric ordering, pad numbers to the same width first.