Word Sorter
Sort the words in your text alphabetically or by length.
Word Sorter
Sort the words in any text alphabetically or by length. Paste a sentence, paragraph, or list of words and get them back in order – ascending or descending, with optional duplicate removal.
Features
- A → Z and Z → A alphabetical sorting.
- Sort by length to find the shortest or longest words.
- Case-insensitive sorting so "Apple" and "apple" sit together.
- Remove duplicates to get a unique word list.
- Output as space-, line-, or comma-separated list.
- Natural number ordering and proper handling of accented letters.
Use cases
Create vocabulary lists, alphabetize tags or keywords, build glossaries and indexes, or tidy up a jumbled list of names. To sort whole lines instead of individual words, use the Line Sorter; for comma-separated lists, try Alphabetical Order.
Frequently Asked Questions
How does the word sorter split my text?
Words are separated by spaces, line breaks, commas, and semicolons. Punctuation at the start or end of a word (like a trailing period) is removed so it doesn't affect the order.
Are numbers sorted naturally?
Yes. The sorter uses natural ordering, so item2 comes before item10, and it follows the alphabetical rules of the Unicode Collation Algorithm for accented letters.
Can I sort by word length?
Yes. Choose 'Word length' under 'Sort by' to order words from shortest to longest (A → Z) or longest to shortest (Z → A). Words with the same length are sorted alphabetically.