ToolLineup

Word Sorter

This word sorter arranges individual words rather than whole lines, which is what you want for keyword lists, tag sets and vocabulary. Comparison is locale-aware, so accented letters file where a dictionary puts them instead of being dumped after z as a naive byte comparison would do. Ignoring accents entirely is also available, making élan sort next to elan — almost always the intent when a list mixes languages. You can sort A to Z, Z to A, by length, or shuffle at random, remove duplicates as you go, and choose what separates the words in the output so the result is ready to paste wherever it is going.

How it works

Sorts individual words rather than whole lines, which is what you want for word lists, keyword sets and tag collections. Comparison is locale-aware, so accented letters file where a dictionary would put them.

Ignoring accents makes élan sort next to elan rather than after z, which is almost always the intent when the list mixes languages.

Everything runs in your browser — nothing you paste is sent to a server.

Text input
Paste or type your text here…
Sorted words

0 words in · 0 out.

Words, not lines

Sorting lines and sorting words are different operations that get confused constantly. If your input is a list with one item per line, you want the line sorter. If it is a run of words — a tag list, a keyword set, a vocabulary list — you want this one, which splits on whitespace first.

Where accented words belong

A byte-order comparison puts every accented letter after z, so élan lands at the end of the list, far from elan. That is never what anyone wants.

Comparison here is locale-aware, which places accented letters where a dictionary does. The accent-folding option goes further and treats them as identical for sorting purposes, which is the right call when the list mixes languages and you simply want related words adjacent.

Common use cases

  • Alphabetising a tag or keyword list before publishing it.
  • Ordering vocabulary for study or reference.
  • De-duplicating a word list that has grown by accretion.

Frequently asked questions

How do I sort words alphabetically?

Paste your words into the left panel — separated by spaces, line breaks or both. The sorted result appears on the right.

How is this different from sorting lines?

Line sorting keeps each line intact and orders the lines. Word sorting splits on whitespace and orders the individual words, which is what a keyword or tag list needs.

Where do accented words sort?

Comparison is locale-aware, so é files with e rather than after z. Turning on "Ignore accents" folds them entirely, so élan and elan sort adjacent.

Can I sort by length?

Yes. Shortest first, with words of equal length falling back to alphabetical order so the result is stable.

How do I get a comma-separated list back?

Type ", " into the "Join with" field and the sorted words are joined with that instead of a space.

Is my list uploaded?

No. Sorting happens entirely in your browser.

Related tools