The Caesar cipher is where cryptography begins: Julius Caesar reportedly protected messages by shifting every letter three places through the alphabet, so A became D and HELLO became KHOOR. This tool encodes and decodes with any shift from 1 to 25 — shift 13 is the famous ROT13 — transforming your text live as you slide. It is perfect for puzzle hunts, classroom cryptography, CTF warm-ups and hiding spoilers in plain sight. The cipher’s afterlife in computing is surprisingly respectable. ROT13 still hides spoilers and punchlines in forums and Usenet archives; puzzle designers layer Caesar shifts as the first lock in multi-stage hunts; and programming courses assign it in week one because it teaches modular arithmetic, string handling and interface design in twenty lines. Working it by hand once — encoding your own name at three shifts — permanently demystifies the “mod” operation that half of programming quietly depends on.
Quick Answer: Type your message, choose Encode or Decode, and set the shift (13 for classic ROT13). The transformed text appears instantly; non-letters pass through unchanged.
Free Online Tool
Caesar Cipher Tool
How to Use the Caesar Cipher Tool
- Choose Encode to cipher a message, Decode to recover one.
- Type or paste your text.
- Slide the shift value — watch the alphabet guide update with your mapping.
- Use shift 13 (ROT13) for the classic self-inverse setting: encoding twice decodes.
- Copy the result and share it with your fellow puzzle-solvers.
Key Features
- Any shift from 1 to 25 with a live alphabet mapping
- Encode and decode modes
- Case preserved; numbers and punctuation untouched
- ROT13 quick button
- Free with no sign-up
Best Practices and Tips
- Trying to crack an unknown Caesar cipher? There are only 25 possibilities — decode at each shift and look for real words.
- The letter-frequency trick: in English text, the most common cipher letter usually stands for E.
- ROT13 is its own inverse, which is why forums use it for spoilers — encode and decode are the same operation.
- Short messages are harder to crack by frequency, longer ones easier — a page of cipher text always falls.
- Never use a Caesar cipher for real secrecy; it is a teaching tool and a puzzle, nothing more.
- When decoding an unknown message, try shift 13 first, then read any single-letter words in trial decodes: they must be A or I, which reveals the shift almost immediately.
Common Mistakes to Avoid
- Believing a shifted alphabet protects anything sensitive — it falls in seconds.
- Forgetting which shift you encoded with; decoding at the wrong shift returns gibberish.
- Expecting accented letters to shift — the classic cipher covers A–Z only.
- Decoding in Encode mode (or the reverse) and concluding the text is broken.
Frequently Asked Questions
What is a Caesar cipher?
A substitution cipher where every letter is replaced by the letter a fixed number of positions later in the alphabet, wrapping around at Z.
What is ROT13?
The Caesar cipher with a shift of 13. Because 13 is half of 26, applying it twice returns the original text, making it popular for hiding spoilers.
How secure is it?
Not secure at all — there are only 25 possible shifts, and letter frequency analysis breaks it instantly. Use it for fun and learning only.
Does it change numbers and spaces?
No. Only the letters A–Z (both cases) are shifted; everything else passes through unchanged.
Is this tool free?
Yes — free, unlimited and no sign-up required.
Did Caesar really use this cipher?
His biographer Suetonius describes the shift-of-three method in Caesar’s private correspondence — the attribution is unusually well documented for an ancient technique.