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

Sort any list in seconds

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. It runs entirely in your browser, so even a long list sorts instantly and privately. Alphabetising is one of those small tasks that crops up constantly: tidying names, ordering a bibliography, sorting tags, or cleaning an import before it goes into a spreadsheet — slow and error-prone by hand past a dozen items, instant here.

The options that change the result

A couple of settings matter more than they first appear. Ignore case decides whether "apple" and "Apple" sort together or separately — usually what you want for a reading list. Numeric / natural sorting is the one people miss: it puts "item2" before "item10" the way a human would, instead of the plain-text order that lands "item10" first. And removing duplicates as you sort is perfect for merging two lists into one clean, ordered set.

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