Sort words alphabetically
Sort the words of a text from A to Z.
Editor
Sort words alphabetically: what it does
Put every word of a text in alphabetical order, even when the words sit on one line. You can also shuffle them into a random order, or remove repeated words so each word appears only once, whatever its capitals.
Sort words alphabetically: how to use it
- Paste your text or word list.
- Choose to sort, shuffle, or remove duplicate words.
- Select Apply and copy the result.
Sort words alphabetically: when to use it
- Alphabetize the keywords of a tag list or the terms of a glossary written on one line.
- Remove repeated words from a list of tags before pasting it into a form.
- Shuffle vocabulary words to make a quiz or a flashcard set.
Sort words alphabetically: examples
Input
pear apple cherry banana
Result
apple banana cherry pear
Input
travel summer beach travel sun beach
Result
travel summer beach sun
Sort words alphabetically: questions and answers
Are the results on one line?
Yes. The words are joined with single spaces. To get one word per line, run Split text into lines afterwards.
Does removing duplicate words ignore capitals?
Yes. “The” and “the” count as the same word, and the first one is kept.
Are words sorted within each line or across the whole text?
Across the whole text: all words are collected, sorted and written back on one line.
Is punctuation attached to a word kept?
Yes. “apple,” and “apple” are two different words. Run Remove punctuation first if you want them treated as one.
Is my text sent to a server?
No. Everything runs in your browser on your own device, so your text never leaves it.
Related tools
Tools people often use together with this one.
- Reverse text
Flip the text backwards, or reverse words or lines.
- Sort lines
Sort lines A to Z, Z to A, by number or by length.
- Remove duplicate lines
Delete repeated lines and keep one copy of each.
- URL slug generator
Turn any title into a clean, lowercase URL slug.
- Extract numbers from text
List every number found in a text, one per line.
- Remove empty lines
Delete blank lines from your text in one click.