Caesar cipher encoder/decoder with adjustable shift, ROT13, ROT5, ROT47, Atbash, and brute-force panel showing all 25 shifts. Free letter-shift cipher tool — pure browser, no upload.
A free Caesar cipher tool with full encoder/decoder, ROT13 / ROT5 / ROT47 / Atbash variants, and a unique brute-force panel that shows all 25 possible shifts at once so you can spot the readable plaintext. Adjust shift via slider (1-25) or quick-pick buttons (1, 3, 7, 13, 25). Preserves case, passes punctuation through unchanged, and includes an educational sidebar explaining each cipher's history and weakness. Perfect for puzzles, escape rooms, ARGs, cryptography tutorials, and CTF challenges. Pure client-side, runs offline.
The Caesar cipher is named after Julius Caesar, who according to Suetonius used a shift-by-3 cipher around 58 BC for confidential military and personal correspondence. He never claimed it was secure — by Roman standards, any literate person who saw the same letter substitutions repeatedly would crack it eventually. Atbash predates Caesar by centuries — it appears in the Hebrew Bible's book of Jeremiah as a cryptographic word-play. ROT13 emerged on Usenet in the early 1980s as a polite way to hide spoilers and mild jokes that readers could opt-in to decode by scrolling and applying ROT13. ROT47 is a modern variant designed for the wider ASCII range used in code and email.
Every Caesar cipher preserves the relative frequencies of letters. In English, E appears in roughly 12.7% of all text, T at 9%, A at 8.2%, O at 7.5%, and so on. So in a ciphertext, the most common letter is almost certainly the shifted version of E. Find that letter, calculate the shift to E, decode the rest. For ciphertexts longer than 100 characters, this works essentially every time and takes a competent cryptographer under a minute. Computers do it in microseconds. The brute-force panel here just shows all 25 shifts visually — even faster than frequency analysis for short messages.
ROT13 is a Caesar cipher with a fixed shift of 13. Because the alphabet has 26 letters and 13 is exactly half, encoding and decoding ROT13 are the same operation — apply ROT13 twice and you get the original text back. This makes it ideal for spoiler tags, mild obfuscation, and historical contexts (Usenet, retro forums). General Caesar cipher uses any shift from 1 to 25, requiring a separate decode step with the inverse shift.
Not at all. A Caesar cipher with any shift can be cracked in seconds by frequency analysis (the most common letter in English is E, so whatever letter appears most in the ciphertext is likely the shifted E) or by brute force (only 25 possible shifts). Use it for puzzles, escape rooms, and educational demos — never for real security. For actual encryption, use AES, ChaCha20, or modern public-key cryptography (RSA, Curve25519).
For an unknown Caesar shift, it computes all 25 possible decodings simultaneously and displays them in a list. You scan the list for the one that reads as English (or your target language). It's the fastest way to crack an unknown Caesar cipher — typically takes 10-30 seconds of visual scanning. The Atbash cipher has only one possible decoding (no shift parameter), so brute-force isn't needed.
ROT47 shifts each printable ASCII character (codepoints 33-126, covering letters, digits, and most punctuation) by 47 — exactly half of the 94-character range. Like ROT13, it is its own inverse. Unlike ROT13 it scrambles punctuation and digits too, making the output look more cryptic. Common in code-golf challenges and as a slightly stronger spoiler hide than ROT13. Still trivially crackable.
Atbash is a substitution cipher where A↔Z, B↔Y, C↔X, etc. — each letter maps to its mirror in the alphabet. Originally used in Hebrew with the Aleph-Tav-Beth-Shin pattern (hence the name). It's a fixed mapping with no key, so once you know it's Atbash, decoding is instant. Sometimes used in puzzles as a simpler alternative to Caesar; sometimes appears in Hebrew religious texts.
Related: caesar cipher, rot13, rot13 decoder, rot13 encoder, rot5, rot47, atbash cipher, letter shift cipher, caesar cipher decoder, caesar cipher encoder, shift cipher, classical cipher, brute force cipher, cipher solver, puzzle cipher, ctf cipher tool