Enigma Machine Simulator

Learn how to use the Enigma Machine Simulator for free online. Configure settings, encrypt/decrypt messages, and explore the history of this WWII cipher machine.

Last reviewed: April 2026

New to this tool? Click here for instructions

Current Rotor Positions
A
A
A

Enigma Settings

Plaintext
Ciphertext
Rotor: I-II-III - Reflector: B - 0 plugboard pairs

How to Use the Enigma Machine Simulator

The Enigma Machine Simulator is a free online tool that allows you to simulate the WWII Enigma M3 cipher machine. Here's how to use it:

1. Configure Settings: Click on the 'Settings' button to choose rotors, starting positions, ring settings, and plugboard pairs.

2. Apply Settings: Click 'Apply' to lock in your configuration. The rotor windows will update to show the starting positions.

3. Type Your Message: Enter text in the 'Plaintext' box. The machine will encrypt as you type. Copy the ciphertext using the 'Copy' button.

4. Decrypt Messages: Reset to the same starting positions and type the ciphertext to recover the original message.

  • Configure rotors, starting positions, ring settings, and plugboard pairs.
  • Apply settings to lock in your configuration.
  • Type your message to encrypt or decrypt.
  • Copy the ciphertext or decrypt messages.

When to Use the Tool in Real Workflows

The Enigma Machine Simulator is ideal for anyone interested in the history of cryptography, WWII, or learning about the Enigma machine's operation. It's also useful for educational purposes, such as teaching students about historical encryption methods.

How It Works

The Enigma machine works by combining rotating wheels (rotors), a plugboard (Steckerbrett), and a reflector to produce a polyalphabetic substitution cipher. When an operator pressed a key, an electrical signal passed through the plugboard, then through three rotors right-to-left, was reflected by the reflector, passed back through the rotors left-to-right, and lit up a lamp on the lampboard. After each keypress, the rightmost rotor advanced one step. When the rightmost rotor completed a full revolution, it advanced the middle rotor (via the notch mechanism). The notorious double-step anomaly means the middle rotor sometimes advances two steps in a row.

Frequently Asked Questions

The Enigma machine was an electromechanical cipher device used by Nazi Germany during WWII. It scrambled messages using rotating wheels (rotors), a plugboard, and a reflector, creating an extremely large keyspace that was eventually broken by Allied codebreakers at Bletchley Park.
The reflector ensures the signal path is always symmetric. A letter can never encrypt to itself, which made the machine self-deciphering but was also a cryptographic weakness that Bletchley Park exploited.
When the middle rotor is at its notch position, it advances both itself and the left rotor in the same step, meaning the middle rotor sometimes takes two consecutive steps in a row. This is an anomaly compared to a normal odometer mechanism.
The plugboard connects pairs of letters with cables, swapping them before and after the rotors. If A-Z are connected, pressing A sends Z into the rotors. Up to 13 pairs can be used, though typically 6-10 were used in wartime settings.
Yes. This simulator uses the exact wiring tables for Rotors I-V and Reflectors B and C from historical documentation, with the double-step anomaly faithfully implemented. Messages encrypted here can be decrypted by other accurate Enigma simulators using identical settings.

Quick reference

Enigma Machine Simulator Quick Reference
Setting Name Description Default Value Example Value
Rotors Selection of rotor types (I, II, III) III, II, I I, III, II
Reflector Type of reflector (B or C) B C
Ring Settings Initial positions of rotor rings A, B, C X, Y, Z
Plugboard Letter pairs for electrical connections AB-CD-EF GH-IJ-KL
Notch Positions Positions triggering rotor stepping M, Z, Q R, S, T
Encryption Mode Encrypt or Decrypt operation Encrypt Decrypt