Alphabetize Text

Alphabetize text & sort lists

Put any list in alphabetical order. Sort by line, word, or comma — A→Z or Z→A — with options to ignore case, remove duplicates, and sort numbers naturally.

▌ Input
▌ Sorted

How to alphabetize a list

Paste your list on the left (one item per line works best), choose your options, and tap Alphabetize. The sorted result appears on the right, ready to copy.

Options

  • Sort by — lines (the default), individual words, or comma-separated items.
  • Order — ascending A→Z or descending Z→A.
  • Ignore case — treat "apple" and "Apple" the same so capitals don't jump to the top.
  • Numeric / natural — sort so "item2" comes before "item10" instead of after it.
  • Remove duplicates — keep only the first of each repeated entry.
  • Drop blank lines — clean out empty rows as it sorts.

Everything runs locally in your browser, so even long lists sort instantly and privately.

FAQ

How do I put a list in alphabetical order?
Paste your list above with one item per line, leave 'Sort by' on Lines, and click Alphabetize. Use the Order option to choose A→Z or Z→A.
Can it sort a comma-separated list?
Yes. Set 'Sort by' to Comma-separated and it will split on commas, sort the items, and rejoin them.
Why does 'item10' sort before 'item2'?
Plain alphabetical order compares character by character, so '1' beats '2'. Turn on 'Numeric / natural' to sort numbers the way people expect.
Does it remove duplicates?
It can — tick 'Remove duplicates' to keep only the first occurrence of each item while sorting.

Related tools