Skip to main content
FixLines

Sort words alphabetically

Sort the words of a text from A to Z.

Editor

Ln 1, Col 10 lines0 words0 characters

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

  1. Paste your text or word list.
  2. Choose to sort, shuffle, or remove duplicate words.
  3. 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

Sort a line of words

Input

pear apple cherry banana

Result

apple banana cherry pear
Deduplicate a tag list

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.

Tools people often use together with this one.

More in Words & lettersBrowse all text tools