Alphabetical Sort puts the lines of your text in alphabetical order, A to Z or Z to A. Paste your lines, click the button and copy the sorted list. It is free and runs in your browser.
B C D A
A B C D
Bookmark: press Ctrl+D (Windows) or Cmd+D (Mac) to save this tool.
This tool sorts the lines of your text in alphabetical order. Each line is kept whole, and only the order of the lines changes.
Choose A to Z or Z to A. By default case is ignored, so apple and Banana sort by their letters only. Untick Ignore case to put A before a. Empty lines are removed, and lines are compared character by character, so item10 comes before item2.
Use it to alphabetize names, addresses, emails, a reading list or any other list, one item on each line.
Each example shows your lines before and after sorting. The order is A to Z with Ignore case on, unless the example says otherwise.
| Case | Before | After |
|---|---|---|
| A to Z | B C D A | A B C D |
| Names, ignore case | Mike anna Zoe Ben | anna Ben Mike Zoe |
| Z to A (descending) | Apple Pear Fig | Pear Fig Apple |
| Case sensitive (option off) | b A a B | A a B b |
| Empty lines are removed | Pear Apple | Apple Pear |
| Numbers are not sorted by value | item10 item2 item1 | item1 item10 item2 |
Alphabetizing names, addresses, emails, glossary terms, reading lists and any other list with one item on each line.
Put one item on each line, and start each line with what you want to sort by. Numbers are compared as text, so item10 comes before item2. Empty lines are removed, and repeated lines are kept. The result replaces your text, so use Undo if you need the original.
To sort by length try Sort Lines By Length. To sort numbers by value try Sort Numbers. To remove repeated lines try Remove Duplicate Lines.
It sorts the lines of your text in alphabetical order, from A to Z, or from Z to A if you choose that. Each line is kept whole and only the order changes.
Paste your lines, one on each line, choose A to Z or Z to A, then click Alphabetical Sort. The sorted lines replace the text in the box. Click Copy to use them, or Undo to go back.
Yes. Choose Z to A (descending) in Sort order before you click the button.
By default it ignores case, so apple, Banana and cherry sort as a, b, c. Untick Ignore case to sort A before a, B before b and so on, with each letter still in alphabetical order.
No. This is an alphabetical sort, so lines are compared character by character. For example item10 comes before item2. To sort by number use Sort Numbers.
No. Empty lines and lines with only spaces are removed, so the result is a clean list.
No. A line that appears twice is kept twice, side by side. To remove repeated lines use Remove Duplicate Lines.
Yes. Put one name, address or email on each line. Lines are sorted by their first letters, so start each line with what you want to sort by.
Yes. It is free, needs no account and runs in your browser, so your text is not uploaded to a server.
Last updated: 10 November 2026