Caesar Cipher Decoder

Paste the message. Every possible shift appears below, with the best match marked.

How it works

A Caesar cipher has only 25 possible keys, so the surest way to break one is to try them all. This decoder shifts your message back by 1, then 2, and so on up to 25, and lists every result. One of the lines will be readable.

To save you scanning the list, each result is scored on how closely its letters match normal English. In English, E makes up about 13 percent of letters, T about 9 percent and A about 8, while Z and Q are under half a percent. The line that fits that pattern best, and contains the most common short words, is marked as the likely answer.

You can often find the shift yourself by looking for a single letter word, which must be A or I, or for the most frequent letter in the message, which is usually E. If the commonest letter is H, the shift is probably 3, because H is three places after E.

Scoring is less reliable on very short messages, so glance down the full list when the top pick looks wrong.

How often each letter appears in English

LetterShare of all lettersLetterShare of all letters
E12.7%M2.4%
T9.1%W2.4%
A8.2%F2.2%
O7.5%G2.0%
I7.0%Y2.0%
N6.7%P1.9%
S6.3%B1.5%
H6.1%V1.0%
R6.0%K0.8%
D4.3%J0.15%
L4.0%X0.15%
C2.8%Q0.1%
U2.8%Z0.07%

Rounded figures from large samples of ordinary English text. Short messages can differ a lot.

Common questions

What if none of the 25 lines is readable?

Then it is not a plain Caesar cipher. Try Atbash, or use the cipher decoder page, which tests several methods.

Does the decoder work for other languages?

The list of 25 shifts works for any language that uses the 26 letter alphabet. The automatic pick is tuned for English.

Related tools