Caesar Cipher Translator
Encode or decode text with a Caesar shift cipher — choose any shift 1-25, flip direction, or brute-force all 25 possibilities at once. Free tool.
About the Caesar Cipher Translator
The Caesar cipher is the classic substitution cipher: every letter is shifted a fixed number of places down the alphabet, so with a shift of 3, A becomes D and HELLO becomes KHOOR. This translator encodes and decodes instantly as you type — pick the shift (1-25), choose the direction, and the result appears with case, spaces, numbers and punctuation preserved exactly.
Received a coded message but don't know the key? Turn on brute-force mode and every one of the 25 possible decodings is listed in a table — with only 25 keys, the real message jumps out at a glance. That tiny keyspace is exactly why the Caesar cipher is a teaching tool and puzzle staple rather than real security.
Named after Julius Caesar, who reportedly used a shift of 3 for military correspondence, the cipher lives on in escape rooms, geocaching puzzles, CTF warm-ups and classrooms. Everything here runs in your browser: type, shift, copy — no signup, nothing uploaded.
How to Use the Caesar Cipher Translator
- 1Type or paste your text into the input box.
- 2Choose Encode or Decode and set the shift value from 1 to 25.
- 3Read the result instantly and copy it with one click.
- 4Unknown key? Enable brute-force mode to see all 25 decodings at once.
Frequently Asked Questions
How do I decode a Caesar cipher without knowing the shift?
Enable the brute-force checkbox. Since there are only 25 possible shifts, the tool simply shows every decoding in a table and you scan for the row that reads as real language. For longer texts you can also spot the key by frequency: the most common ciphertext letter usually maps to E.
What happens to numbers, spaces and punctuation?
They pass through unchanged — only the letters A-Z and a-z are shifted, and each keeps its original case. That preserves the shape of the message, which is traditional for Caesar ciphers (and also one of the ways they leak information).
What's the difference between Caesar cipher and ROT13?
ROT13 is simply a Caesar cipher with a fixed shift of 13. Because 13 is half the alphabet, applying ROT13 twice returns the original text, making it self-inverse — handy for hiding spoilers. Set the shift here to 13 and you get identical results to a ROT13 tool.
Is the Caesar cipher secure for real secrets?
No — it can be broken by hand in under a minute by trying all 25 shifts, exactly what brute-force mode automates. Use it for puzzles, games and learning about cryptography. For anything sensitive, use modern encryption like AES, which this cipher historically paved the way toward.
Does encoding with shift 5 equal decoding with shift 21?
Yes. Shifting forward by N is identical to shifting backward by 26-N, since the alphabet wraps around. That's why decode is just encode with the negative shift — the tool handles the wrap-around arithmetic for you.