Sort Words Alphabetically

Sort a list of lines or individual words A–Z or Z–A. Useful for glossaries, tags, and messy pasted lists.

Keyboard: Ctrl or ⌘ + Enter copies. Escape clears. Text stays in this browser.

Character Count: 0 | Word Count: 0 | Sentence Count: 0 | Line Count: 0

Lines or words, A–Z or Z–A

Choose whether to sort each line as a unit or to split on whitespace and sort tokens. Direction flips between ascending and descending. The default comparison is lexicographic for the current locale’s simple string order—not a dictionary that ignores “The.”

Glossaries, tags, and messy exports

Paste a column of names, a cloud of hashtags, or a vocab list. Number Sorter is the right tool when the items are numeric (`10` should not sort before `2` as text). Duplicate Line Remover is for uniqueness, not order.

Case, accents, and stability

Uppercase letters may sort before lowercase depending on code points. Accented letters follow Unicode order, which is not always dictionary order for a given language. Keep a copy of the unsorted list. Sorting is local.

Frequently asked questions

Does it sort numbers by value?

No. “10” comes before “2” in plain text sort. Use Number Sorter for numeric lists.

Can I sort by last name?

Only if each line is already “Last, First” or you split columns first. This page does not parse name parts.

Are blank lines kept?

Empty lines are sorted like empty strings and often cluster at the start or end. Remove them first if they pollute the list.