Caesar Cipher Decoder

Free caesar cipher decoder and encoder with instant ROT1–ROT25 brute-force cryptanalysis, chi-squared English shift detection, live alphabet mapping, and one-click export.

Presets:
11 chars
Decoded Plaintext (Shift −3)
HELLO WORLD
Formula: D(x) = (x − 3) mod 26Best English fit: Shift −6 (χ² = 24.0)
Substitution Ring (Cipher → Plain −3)26 Latin Letters (A–Z)
ABCDEFGHIJKLMNOPQRSTUVWXYZ
XYZABCDEFGHIJKLMNOPQRSTUVW

All 25 Caesar Shift Candidates (Brute-Force Table)

Click any row to lock shift
ShiftDecoded Output PreviewEnglish Fit
ROT-1JGNNQ YQTNFχ² 505
ROT-2IFMMP XPSMEχ² 123
ROT-3HELLO WORLDPlausible
ROT-4GDKKN VNQKCχ² 239
ROT-5FCJJM UMPJBχ² 618
ROT-6EBIIL TLOIABest Match
ROT-7DAHHK SKNHZχ² 198
ROT-8CZGGJ RJMGYχ² 446
ROT-9BYFFI QILFXχ² 222
ROT-10AXEEH PHKEWχ² 94
ROT-11ZWDDG OGJDVχ² 247
ROT-12YVCCF NFICUχ² 62
ROT-13XUBBE MEHBTχ² 131
ROT-14WTAAD LDGASPlausible
ROT-15VSZZC KCFZRχ² 1252
ROT-16URYYB JBEYQχ² 239
ROT-17TQXXA IADXPχ² 710
ROT-18SPWWZ HZCWOχ² 582
ROT-19ROVVY GYBVNχ² 118
ROT-20QNUUX FXAUMχ² 406
ROT-21PMTTW EWZTLχ² 165
ROT-22OLSSV DVYSKχ² 69
ROT-23NKRRU CUXRJχ² 170
ROT-24MJQQT BTWQIχ² 1024
ROT-25LIPPS ASVPHχ² 60

Every possible shift from ROT-1 through ROT-25 is evaluated live against standard English letter frequencies. Click any row to select that shift key.

Signal & Number Converters

7 tools

Modular Shift Arithmetic & Chi-Squared Frequency Cryptanalysis

A caesar cipher decoder reverses a monoalphabetic rotation across the 26-letter Latin alphabet using modular arithmetic: D(x) = (x − k) mod 26. Because every letter in the ciphertext shifts by the exact same offset k, the underlying statistical fingerprint of English (where E, T, A, O, I, N dominate) remains intact—simply rotated around the alphabet ring.

Our built-in Auto-Detect engine evaluates all 25 shifts using Pearson's chi-squared statistic (χ²) against reference English letter frequencies and flags the minimum-divergence shift as Best Match. Solving multi-layer puzzles that combine classical ciphers with binary or telegraph signals? Pair this page with our Binary Code Translator and Morse Code Translator.

“A substitution cipher replaces units of plaintext with ciphertext according to a fixed system; in a monoalphabetic shift cipher, every letter is shifted by a constant offset modulo the alphabet size.”

Caesar Cipher Technical Notes

How do I decode a Caesar cipher when I do not know the shift key?
Paste the ciphertext into the workbench and click Auto-Detect or review the All 25 Caesar Shift Candidates table below. Because there are only 25 non-trivial letter rotations, our chi-squared English frequency analyzer highlights the most likely plaintext automatically.
What is the relationship between Caesar cipher and ROT13?
ROT13 is a specific Caesar shift with key k = 13. Because the English alphabet has 26 letters and 13 + 13 = 26, ROT13 is self-inverse—applying ROT13 twice returns the original text.
How does modular arithmetic define Caesar shift encryption and decryption?
Mapping A=0 through Z=25, encryption computes E(x) = (x + k) mod 26 and decryption computes D(x) = (x − k + 26) mod 26. Non-alphabetic characters such as spaces, digits, and punctuation remain unchanged when Keep spaces is enabled.
Is Caesar cipher secure for protecting real passwords or sensitive messages?
No. Caesar cipher is strictly an educational and puzzle/CTF classical cipher. Because its keyspace is only 25 shifts, it can be broken instantaneously by brute force or letter-frequency analysis.