Anagram Solver: Every Word Your Letters Can Spell, in 81 Languages

An anagram solver answers one question: given this set of letters, which dictionary words can be built from them? This one answers it for 81 languages, English by default, and it answers it four ways. Exact anagrams use every letter you typed. Shorter words use any part of your pool, longest first, grouped by word length. Patterns let you leave letters unknown, so a crossword entry with two gaps is one query. Phrases spend the whole pool on two or three words at once.

Everything happens in the browser tab. The list for the chosen language is fetched from the site once, indexed in memory, and from then on the searching is arithmetic on your own machine. Nothing you type leaves the page.

The numbers below are not estimates. Each count was produced by the same index the page builds, over the same English list the page downloads.

What counts as an anagram

Two words are anagrams when they hold the same multiset of letters: the same letters with the same repetition counts. Case, spaces and punctuation are dropped before the comparison, which is why phrases can be anagrammed as readily as single words, and why "the morse code" and "here come dots" are the same pool of letters rather than two different strings.

The standard test is to sort the letters of each candidate and compare the sorted forms. That sorted form is the signature. "Listen" sorts to eilnst and so does "silent"; "earth", "heart", "hater" and "rathe" all sort to aehrt. Sorting discards the arrangement that does not matter and keeps the letter counts that do.

Does the signature approach make anagrams rare? Not as rare as the game defaults suggest. Our English list holds 172,823 words, and 28,648 of them share a signature with at least one other word. The other 144,175 stand alone. Against that list, "listen" has six exact anagrams: elints, enlist, inlets, listen, silent, tinsel. "Earth" has four: earth, hater, heart, rathe. A three-letter pool behaves exactly as you would expect: "cat" yields act and cat, and nothing else.

The technique is old enough to predate the word processor. Literary anagrams hide names in plain sight, from "Tom Marvolo Riddle" to "I am Lord Voldemort", and cryptic crossword setters have used letter rearrangement as a clue type for a century.

How the index finds the anagrams in one lookup

Ask a different question and the design follows. Instead of generating permutations and testing each one, a solver can compare, and comparison is what turns an exponential job into a linear one. For every dictionary word, sort its letters once and store the word under its signature. The signature becomes a key; the value is the list of words that own it.

Building that map costs time proportional to the number of words times the average word length times the logarithm of the length, the sort cost, and space of the order of the list size itself. Querying costs one sort of what you typed, then a single map lookup. That is the whole reason a browser solver answers instantly over a list of 172,823 words: the work was paid at load time, once, not per search.

Our English index is built the moment the file arrives, keyed by sorted letters exactly as described. Exact mode with accents left alone takes that one lookup, roughly 75 ms from click to rendered list in a desktop browser. The other modes have no signature to look up, so they walk the whole set once: shorter words take about a quarter of a second over 172,823 entries, and pattern search over the same list lands in the same range. That is the cost of asking a question the index was not precomputed for, paid per search rather than per character.

Two engineering details are worth naming. The list is cached per language, so switching back and forth does not re-download anything. And the parser accepts any Unicode letter, keeping combining marks, so Devanagari vowel signs, Arabic diacritics and Thai marks count as part of the word instead of being stripped out.

Four ways to ask

The mode control sits above the input and decides what the answer means.

Exact anagrams use every letter once, in the same counts. This is the classic rack question and the fastest path, because it is a single lookup.

Words from these letters returns every dictionary word that fits inside your pool, any length down to two letters, longest first and grouped by length with a count per group. A seven-letter rack almost never plays its full anagram, and this is the mode that shows what a rack is actually worth.

Pattern with gaps is for the letters you do not know. ? and _ each stand for one unknown letter, * stands for any run of them. l?sten returns listen; *ing returns 12,564 words that end in ing, which is the honest measure of how much a wildcard widens the field.

Two- or three-word anagrams spends the whole pool on a phrase: every way to combine two words, or three, whose letters together account for your input exactly. It is the mode for phrase anagrams and for crossword entries clued as two words.

