How do you sort a list in alphabetical order?
To sort a list in alphabetical order, paste it with one item per line and choose A to Z; the tool reorders the lines instantly. You can also sort Z to A, sort naturally so that “item 2” comes before “item 10”, sort by line length, reverse the order or shuffle it randomly. Sorting uses the language rules of your page, so accented letters are placed correctly, and everything runs in your browser.
How to sort a list alphabetically online
- 1
Paste your list into the input box, with one item per line.
- 2
Select a sort order such as A to Z, Z to A or Natural.
- 3
Adjust the options: ignore case, remove duplicates, remove empty lines.
- 4
Copy or download the sorted list.
Key features
Seven sort modes
A to Z, Z to A, natural numeric order, shortest first, longest first, reverse and random shuffle.
Language-aware sorting
It uses the browser collation rules for your language, so letters such as é, ñ or ö are sorted the way readers expect.
Dedupe while sorting
Remove duplicate and empty lines in the same step to get a clean, ordered list.
Private
Your list is sorted on your device and never sent anywhere.
Frequently asked questions
How do I sort text alphabetically?
Put each item on its own line, paste the list and select A to Z. Lines are ordered by their letters from A to Z, regardless of upper or lower case when Ignore case is on.
What is natural sort order?
Natural sort reads numbers as numbers, so “file 2” comes before “file 10”. In a plain alphabetical sort, “file 10” would come first because 1 sorts before 2.
How are accented letters sorted?
The tool uses the standard collation of your language, so accented letters are sorted next to their base letter instead of at the end of the alphabet.
Can I sort a list by length?
Yes. Choose Shortest first or Longest first, and lines of the same length are sorted alphabetically.
How can I put a list in random order?
Select Shuffle, and click Shuffle again for a new random order. This is useful for drawing names or randomizing questions.
How do I sort a list in Excel or Word?
In Excel use Data > Sort A to Z. In Word, select the lines and use Home > Sort. This tool is a quick alternative for plain text from any source.