List Sorter
Sort text lists alphabetically, ascending or descending, with an option to remove duplicates.
Paste or type the list into the field below, one item per line. Choose the order and, if you want, check the box to remove duplicates. The result updates automatically.
About this tool
This tool sorts a list of items (one per line) alphabetically, from A to Z or Z to A, and can remove duplicate items. Blank lines are ignored.
How to use
Type or paste the list, one item per line. Choose "A to Z" or "Z to A" and, if needed, check "Remove duplicates". There is no button to click.
Examples
The list "banana, apple, apple, cherry" (one item per line), sorted A to Z with duplicates removed, becomes "apple, banana, cherry" — 3 items.
Frequently asked questions
Yes — sorting compares each character's underlying value, so uppercase letters (A-Z) come before lowercase ones (a-z), the same default behavior as most spreadsheets and text editors.
No — blank lines or lines containing only spaces are ignored and won't appear in the result.
No — the sorting happens entirely in your browser; nothing is sent to the server.
List Sorter