Logic puzzle

Decrypto

Crack the secret 5-digit code

Decrypto is a free online logic puzzle where you crack a secret 5-digit code in 6 tries, with each digit marked as correct, misplaced or absent, and a new grid every day.

Duration
2–3 min
Difficulty
Medium
Skill
Deduction
Price
Free

How to play?

A numeric Mastermind: five digits to find, repeats allowed. Every guess is rated position by position — right digit in the right spot, right digit in the wrong spot, or digit not in the code. Six tries count toward your score; after that, keep going in free play or reveal the code.

  1. The secret code is 5 digits from 0 to 9, repeats allowed.

  2. Submit a complete code on every try.

  3. Each position is rated: correct, present elsewhere, or absent.

  4. Six tries count toward your score; a joker reveals one digit for a few points.

Why play?

  • Pure deduction, with no vocabulary required.

  • Position-by-position feedback rewards a method.

  • Works at any age.

Tips

  • Open with 01234, then 56789: after two tries every one of the ten digits has been tested once, and you already know which ones are in the code.

  • Watch out for repeats: the code can contain the same digit twice. If you double a digit and only one lights up, the grey marks the extra copy, not a missing digit.

  • An orange digit also tells you where it isn't: move it to a position you haven't tested yet on each try to pin it down in as few moves as possible.

  • Make every try count: keep your greens in place and fill the other slots with digits you haven't tested yet, rather than replaying greys.

  • The joker reveals the digit at a position you don't know yet and locks it in. It costs points, so keep it to settle between two hypotheses late in the game.

Frequently asked questions

How do you play Decrypto?

Enter a 5-digit code using 0 to 9. Each position turns green if the digit is in the right spot, orange if it's in the code but elsewhere, grey if it isn't in the code. You have 6 tries to find the full code, and a joker can reveal a digit.

Is Decrypto free to play?

Yes. Decrypto is free and runs in your browser, on desktop or mobile, with nothing to download. You can play today's grid without an account; a free account unlocks the archive of past days. SIWA+ (€18 a year) removes ads and adds advanced stats.

How is Decrypto different from Mastermind?

It follows the Mastermind idea, with digits instead of colours. The difference: Decrypto rates each position separately, like Wordle, instead of giving an overall count of right and misplaced pegs. Deduction is more direct, but you only get 6 tries.

Can the Decrypto code contain the same digit twice?

Yes, repeats are allowed: 4 4 0 7 4 is a valid code. The feedback accounts for it: a digit is only flagged as many times as it actually appears in the code, and any extra copies in your guess show up grey.

What happens if I don't crack the code in 6 tries?

The game counts as lost and its score is capped. You can then keep searching just for fun, with no points, or reveal the secret code straight away. A new grid is waiting the next day, at midnight your local time.

Play now Decrypto

Crack the secret 5-digit code

On your phone, no app needed: it all plays in the browser.

Play now — for free
Decrypto on a phone: the daily grid at the start of a game