Caesar Cipher Cracker (Without a Key)

Automatically recover the shift used to encrypt a Caesar cipher text, without knowing the key — useful for a beginner CTF challenge or an encrypted message found without any shift indication.

Example:

How it works

The tool tests all 25 possible Caesar shifts and, for each one, counts the occurrences of the most frequent letters in French (e, a, s, i, n, t). The shift that produces the most "French-looking" text (the highest score) is selected as the most likely result. It's a brute-force attack assisted by frequency analysis — the classic method for cracking this historical cipher without knowing the key.

Is the result always correct?

With a sufficiently long text in French, the correct shift almost always stands out. With a very short text or text in another language, the score may point to the wrong shift: in that case, manually try the "Caesar Cipher" tool with other values to verify visually.

Why use letter frequency analysis?

Every language has a characteristic frequency distribution for its letters: in French, e, a and s appear very often. By counting their presence in each decrypted candidate, you can statistically guess which of the 25 shifts produces readable text, without having to read them all one by one.

100% local processing: the encrypted text never leaves your browser — the analysis is done entirely via WebAssembly on your device.