Back to CTF Tools

Substitution Cipher

Monoalphabetic substitution cipher tool

Substitution Cipher Tool

Encrypt, decrypt, or analyze text using substitution ciphers

Key length: 0/26 | Unique letters: 0/26

How It Works

Substitution Cipher

Each letter in the plaintext is replaced by another letter according to a fixed system.

Key Format

The key must contain all 26 letters of the alphabet exactly once, representing the substitution mapping.

Frequency Analysis

Analyze character frequencies to help break substitution ciphers by comparing with expected English frequencies.

Quick Examples

Simple Example
Plain: ABCDEFGHIJKLMNOPQRSTUVWXYZ
Key: BCDEFGHIJKLMNOPQRSTUVWXYZA
Result: HELLO → IFMMP
Breaking Tips
  • • E is most common in English
  • • Look for common patterns
  • • Single letters are often A or I
  • • THE is the most common word