What is the Caesar Cipher?
The Caesar cipher is one of the oldest and simplest ways to encrypt a message. Each letter is shifted a fixed number of places along the alphabet. With a shift of 3, A becomes D, B becomes E, and Z wraps around to C. Julius Caesar reportedly used a shift of 3 to protect military messages.
Choose Encode or Decode, set the shift, and type your message. Upper and lower case are kept, and numbers, spaces and punctuation are not changed. If you don’t know the shift of a secret message, decode it with different shifts until you see readable words — there are only 25 possibilities.
The Caesar cipher is great for puzzles, escape rooms and learning about cryptography, but it is not secure for real secrets.
How to use the Caesar Cipher
- Choose Encode or Decode.
- Set the shift (1–25).
- Type or paste your text and copy the result.
Examples
HELLO (shift 3, encode)
KHOOR
Khoor Zruog (shift 3, decode)
Hello World
When to use it
- Escape rooms and treasure hunts
- Puzzles and geocaching
- Teaching basic cryptography
- Secret notes for fun
Frequently Asked Questions
What is the Caesar cipher?
A substitution cipher that replaces each letter with the letter a fixed number of positions later in the alphabet.
How do I decode a Caesar cipher without the key?
Try each shift from 1 to 25 in Decode mode. Only one will produce readable text.
What is ROT13?
A Caesar cipher with a shift of 13. Because the alphabet has 26 letters, applying it twice gives back the original text.
Is the Caesar cipher secure?
No. It can be broken in seconds, so use it only for fun and learning.