Alphabetizer

Sort a list of words or lines into alphabetical order, with options to reverse and remove duplicates.

About this tool

Paste a list and put it in alphabetical order instantly. Sort A→Z or Z→A, or by line length; optionally remove duplicate entries, ignore or respect capitalisation, and sort lines that start with a number in true numeric order rather than as text. Useful for tidying reference lists, bibliographies, glossaries, tag lists, and CSV columns. The sorting happens entirely in your browser.

Frequently asked questions

How are capital letters handled?
By default the sort ignores case, so "apple" and "Apple" sit together. Tick "Case sensitive" to sort uppercase and lowercase separately using the browser's locale-aware comparison.
What does "Sort numbers numerically" do?
Without it, "10" sorts before "9" because it compares character by character. With it, lines are compared as numbers where possible, so 2, 9, 10, 100 come out in that order.
Does it keep blank lines?
Only if you untick "Trim & drop blank lines". With it on, leading and trailing spaces are removed and empty lines are discarded before sorting.