Caesar Cipher

Encrypt messages with the ancient Roman shift cipher.

📜 The Origins

Named after Julius Caesar, who used it to protect military secrets. It's one of the earliest and simplest forms of encryption, involving a simple 'shift' of the alphabet.

🚀 Master the Tool

Enter your message and select a shift value (the 'key'). Your text will instantly transform into a scrambled code that only someone with the key can decipher.

Encrypt Message
A becomes D
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
🏛️
Result

Result will appear here...

👑 History Check

Julius Caesar actually used this! He typically used a shift of 3 to protect military messages. It's one of the simplest forms of encryption, easily broken today by frequency analysis, but was state-of-the-art in 50 BC!

The First Military Encryption

Julius Caesar didn't trust his messengers. When sending orders to his generals, he shifted every letter by 3. * A -> D * B -> E * C -> F If the messenger was captured, the enemy would just see gibberish like "VHGXFH DJDLQVW".

Why It's Weak

Caesar Cipher is a "Monoalphabetic Substitution." That means 'E' always becomes 'H'. Because 'E' is the most common letter in English, a codebreaker can simply count the letter frequencies (Frequency Analysis) to crack the code in minutes.

Steps to Crack It

  1. Find the most common letter in the secret message.
  2. Assume it is 'E'.
  3. Shift it back to 'E' and see if the rest of the message makes sense.

Pro Tips

01A shift of 3 was Caesar's personal favorite.
02Try shifting by 13 (ROT13) for a classic internet-era cipher.
03Use negative shifts to go backwards!

The Fine Print (FAQ)