Caesar Cipher
Caesar cipher — encode and decode with any letter shift.
How to use Caesar Cipher
- Enter your text and choose the shift amount (1-25).
- Read the encoded/decoded result — letters shifted, others untouched.
- Decoding an unknown shift? Try all 25 — the readable one wins — or use letter frequency (most common → E).
- Treat it as a puzzle tool — never real protection.
What is Caesar Cipher?
The Caesar cipher shifts each letter a fixed number of places through the alphabet — the generalization of ROT13 to any shift (1–25). Named for Julius Caesar, who reportedly used a shift of 3 for military messages, it's the oldest and simplest substitution cipher. Shift "ABC" by 3 and get "DEF".
Like ROT13, it's a historical and educational cipher, not real security: with only 25 possible shifts, brute-forcing it takes seconds — try every shift and the readable one is the answer. It endures for puzzles, learning cryptography's foundations, and escape-room clues.
About the Caesar Cipher
Enter text and a shift amount to encode; enter ciphertext and the shift (or try all shifts) to decode.
Where the Caesar cipher shows up: puzzles and escape rooms — a staple clue-hiding device, often with the shift itself hidden as a separate riddle; CTF and cryptography learning — the entry point to substitution ciphers, frequency analysis and the concept of a key; classroom exercises — encoding secret messages is how many people first meet cryptography; and ARGs and games as a light obfuscation layer.
Cracking it (the fun part): if you don't know the shift, brute force all 25 — one will read as English. Or use frequency analysis: E is the most common English letter, so the most frequent ciphertext letter probably maps to E, revealing the shift. That very weakness — a tiny keyspace and preserved letter frequencies — is why the Caesar cipher, for all its history, protects nothing today. For real secrecy use encryption; the Caesar cipher is where you learn WHY modern cryptography is built the way it is. See ROT13 (the shift-13 special case) and Morse code for neighboring classics.