Put a List in Alphabetical Order
About this tool
About Alphabetical Order Sorter
Alphabetize names for a class register, references for an essay, products for a menu, tags, glossary terms or any list, one item per line. Paste it and get it back in A to Z order instantly, or Z to A with one click. Sorting follows your browser's language rules rather than raw character codes, so capital and lower-case letters sort together, Émile files next to Emily instead of after Zoe, and German, Spanish, Swedish or Turkish letters land where native speakers expect. For titles of books, films and songs, tick Ignore The / A / An to sort The Hobbit under H, as libraries do. Lines that start with numbers can be sorted naturally, so item 2 comes before item 10. Duplicates and empty lines can be removed in the same step, and spaces around each item are trimmed so a stray space doesn't push an entry to the top. Copy the result or download it as a text file. Your list stays in your browser.
Built and maintained by Abhi JainUpdated
How to Put a List in Alphabetical Order
- 1
Paste your list
Paste one item per line into the Lines box.
- 2
Choose the direction
A–Z is selected. Choose Z → A for reverse order, and tick Ignore The / A / An or Remove duplicates if needed.
- 3
Copy
Copy or Download the alphabetized list.
Alphabetical Order Sorter: questions and answers
How do I alphabetize by last name?
Write names as "Last, First" first. Find and Replace can swap "John Smith" to "Smith, John" with the regex (\S+) (\S+) and replacement $2, $1.
Do capital letters come first?
Not by default: Apple, apple and APPLE sort together. Tick Case sensitive to place capitals before lower-case versions of the same word.
Where do numbers and symbols go?
Lines starting with symbols come first, then numbers, then letters. Choose Natural (2 before 10) so numbers inside text sort by value.
Can I alphabetize words in a sentence?
Put each word on its own line first: in Find and Replace with Regex on, replace a space with \n, then sort here.
More Sort Lines presets
Related tools
- Text CleanerRemove duplicate and empty lines, extra spaces, line breaks, HTML tags, curly quotes and invisible characters in one pass.
- Find and ReplaceFind and replace text with several rules at once, plain or regex, match case, whole words and case-preserving replacement.
- Random Name PickerSpin a wheel or draw winners from a list of names, with remove-winner mode and history.
- CSV Viewer & EditorOpen, edit, sort, filter and search big CSV files like a spreadsheet, then export CSV, TSV or JSON.
- Word CounterCount words, characters, sentences and paragraphs, with reading time, keyword density and limits.