Free tool
Sort a list alphabetically
Paste a list with one item per line and sort it from A to Z, from Z to A, by number, by length, or shuffle it at random.
Characters: 0 · Lines: 0
Characters: 0 · Lines: 0
Everything is processed in your browser. What you type is not sent to any server or stored.
How it works and what it does with your text
It's a small, straightforward utility: you paste, choose options and copy the result.
It runs in your browser
The text is transformed by this page's code, on your device. No sign-up or installation needed.
We don't store what you type
We don't send your text to any server or store it. You can check this in the Network tab of your browser's developer tools.
Free and unlimited
Use it as often as you like. It works the same on mobile and on desktop.
Tips to get the most out of it
Order follows the page language
On English pages the order follows English rules: accents don't change the position (“Éclair” goes with the E) and ñ counts as an n with a mark. On the Spanish version of this tool, ñ is placed after n, as in a dictionary. In a badly configured spreadsheet this often comes out the wrong way round.
Numbers inside text
With natural order, “file2” comes before “file10”. With plain alphabetical order it would come after, because it compares character by character.
Shuffle at random for draws
Random order uses the browser's cryptographic generator: handy for drawing names, turns or the speaking order. Click “Generate again” for another shuffle.
A clean list in three steps
Remove empty lines, remove duplicates and sort. This tool does all three at once with the “Remove empty lines” and “Remove duplicates after sorting” checkboxes.
Frequently asked questions
How do I sort a list alphabetically?
Paste the list with one item per line, choose “Alphabetical (A → Z)” and copy the result.
How do I sort from Z to A?
Choose “Reverse alphabetical (Z → A)”.
Does it sort numbers correctly?
Use the “Natural / numeric” order: 2 goes before 10. With alphabetical order, “10” would come before “2” because it starts with “1”.
Can I shuffle a list at random?
Yes: choose “Shuffle at random”. Every time you click “Generate again” you get a different order.
Related tools
Remove duplicate lines
Remove the repeated lines from a list, or keep only the repeated or the unique ones.
Remove empty lines
Delete the blank lines from a text or list, or leave just one between paragraphs.
Number lines of text
Add a number in front of every line, with the format, start and step you choose.
All free tools
Passwords, texts, lists, codes and more.
Do you manage lists, texts or keywords at scale?
We help with SEO strategy and with custom tools that save you hours of manual work. Tell us what you do today.