Alphabetical Order Tool

Put any list in ABC order, reverse it, or sort by length, right in your browser.

Runs in your browser — nothing is sent or saved.

How to put a list in alphabetical order

  1. Paste your list into the box, one item per line.
  2. Set the options: ignore case, remove blank lines, or remove duplicates.
  3. Press "A → Z" for normal order, or another button for a different sort.
  4. Copy the sorted list when you are happy with it.

The ways you can sort

A → Z puts your lines in normal dictionary order. Z → A reverses it. Shortest first and Longest first sort by how many characters each line has, which is handy for finding the odd long entry in a list or lining up words by size.

Natural order for numbers

Most sort tools put item10 before item2, because they compare text one character at a time. This tool uses natural order, so item2 comes before item10, the way a person would expect. That matters for file names, version numbers, and any list where numbers sit inside the text.

Clean while you sort

The three options let you tidy the list in the same step. Remove blank lines clears empty gaps. Remove duplicates drops repeated entries. Ignore case treats Apple and apple as the same word for sorting and for finding duplicates. You can leave them all on for a quick cleanup, or turn them off for an exact sort.

FAQ

Does it sort by the first letter only?

No. It compares the whole line, letter by letter, so apple pie and apple tart end up in the right order, not just grouped by "apple".

Will numbers sort correctly?

Yes. Natural order is used, so 2 comes before 10. Plain text sorters often get this wrong.

Can I sort names by last name?

Not directly. This tool sorts each line as written. To sort by last name, put the last name first on each line, then sort.

Does it change my capital letters?

No. "Ignore case" only affects the sort order. The letters in your list stay exactly as you typed them.

Is my list private?

Yes. It is sorted in your browser and never sent anywhere.

How do I sort a list alphabetically?

Paste the list, one item per line, and choose A to Z. The tool will alphabetize the lines at once. Z to A and sort by length work the same way, and you can copy the sorted list out with one click. Teachers and students often use this to sort alphabetically for bibliographies and name lists.