QQuick Notepad Online

Alphabetize a list

Paste your list and it's put in alphabetical order as you type. Nothing leaves your browser.

0 items

Order

Written and verified by NayeemPublished Last verified

How do you put a list in alphabetical order?

Paste the list with one item per line, choose A to Z, and copy the result. Items are compared letter by letter from the left; upper and lower case are treated the same by default, and accented letters sort next to their plain letter (é with e).

Which sort option should I use?

What each option does to the list "item 10, The Beatles, item 2, abba".

Sort options compared
A to Zabba, item 10, item 2, The Beatles: plain dictionary order
A to Z + ignore The/A/Anabba, The Beatles (sorted as Beatles), item 10, item 2: band, book and film titles
Natural (1, 2, 10)abba, item 2, item 10, The Beatles: file names, chapters, numbered items
Z to AThe Beatles, item 2, item 10, abba: reverse dictionary order
By lengthshortest item first, ties in A to Z order
Shufflerandom order each time you press it, e.g. picking a draw order
The list item 10, The Beatles, item 2, abba, A Clockwork Orange sorted four ways: A to Z puts item 10 before item 2; natural sort puts item 2 before item 10; ignoring The, A and An files The Beatles under B and A Clockwork Orange under C; by length puts abba first
One list, four sort orders. Every result was produced by this sorter.

How the sorting works

  • Language-aware: it uses your browser's Intl.Collator, so accents and non-English letters sort where readers expect them.
  • Case: with "Ignore upper/lower case" on, "apple" and "Apple" sort together and count as duplicates. Turn it off to treat them as different.
  • Duplicates: the first copy of each item is kept and the rest are removed; the count of removed items is shown under the result.
  • Text isn't edited: ignoring articles only changes the sort position. "The Beatles" still reads "The Beatles".
  • Limits: it sorts whole lines or items, not words inside a sentence, and it doesn't sort by surname. For "First Last" names, put the surname first before sorting.
Alphabetize list tool on a laptop: a nine-item list of band names on the left and the same list in A to Z order on the right, with Édith Piaf sorted under E and the order, case and duplicate options below
A real screenshot with the built-in sample list, sorted A to Z.
Alphabetize list tool on a phone, with the original list on top and the sorted list underneath
On a phone the sorted list appears under your list.

Keep the sorted list

These boxes don't save. Press Open in notepad to keep the result as a note in the online notepad, where it autosaves in your browser. To fix capitals first, run the list through the case converter; to count items and words, use the word counter.

Frequently asked questions

How do I put a list in alphabetical order?

Paste the list into the box with one item per line (or choose comma-separated), keep A to Z selected, and the sorted list appears below straight away. Press Copy result to use it anywhere.

Is my list uploaded anywhere?

No. Sorting runs in your browser with JavaScript. The list isn't saved or sent to a server, so it's gone when you close the tab unless you press Open in notepad.

What does 'ignore The, A and An' do?

It sorts titles by their first real word, the way libraries and music apps usually do. "The Beatles" is sorted under B, but the text itself isn't changed.

What is natural sort?

Natural sort reads numbers as numbers, so "Item 2" comes before "Item 10". Plain A to Z compares character by character, which puts "Item 10" first because 1 comes before 2.

Does it handle accents and other languages?

Yes, it uses your browser's built-in language-aware comparison, so é sorts next to e. Exact rules for some languages can differ slightly from a dictionary's.

How do I alphabetize a list in Word or Google Docs?

In Word, select the list and use Home → Sort. In Google Docs there's no built-in sort for plain lists without an add-on, so pasting the list here and copying it back is often quicker.