The World War II code machine, working in your browser

Can you crack the Enigma?

Every key lit up a different letter, and the code changed with every press. Germany was sure no one could read it. The codebreakers did. Now it’s your turn.

Choose your level

Ages 9–12

Codebreaker Academy

New to secret codes? Start here. Four short, hands-on missions show how Enigma scrambles a message, and how the codebreakers cracked it.

  • Send scrambled messages to your friends
  • Peek inside the machine, one step at a time
  • Crack a code with a Bombe, like Alan Turing’s team
New: Learn Morse code Start training at Codebreaker Academy

Teens & adults

Enigma M4 Simulator

An exact working replica of the four-rotor U-boat Enigma of 1942, true to its wiring, its stepping and the flaws that let it be broken.

  • Type on a 3D machine and trace the current through it
  • Five animated lessons and the operator’s manual
  • Break a real U-boat message with a working Bombe
Open the simulator

Not sure which? Start with the Academy. You can switch at any time.

Try it now

Press a key. Watch a lamp light up.

This is Enigma seen from above: the rotors at the top, the lamps in the middle and the keys at the bottom. Type on your keyboard, or tap the keys.

Why Enigma matters

Ready, codebreaker?