CS
cryptogramsolve

Caesar Cipher Encoder & ROT13 Decoder Online

Free Caesar cipher encoder and solver. Encode and decode Caesar shifts and ROT13 with an interactive slider or inspect all 25 rotations simultaneously.

3
(D → A)
051013 (ROT13)2025
🔤Interactive Alphabet Shift Ribbon

All 25 Simultaneous Caesar Rotations

Don't know the key? Scan through all 25 possible shifts to spot the readable message instantly.

25 / 25

How the Caesar Cipher & ROT13 Work

Named after Julius Caesar, a shift cipher replaces each letter in the plaintext by shifting it a fixed number of positions (1 to 25) along the alphabet.

Modular Shift Formula

Each letter index (A=0 through Z=25) is shifted by key k modulo 26. Encoding uses (x + k) mod 26, while decoding reverses the shift with (x - k + 26) mod 26.

Why ROT13 Is Self-Inverse

Because the English alphabet has 26 letters, shifting by 13 places twice brings every letter back to its starting position. Applying ROT13 once encodes text; applying it again decodes it.

25-Shift Brute-Force Scanner

Unlike general substitution ciphers with over 400 septillion keys, a Caesar cipher has only 25 non-trivial shifts. Scanning all 25 rows side by side lets you spot readable plaintext immediately.