Caesar Cipher Decoder
Decode a Caesar cipher message: every letter moves back by the shift it was encoded with. Paste the cipher text, set the shift and read the message as you type.
Input
Output
Guide
How do you decode a Caesar cipher?
A Caesar cipher moves every letter a fixed number of places along the alphabet, called the shift. Decoding moves each letter back by the same shift: with shift 3, D becomes A, E becomes B, and A, B and C wrap around to X, Y and Z. So you need the shift the message was encoded with, or you can find it by trying, as there are only 25.
Tool description
Paste the Caesar cipher text into the Cipher text box and enter its Shift, which starts at 3. The decoded message appears in the Plain text box as you type. Only the letters A to Z move back, and they keep their case. Digits, spaces, punctuation and letters outside A to Z stay as they are. Shifts above 25 wrap around, so 29 decodes like 3. To encode a reply, press the swap button between the boxes, which also moves the result into the input, or use the Caesar Cipher Encoder.
Examples
| Cipher text | Shift | Plain text |
|---|---|---|
Khoor, Zruog! |
3 | Hello, World! |
Wkh fdnh lv lq wkh ryhq. |
3 | The cake is in the oven. |
Dhaly aol yvzlz |
7 | Water the roses |
Xjj dtz fy ymj gfpjwd |
5 | See you at the bakery |
How to find an unknown shift
- Change the Shift one step at a time and watch the Plain text box. The right shift turns the text into words.
- Look at short words. With shift 3,
wkhistheanddqgisand. - In a longer message, the most common letter usually stands for E. If it's H, the shift is 3.
- Paste the message into the Cipher Identifier. It tries every shift and, when one gives English words, shows the decoded text and the shift it found.
Good to know
- Some puzzles move the letters back instead of forward. Decode those with 26 minus their shift:
Jbbq jb xq qeb yxhbov, moved back by 3, decodes with shift 23 toMeet me at the bakery. - If no shift gives words, the message probably uses another cipher, such as the Vigenère cipher, which shifts each letter by a keyword. The Cipher Identifier can tell which cipher it looks like.