Sort words
Sort the words of your text alphabetically or by length, with optional deduplication.
Related tools
Sort words
Paste any text and this tool splits it into words and puts them in the order you choose. You can sort A → Z or Z → A, or arrange the words by length with the shortest or the longest first. It is the quick way to alphabetize a list of tags, tidy a bag of keywords, order names, or turn a jumbled paragraph into a clean, sorted word list.
Four switches shape the result. Case-insensitive, on by default, treats "Apple" and "apple" as the same word for sorting, so capitalisation does not scatter related words. Ignore punctuation compares words without their leading or trailing marks — so "apple," sorts next to "apple" — while still keeping the punctuation in the output. Remove duplicates drops repeated words and keeps the first one it meets; when case-insensitive is on, "Apple" and "apple" count as the same word. Finally you choose how the sorted words are joined: by a space, one per line, or comma-separated.
Sorting uses your browser's locale-aware comparison, so accented letters land where they belong — á after a, č after c, ł near l, ő and ű in their Hungarian places — instead of being pushed to the end as they would be in a naïve byte sort. Words containing emoji or other symbols are sorted without error, and line breaks, tabs and multiple spaces all count as word boundaries.
Everything runs locally in your browser. The tally under the output shows the total word count, how many are unique and the character count, and the result updates as you type. Your text is never uploaded anywhere.