Alphabetizer
A list in the order it occurred to you is not a list anyone can use. Paste it in β one item per line β and get it back in clean alphabetical order, with the duplicates and blank lines swept out if you want.
How to use
- Paste your list β one item per line. Names, titles, inventory, bibliography entries, whatever needs order.
- Pick your options. Natural sort is on by default so numbered items order the way humans expect; dedupe and blank-line cleanup are one tick each.
- Hit Alphabetize, then copy the result straight back into your document, spreadsheet, or code.
Alphabetical order has more fine print than you think
Sorting A to Z sounds like the simplest job in the world until the edge cases show up. Should "item 10" come before "item 2"? A naive computer sort says yes β it compares character by character, and "1" beats "2" β but every human expects 2 first. That's the difference between lexicographic and natural sorting, and it's why the natural-sort option here is on by default: runs of digits inside a line are compared as numbers, not as strings of characters.
Case is the second trap. In raw character codes, all the capital letters sort before all the lowercase ones, so "Zebra" would beat "apple" β technically consistent, practically useless. By default this tool compares case-insensitively, the way dictionaries and phone books do, and keeps each line's original capitalization in the output. Turn on case-sensitive sorting only when you genuinely need code-point order, usually for programming work.
Then there's the question sorting can't answer for you: which word a line should sort by. Bibliographies sort names by surname, so "Charles Dickens" belongs under D, not C β most alphabetizers, this one included, sort by the start of the line. The fix is to format the input the way you want it sorted ("Dickens, Charles") before pasting. Same story with titles: libraries ignore a leading "The", "A", or "An" when shelving; if that's your convention, strip those words first or sort, then scan the T section for strays. A few minutes of input hygiene beats any cleverness in the sort itself.
Frequently asked questions
What is natural sort, and why is it on?
Natural sort compares embedded numbers as numbers, so "item 2" sorts before "item 10". Plain alphabetical (lexicographic) sorting compares character by character and would put "item 10" first, because "1" comes before "2". Natural order matches human expectation for file names, chapters, and numbered lists.
Does it sort by last name?
It sorts by whatever starts each line. To sort people by surname, put the surname first in your input β "Dickens, Charles" instead of "Charles Dickens" β then alphabetize. This is the same convention used by bibliographies and indexes.
Will it change my capitalization?
No. Sorting compares lines case-insensitively by default but outputs every line exactly as you typed it. Only the order changes β unless you tick case-sensitive sort, which changes the order logic, never the text.
Can it remove duplicates while sorting?
Yes β tick "Remove duplicate lines". Duplicates are matched exactly (same characters); lines that differ only in capitalization count as different unless they match character-for-character. The result line under the output tells you how many lines came out versus went in.
Is my list uploaded anywhere?
No. The sorting happens entirely in your browser with the same list-sorting code any app would use locally. Nothing is sent to a server, saved, or tracked β paste private lists with confidence.
Related tools
Keep the momentum going.