Word Sorter
Sort words alphabetically, by length, or by frequency — ascending or descending.
12 words
apple apple apple banana banana cherry cherry grape kiwi mango mango orange
12 words
How the word sorter works
Words are split on whitespace, then sorted according to the chosen mode. Alphabetical sorting uses locale-aware comparison. Length sorting places shortest or longest words first, with an alphabetical tiebreaker. Frequency sorting counts how many times each word appears in the input and sorts by that count. The "Remove duplicates" option keeps only the first occurrence of each word (case-insensitive).
For more detailed word analysis, see the Word Frequency Counter. To remove duplicate lines instead of words, try Duplicate Line Remover.
Private & free — this tool runs entirely in your browser.
Related Text Tools tools
Case Converter
Convert between Sentence, Title, camelCase, snake_case, and more.
Word Counter
Count words, characters, and analyze keyword density.
Text to Binary
Convert text into its 8-bit binary representation.
Binary to Text
Decode 8-bit binary back into readable text.
Text Reverser
Reverse text by characters, words, or lines.
Remove Duplicate Lines
Delete repeated lines and keep your list unique.
Remove Empty Lines
Strip blank and whitespace-only lines from text.
Sort Lines Alphabetically
Sort lines A–Z or Z–A, case-sensitive or not.