Home / Alphabetize list

Alphabetize a list

Paste a list and put it in alphabetical order, instantly. Also Z to A, by number, by length, by last name, reversed or shuffled.
Your lists never leave your device: everything runs in this page. No upload, no sign-up.

Your list

Empty

Sorted

How to alphabetize a list

  1. Paste or type your list, one item per line. A list on one line separated by commas also works.
  2. Pick an order: A to Z is selected. The sorted list appears on the right as you type.
  3. Copy or download it. The arrow button moves the result back into the input if you want to keep editing.

Sorting that does what you expect

  • Ignore capitals (on): apple and Apple sort together, instead of every capitalized word coming first.
  • 2 before 10 (on): Item 2 comes before Item 10, the way people read numbers. Strict character order puts 10 first, because the character 1 comes before 2.
  • Ignore "The", "A", "An": titles of books, films and bands sort by their first real word, so The Beatles files under B. The word stays in the text.
  • By last word (last names): Anna Lopez sorts under L. Useful for class lists and guest lists.
  • Ignore symbols at the start: quotes, bullets and hashtags at the start of an item do not push it to the top.
  • Accents: Élodie sorts next to Elodie, not after Z.

Other orders

By number sorts by the first number in each line (prices, scores, sizes), with lines that have no number at the end. Shortest first and Longest first sort by length. Reverse flips the list exactly as it is, and Shuffle puts it in random order.

Turn on A, B, C headings to group the sorted list under a letter for each new initial, like a directory.

Related tools

Questions

How do I put a list in alphabetical order?

Paste the list, one item per line. A to Z is selected, so the result is already sorted. Copy it.

Why does 10 come before 2 in other tools?

They compare character by character. With 2 before 10 switched on, whole numbers are read as numbers.

Can I sort names by last name?

Yes. Turn on By last word (last names). The names stay as written; only the order changes.

Can I alphabetize a comma separated list?

Yes. Auto detects a list on one line with commas, and the sorted list comes back with commas.

Can I remove duplicates while sorting?

Yes, turn on Remove duplicates. For more choices, use the duplicate remover.