Pool Mode Result
listen exact 6 words: elints, enlist, inlets, listen, silent, tinsel
listen shorter 90 words: 6 six-letter, 16 five-letter, 32 four-letter, 25 three-letter, 11 two-letter
earth shorter 48 words: 4, 14, 19 and 11 across four groups
cat shorter 4 words: act and cat, plus at and ta
l?sten pattern listen
*ing pattern 12,564 words
silent phrase, two words 86 pairs
notices phrase, three words 99 triples

"Listen" is the instructive shorter row. Six words use every letter, and eighty-four use fewer. The largest group is four letters, thirty-two words, which is where most of the useful material sits for a short pool. The two-letter group looks like trivia until you need to hook a word onto an existing board, and then "at", "ta", "in" and company are the plays that keep the score moving.

The phrase list stops at 200 combinations, in dictionary order, so a pool that supports thousands of phrases returns the first two hundred rather than an unbounded wall of text.

Filters that cut the list instead of growing it

Shorter and pattern modes carry a row of filters, and they are the difference between a list you read and a list you scan.

Min length and exact length constrain the answer's size, which is what you want when the crossword cell is nine letters and the shorter list is four hundred words long. Contains, starts with and ends with constrain the letters: a Wordle player knows the letter is somewhere in the word, a tile player knows the hook letter has to open it.

Against the "listen" pool, shorter mode returns 90 words. Ask for four letters or more that contain "it" and the same pool returns eight: lite, lits, nite, nites, nits, site, slit, snit. Eight answers instead of ninety is the whole point of the filter row.

Filters combine, and each one narrows the previous result. They apply to the whole dictionary, not to the already rendered list, so the count at the top of the results card is the count that matches every condition.

Accents, umlauts and the two ways German is typed

An anagram in a language with diacritics raises a question a Latin-only solver never faces: is the accent part of the letter or a decoration on it? The answer depends on who is typing, so the accent control offers three behaviours and the search honors whichever you pick.

Keep as typed treats ü and u as different letters, which is correct for a dictionary that stores them separately. Ignore accents folds them, so "grusse" finds grüße, grüsse and gruess: three words in the German list, all reachable from the same ASCII pool. Umlauts as two letters is the German convention for keyboards without the keys: ü becomes ue and ß becomes ss, so "gruesse" finds grüsse and grüße, two words, and no longer matches the ASCII spelling gruess, whose letters no longer line up.

The same control works on é, à, ñ, ç and every other combining form through Unicode normalization, so French, Spanish, Portuguese and Vietnamese lists behave consistently. Non-Latin scripts are unaffected: a Devanagari matra or a Thai tone mark stays attached to its base letter and the word matches as written.

First names, because half the good anagrams are people

Word lists are built from vocabulary, not from people, so "nora" as an exact anagram returns one word: roan. Turn on Include first names and the same pool returns four: aron, nora, oran, roan. Names are exactly where short pools pay off, and in a family-name puzzle, a cryptic clue pointing at a person, or a game where a proper noun is legal, the vocabulary list alone looks broken.

The bundled name lists cover six languages, from 3,588 English names to 100 Italian ones, and the switch appears only for those six, because offering it where there is no list would be a control that does nothing. Names are merged on top of the word list for the current language, and the search runs over the merged set, so toggling the switch and searching again is the comparison.

Eighty-one dictionaries behind one control

The language picker is not a list of interface translations. Each entry selects a different word list, a separate file served from the site's own directory, and the solver then matches against that list alone. English is the default, and the picker is ordered alphabetically so English sits among the Ds and Es rather than at the top.

Language File size Language File size
English 1.7 MB German 2.0 MB
Russian 3.3 MB Romanian 1.7 MB
Marathi 7.1 MB Odia 21 KB

Across all eighty-one lists the download is 150.0 MB, which is worth knowing before you click through every language in one session; the lists you actually use are the ones that cost you anything, and each is cached after its first load. English, the usual case, is 1.7 MB.

Switching the language clears the field and the results, because a pool typed for one alphabet has nothing to match in another.

Solving a rack, a grid or a cryptic clue

