🔐

Monoalphabetic Cipher Visualizer

Learn how substitution ciphers work through interactive visualization

How It Works

What is a Monoalphabetic Cipher?

A monoalphabetic cipher is a substitution cipher where each letter in the plaintext is replaced by a fixed corresponding letter from a cipher alphabet. The same substitution is used throughout the entire message.

How Substitution Works

Each plaintext letter maps to exactly one ciphertext letter. For example:

  • A → Q, B → W, C → E, etc.
  • The word "ABC" becomes "QWE"

Encryption vs Decryption

Encryption: Find each plaintext letter in the plain alphabet, replace it with the corresponding cipher letter.
Decryption: Find each ciphertext letter in the cipher alphabet, replace it with the corresponding plain letter.

Substitution Key

Plain Alphabet (Input)
Cipher Alphabet (Substitution)

Interactive Playground

Enter your text below, choose an operation, and click "Run Cipher" to see the step-by-step animation of how each character is transformed.

Medium
Ready to process your text. Click "Run Cipher" to start the animation.