Hangman Solver

Enter the letters revealed so far and the letters you got wrong. The solver lists every English word that still fits and tells you which letter to guess next, with the share of possible answers that contain it. It handles single words and phrases, and runs in your browser.

Your puzzle

Letters you know, with _ or ? for each hidden one. Write a word's letters together or spaced out, e.g. c_t or c _ t. Separate joined words with a space, e.g. c_t d_g, and spaced-out ones with /, e.g. c _ t / d _ g. Hyphens aren't accepted: enter each part as its own word.

Letters you guessed that are not in the answer. Optional.

Enter the pattern and any wrong letters, then press Solve.

How to use it

  1. Type the pattern: each known letter in its place and _ or ? for each blank. Letters can be written together or each separated by one space.
  2. For a phrase, put a space between words, e.g. th_ c_t, or / if you spaced the letters out.
  3. List the wrong letters, then press Solve. The first solve downloads the word list; later solves reuse it.
  4. Guess the recommended letter, update the pattern and solve again.

Worked example

Press Load example to fill in the pattern _ A _ _ M A _ with wrong letters E O S T, then Solve.

Seven words fit: HACKMAN, HANGMAN, HANUMAN, JAZZMAN, LANDMAN, PACKMAN and YARDMAN. MADMAN is too short, and BATSMAN is out because S was a wrong guess. Every candidate ends in N, so N is recommended at 100%: guessing it cannot miss. H comes next, in 3 of the 7.

How the recommendation works

A word stays on the list only if it has the right length, has every revealed letter in its place, and has no wrong letter. It also must not have a revealed letter in a blank, because a correct guess shows the letter everywhere it occurs.

For each letter you have not tried, the solver counts how many remaining words contain it. Treating each word as equally likely, that share is the chance your next guess is right, so the letter with the highest share is recommended. For a phrase, each word is matched separately and the chances are combined into the chance that the letter appears anywhere in the phrase.

The word list is ENABLE (Enhanced North American Benchmark Lexicon), a public-domain list of 172,823 words. It includes rare words, so the most likely answer in a real game may be a common word lower down the list.

Best first letters by word length

Before any letter is revealed, the best guess depends on the length. Short words favour A; from six letters on, E is in most words. Shares are of ENABLE words of that length that contain the letter.

LettersWordsBest guesses
296A 27% · O 25% · E 22%
3972A 31% · E 25% · O 24%
43,903A 35% · E 34% · S 33%
58,636S 46% · E 45% · A 40%
615,232E 61% · S 46% · A 43%
723,109E 66% · S 53% · I 48%
828,420E 69% · S 58% · I 54%
924,873E 73% · S 64% · I 61%
1020,302E 76% · I 68% · S 65%
1115,504E 78% · I 74% · S 66%
1211,358E 79% · I 78% · S 69%

FAQ

How does the hangman solver pick the next letter?
It keeps every dictionary word that fits the pattern, then counts, for each letter you have not guessed, how many of those words contain it. The letter found in the most remaining words is the one most likely to be in the answer, so it is recommended first. Ties go to the letter in more words across the phrase, then to the earlier letter in the alphabet.
Why does a revealed letter rule out other words?
In hangman, a correct guess shows that letter in every position where it occurs. If the pattern is _ A _ _ M A _, the hidden squares cannot be A or M, so MADMAN is out even though it otherwise fits.
Can it solve phrases?
Yes. Write the letters of each word together and separate the words with a space (c_t d_g), or use a slash or two spaces if you space the letters out (C _ T / D _ G). Each word is matched on its own, and the recommended letter is the one most likely to appear anywhere in the phrase.
Why is the answer not in the list?
The solver uses the public-domain ENABLE word list of 172,823 English words. It has no proper nouns, brand names or hyphenated words, so names and some phrases will not be found. Check the pattern and wrong letters too: one typo removes the right answer.
Is what I type sent anywhere?
No. The word list is downloaded once when you press Solve, and the matching runs in your browser. The pattern and letters you type are not stored, logged or put in the URL.

Related