The technique changes with the puzzle, and each mode maps onto one of them.

For a tile game such as Scrabble, type the seven tiles of your rack and read the shorter list. The seven-letter group first, because playing all seven earns the fifty-point bonus, then the sixes, then the shorter groups for words that hook onto the board. When the board fixes the first letter, add starts with and the list collapses to the plays that actually fit. Twelve-letter pools are the practical ceiling in these games and the solver handles them without a special mode.

For Wordle-style puzzles, the exact mode is the wrong tool and the filters are the right one. Type the letters you know are present from green and yellow answers, switch to shorter words, set exact length to five and contains to the letter you are still placing. The result is the candidate set, not the whole dictionary.

For cryptic crosswords, find the anagram indicator in the clue, words like arranged, broken, wild or shifting, type the letters it governs, and use the pattern mode when the clue also gives you a letter or two in place: ?ran?e returns grange, orange, prance and trance, four candidates from one line of input, and ?range narrows it to two. For a multi-word entry, phrase mode answers the whole entry at once.

For a puzzling name, an obscure surname or a band, the names switch is what turns a one-word answer into a list.

What this anagram solver does not do

Scope is part of a tool's description, so here is the boundary.

It does not show tile scores or dictionary definitions, and it does not carry the official Scrabble or Words With Friends lexicons: the lists are general-language dictionaries, so a word legal in a tournament may be missing and a word present may be illegal there. A scoring helper answers "which of these tiles should I play" better than this does.

There is no exclude filter. You can require a letter to be present, to start or end a word, or to sit at a known position through a pattern, but you cannot say "words without the letter e". Typing a letter twice is how you allow it twice, so the pool itself is the constraint.

The phrase mode is a bounded search, not an exhaustive one: two or three words, dictionary order, the first two hundred combinations. Longer phrases and sentence-sized anagrams belong to a different tool with a different search strategy.

What it offers in exchange is the breadth in the other direction: eighty-one languages including scripts that Latin-only tools skip, four search modes behind one input, and a search that never sends your letters anywhere.

Frequently Asked Questions

Is the anagram solver free, and is there a usage limit?

It is free, with no account, no sign-up and no daily cap. The only cost is the one-time download of the dictionary for the language you pick; after that every search is local.

How large is the dictionary?

The English list holds 172,823 words and is 1.7 MB. All eighty-one lists range from 21 KB for Odia to 7.1 MB for Marathi, 150.0 MB in total.

How many anagrams does "listen" have?

Six exact anagrams: elints, enlist, inlets, listen, silent and tinsel. The shorter mode on the same pool returns ninety words, of which thirty-two are four letters long and eleven are two letters long.

Can it find words that use only some of my letters?

Yes, that is the shorter mode. It returns every word that fits inside your pool, down to two letters, grouped by length with a count for each group, longest group first, and the filter row narrows that list by length and by letters.

Can it solve two-word or phrase anagrams?

Yes. Phrase mode spends the whole pool on two words, or on three if you switch the word count. "Silent" gives 86 two-word pairs, "notices" gives 99 three-word ones, and the list stops at 200 combinations.

Does it support wildcards or pattern filters?

Yes. In pattern mode, ? and _ stand for one unknown letter and * stands for any number of them, so l?sten returns listen and *ing returns 12,564 words. Shorter and pattern modes also filter by minimum length, exact length, contains, starts with and ends with.

Do names count as words?

Only when you switch them on. The name lists cover English, German, Spanish, French, Italian and Dutch, and they are merged into the word list for the current language, so "nora" returns four anagrams with names and one without.

Do I need to install anything?

No. It runs in the browser tab, the list is downloaded when you pick the language, and no letters you type are uploaded or stored.

What happens if the dictionary fails to load?

The page shows an error card with a Retry button instead of a broken search box. The dictionary is a single file request, so a transient network failure is usually cleared by pressing Retry.

Artem Andreev
Artem Andreev

Taganrog, Russia · SO reputation 19902 · Badges: 5🥇46🥈42🥉 · SO member since 2010