Logic & number locks

Codebreaker Puzzle Generator & Solver

Solve Mastermind-style number lock clues or make your own mystery geocache challenge. Count digits in the correct position and digits that are correct but misplaced — with accurate handling of repeated digits.

Enter the recorded attempts

Choose the code rules, then enter each guess and its exact / misplaced feedback. The page also shows peg-style feedback previews so it feels more like Mastermind. Leading zeroes count.

Clues

3 attempts
AttemptExactMisplaced

Solution

The solver tests every allowed code against every reported attempt.

Ready to solve
? ? ?
Enter the clues on the left and select Solve Code to see matching combinations and step-by-step eliminations.

How codebreaker clues work