Updated
Using Sort words alphabetically
Alphabetize whitespace-separated words or whole lines using English collation. Choose ascending or descending order.
A worked example
The sort words alphabetically changes "pear apple banana" becomes "apple banana pear".
Before you use the result
Word mode removes extra whitespace. English ordering can differ from a dictionary in another language; equal collating values keep their original order.
Cite this page
ToolOctopus. “Sort words alphabetically.” Updated 2026-09-19. https://tooloctopus.com/sort-words-alphabetically.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. Licence and source code.
