Letterpile

Hangman Solver

Type the word as it stands, with an underscore for each blank, and the letters you've already missed.

Use _ or ? for each blank. Possible words and the best next letters appear here.

In hangman, one player thinks of a word and draws a blank for each letter; the other guesses letters one at a time. A right guess fills in every copy of that letter, and a wrong one adds a stroke to the gallows. This solver takes the word as it stands, plus the letters that have already missed, and lists every word in our list that still fits. It also ranks the letters you haven't tried by how many of those words contain them, which is the simplest good way to choose the next guess.

How to use it

  1. Type the pattern: known letters in place and an underscore (or a question mark) for each blank. _A__E_ is a six-letter word with A second and E fifth.
  2. Type every wrong guess so far, in any order.
  3. Press Find words. You'll see how many words fit, the best letters to try next, and the words themselves, everyday words first.

A worked example

Say the board shows _A__E_ and you've already missed S, T and O. The solver finds 441 words that fit. The best next guess is R, which appears in 265 of them (60%), with D close behind in 253. If R turns out to be the last letter, the field drops to 137 words.

Why the rules matter to the search

Two hangman rules do a lot of the work. First, a correct guess reveals every copy of the letter, so a blank can't hold a letter that's already showing. With _A__E_, no blank can be another A or E. Second, a missed letter appears nowhere in the word. The solver applies both, which is why it can cut thousands of words down to a few hundred after two or three guesses.

Choosing the next letter

The ranking counts, for each untried letter, how many remaining words contain it at least once. Guessing the top letter gives you the best chance of a hit, and a hit usually splits the remaining words into much smaller groups depending on where the letter lands. At the very start of a five-letter game, with nothing filled in, 8,564 words are possible and the top letters are S, E and A.

A cleverer guesser can sometimes do better by picking a letter that splits the words evenly rather than one that's merely common, but the difference is small and the common-letter rule is easy to follow at the table.

Tips for setting a hard word

  • Short words are harder than long ones. A long word gives away many letters with each hit; a short word with uncommon letters leaves few clues.
  • Avoid the common letters. Words built from J, X, Z, Y and a single vowel resist the usual E-A-R-S-T opening.
  • Repeated letters don't help much. One right guess fills in every copy, so a word with three E's is easier, not harder.

Limits

The solver uses ENABLE, an open word list for word games, so it knows many rare words. That's useful when you're stuck and less useful when your friend picked an everyday word; the everyday words are listed first for that reason. Names, places and phrases aren't in the list. Up to 400 words are shown, and the count covers all of them.

Privacy

The search runs in your browser. The address bar keeps the pattern and misses so you can share the position.

Frequently asked questions

How do I type a blank?
Use an underscore or a question mark for each unknown letter. Spaces are ignored, so “_ A _ _ E _” works too.
How is the best next letter chosen?
For each letter you haven't tried, the solver counts how many remaining words contain it. The letter in the most words is listed first.
Why can't a blank be a letter that's already showing?
In hangman a correct guess reveals every copy of the letter, so any other copy would already be on the board.
Does it work for phrases?
Not as a whole. Solve one word at a time, using the same wrong guesses for each word.
It says no words fit. What now?
Check the pattern length and the wrong letters. The word may also be a name, a phrase or a word not in the ENABLE list.

Last updated:

In the ENABLE word list. Definitions come from the Free Dictionary API; looking one up sends the word and your IP address to that service.