Safe Cracker is a free online crack-the-code logic puzzle. Every safe comes with a sheet of earlier attempts and their verdicts, in the wording these riddles always use: "One number is correct and well placed", "Two numbers are correct but wrongly placed", "Nothing is correct". Exactly one code fits every line, and you find it by reasoning, not by guessing. Cross digits out or ring them on the sheet, turn the brass wheels and pull the handle — three wrong codes set off the alarm. Twelve safes run from a 3-digit school locker to a 5-digit bank vault, and every sheet is freshly generated and checked to have a single answer.
How to play Safe Cracker
- Each safe has 3, 4 or 5 dial wheels, and its code uses a different digit from 0 to 9 on every wheel — no digit appears twice.
- The sheet beside the safe lists earlier attempts at the code. Next to each is its verdict: how many of its digits are in the code and on the right wheel ("well placed"), and how many are in the code but on another wheel ("wrongly placed"). "Nothing is correct" means none of its digits is in the code.
- Exactly one code agrees with every line. Work it out by comparing the lines — you never need to guess.
- Tap a digit on the sheet, or in the row of digits under it, to cross it out; tap again to ring it as in the code; a third tap clears it. The mark shows on every line at once.
- Set the wheels with the ▲ and ▼ buttons or by scrolling over a wheel. On a keyboard, type the digits; the arrow keys move between wheels and turn them, Backspace clears a wheel and Enter pulls the handle.
- Press Open to try the code. A wrong code costs one of three tries and is listed under the dial so you never repeat it. A code with a digit twice, or an empty wheel, costs nothing.
- After three wrong codes the alarm rings: try the same sheet again with the tries refilled, or take a new sheet.
- Hint sets one wheel to its right digit, two hints per safe. A clean crack earns three stars, one wrong code or hint two, anything more one. Opening a safe unlocks the next.
Tips
- Start with "Nothing is correct": every digit on that line is out of the code, on every wheel.
- A line's two numbers added together tell you how many of its digits are in the code at all. Lines that share digits often settle which ones.
- "Wrongly placed" also says where a digit is not: whichever of that line's digits is in the code, it is not on the wheel where the line shows it.
- When a line says one number is well placed and you have ruled out all but one of its digits, that digit sits exactly where the line shows it.
- Count: the code holds exactly as many digits as there are wheels. Once you have found them all, every other digit is out.
- On the harder safes, ask "what if this digit is in the code?" and follow the lines. If one of them can no longer be true, the digit is out.
FAQ
Is Safe Cracker free to play?
Yes. It runs in the browser with no download, no sign-up and nothing to buy. All twelve safes are included and unlock one after another.
How do "crack the code" puzzles work?
You are shown several attempts at a secret code, each with a verdict: how many digits are correct and well placed, and how many are correct but wrongly placed. From those lines alone you deduce the one code that fits them all. Safe Cracker uses the classic wording, and no digit is used twice in the code or in any attempt.
Does every safe have exactly one answer?
Yes, and it is checked, not assumed. A sheet is made by printing random attempts at a random code until only that code fits, then striking every line the answer does not need, so taking away any line would let a second code in. Before a sheet is shown, the game counts every possible code against it to confirm there is one answer, and a solver that reasons line by line, the way you would with a pencil, has to crack it.
Will I ever have to guess?
No. On Safe 1 and Safe 4 every step follows from one line and what you already know. The other safes need "what if" reasoning: suppose a digit is in the code, follow the lines, and watch one fail. The solver counts those steps, and each safe sits in its own band: one on Safe 2, two or three on Safe 3, up to nine to twelve on the Bank Vault.
How is Safe Cracker different from Codebreaker?
In Codebreaker you make the guesses and coloured pegs answer each one, so you choose what to try. In Safe Cracker the attempts are already printed and they are enough: the whole puzzle is deduction from a fixed sheet, and dialling a wrong code only costs one of your three tries.
What happens if I enter the wrong code?
You lose one of three tries and the code is listed under the dial. Repeating a code you already tried, leaving a wheel empty, or using a digit twice costs nothing. After three wrong codes the alarm rings and you can try the same sheet again or take a new one, but the wrong codes still count against your stars.
How many safes are there?
Twelve: three with 3-digit codes, four with 4 digits and five with 5 digits, ending at the Bank Vault. New Sheet deals a fresh sheet on any safe you have reached, so there is always another code to crack.
Does Safe Cracker work on a phone?
Yes. Tap the arrows above and below each wheel to turn it and tap digits on the sheet to mark them. On a phone held upright the game uses a taller frame, with the sheet above the safe.