HomeCaesar CipherCaesar Cipher Decoder
Decode · Crack the shift

Caesar Cipher Decoder

Someone sent you a scrambled message? Paste the ciphertext here and instantly see all 25 possible decryptions. No need to guess the shift — the right one will jump out.

Decode mode Shift: 3
All 25 shifts at a glance

See every possible decryption instantly.

Don't know the shift? The table below shows all 25 possible decryptions of your ciphertext. The correct one will be the only line that reads like real English.

ShiftDecoded text

Scan the table for the row that looks like real English. That's your shift. For "Dwwdfn dw gdzq" above, shift 3 gives "Attack at dawn".

How to crack an unknown shift

Frequency analysis in 3 steps.

When brute force isn't enough (or you want to understand the math), frequency analysis is the classic technique for breaking a Caesar cipher without knowing the key.

01

Count letter frequencies

Count how often each letter appears in your ciphertext. In English, the most common letters are E, T, A, O, I, N (in that order). The most frequent letter in your ciphertext is very likely the encrypted form of E.

02

Calculate the shift

If the most common letter in your ciphertext is "H", and you assume it represents "E", then the shift is H - E = 7 - 4 = 3 (using A=0, B=1, etc.). Apply this shift to the entire message to decode it.

03

Verify and refine

Check if the decoded text makes sense. If it doesn't, try the second most common letter (T) as your anchor, or use common word patterns (like "THE" or "AND") to confirm the shift.

Common Caesar cipher variants

It's not always a simple shift.

The Caesar cipher has inspired many variants. If the standard decoder doesn't work, your message might use one of these:

FAQ

Caesar cipher decoder, explained.

How do I decode a Caesar cipher without knowing the shift?
There are only 25 possible shifts, so you can try them all in seconds. Paste your ciphertext into the decoder above and use the slider to cycle through every shift until the text makes sense. For longer messages, frequency analysis works too — the most common letter in English is E, so the most frequent symbol in your ciphertext is likely E shifted by the key.
What's the difference between a Caesar cipher decoder and an encoder?
An encoder shifts letters forward (A + 3 = D), while a decoder shifts them backward (D - 3 = A). This page is optimized for decoding: paste the encrypted text, and the tool instantly shows all 25 possible decryptions so you can spot the right one.
Is a Caesar shift decoder the same as a ROT13 decoder?
ROT13 is a special case of the Caesar cipher where the shift is exactly 13. Since the alphabet has 26 letters, applying ROT13 twice returns the original text. This decoder handles any shift from 1 to 25, including ROT13.
Can this decoder handle numbers and punctuation?
The classical Caesar cipher only shifts letters A-Z (preserving case). Numbers, spaces, and punctuation pass through unchanged. If your ciphertext includes shifted numbers, it's likely a different cipher (e.g., a variant or a custom substitution cipher).
What if the decoded text still doesn't make sense?
Double-check that you're using the right shift. If none of the 25 shifts produce readable text, the message may not be a Caesar cipher at all — it could be a different substitution cipher, a transposition cipher, or encoded with a different method entirely.
Is the Caesar cipher secure for real encryption?
No. With only 25 possible keys, a Caesar cipher can be brute-forced by hand in minutes. It's included here for learning, puzzles, and CTF challenges. For real security, you need modern encryption (AES, ChaCha20, etc.), not a classical cipher.