Caesar Cipher Encoder/Decoder
Encrypt or decrypt text with the classic Caesar shift cipher. Brute force all 25 shifts, use ROT13, and analyze letter frequency.
edit_noteInput Text
tuneShift Value
languageAlphabet Mapping (Shift 3)
| 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 |
| arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward | arrow_downward |
| 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 |
How It Works
Enter your text to encrypt or decrypt
Set the shift value from 1 to 25
See the result update in real time
Brute force to crack unknown shifts
About the Caesar Cipher
Ancient Origins
Named after Julius Caesar who used it for military correspondence, the Caesar cipher is one of the oldest and simplest encryption methods. He reportedly used a shift of 3 to protect messages from enemies.
Frequency Analysis
Since each letter is always shifted by the same amount, the cipher preserves letter frequency. In English, E is the most common letter (~12.7%). By analyzing frequencies in ciphertext, the shift can be determined.
Learning Cryptography
The Caesar cipher is the foundation for understanding modern encryption. It introduces key concepts like substitution, key space, and brute force attacks. ROT13 (shift=13) is widely used for spoiler text online.