Wordle Solver

An entropy-based algorithm that solves any Wordle in 3.8 guesses on average

Try it yourself

Enter any 5-letter word and see the algorithm solve it step by step.

How it works

The solver pre-computes every possible 5-letter Wordle answer (~5,700 words) and picks guesses that maximize information gain — each guess is chosen to eliminate the most remaining possibilities, regardless of whether the guess itself could be the answer.

It always opens with "arose", the highest-entropy first guess in the dataset. From there it narrows the candidate pool until only one word remains. The algorithm was benchmarked against every word in the dictionary — it wins 87% within 6 guesses, averaging 3.8 per game.

87% Win rate
3.8 Avg. guesses
5,757 Words tested

Built with

Python Information Theory Pandas Matplotlib