How does the Caesar cipher work?
Every letter is replaced by the one a fixed number of places further along the alphabet. With a shift of 3, A becomes D, B becomes E, and Z wraps round to C: “HELLO” is written “KHOOR”. To decrypt, you step back by the same amount.
The name comes from Julius Caesar: the historian Suetonius reports that he shifted some of his messages by three letters in this way.
Decrypting without knowing the shift
Paste the message into the “Encrypted message” box. As there are only 25 useful shifts, the tool tries them all and lists them. It ranks them by comparing letter frequencies with those of the page language: in English, E dominates. The “Use” button applies the shift you pick.
The ranking is sometimes wrong for a message of a few words: scan the list, and the readable text jumps out.
What gets encrypted
Only the letters A to Z rotate, keeping their case. Digits, punctuation and spaces stay as they are, and so do accented letters unless you tick “Remove accents”.
A game, not a protection
The Caesar cipher can be broken by hand in minutes. It is for puzzles, treasure hunts and discovering cryptography. Never trust it with a secret: use modern encryption, such as AES.
Frequently asked questions
What is the shift of the “real” Caesar code?
Three, according to Suetonius. Any shift from 1 to 25 is still a Caesar cipher; the one with 13 is called ROT13.
Why only 25 keys?
A shift of 26 puts every letter back in place. That leaves only 25 options that actually change the text.
Does the tool always find the right answer?
No. It puts first the text whose letters look most like the page language. A short text, or one in another language, can mislead it.
Is my message sent anywhere?
No. Everything is computed in your browser, and only your settings are kept on your device.