Text tools

Alphabetical Order Sorter

Put a List in Alphabetical Order

Put a list in alphabetical order, A to Z or Z to A, with accents and capitals handled correctly.

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. 1

    Paste your list

    Paste one item per line into the Lines box.

  2. 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. 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.