Advertisement

Caesar Cipher Encoder, Decoder & Solver

Encrypt plain text, decrypt secret shift ciphers, or crack unknown messages instantly using the 25-shift brute force solver.

Input Text & Key

0 characters

Processed Output

ACTIVE ALPHABET MAPPING ROT-3 (Caesar)
A➔D, B➔E, C➔F, D➔G, E➔H ...

Brute-Force Solver (All 25 Shifts)

Crack unknown ciphertexts by inspecting all 25 possible rotation combinations simultaneously.
Shift Key Decrypted Plaintext Output Action

What is the Caesar Shift Cipher?

The Caesar cipher (also known as the shift cipher or Caesar's code) is one of the earliest and simplest encryption techniques in recorded history, famously used by Julius Caesar to protect private military dispatches.

It is a type of substitution cipher in which each letter in the plaintext is shifted down the alphabet by a fixed number of positions (called the key or shift). For example, with a key of 3, 'A' becomes 'D', 'B' becomes 'E', and 'X' wraps around to 'A'.


Mathematical Formula for Caesar Cipher

Representing letters as integers from 0 to 25 (\(A = 0, B = 1, \dots, Z = 25\)), encryption and decryption are defined by modular arithmetic:

Encryption: E(x) = (x + k) mod 26
Decryption: D(x) = (x - k + 26) mod 26

Frequently Asked Questions (FAQ)

Because the English alphabet has only 26 letters, there are only 25 possible shift keys. A computer can test all 25 shifts instantaneously via a brute-force attack (as shown in our solver table above) to reveal the original readable English message.

ROT13 is a specific variation of the Caesar cipher with a fixed shift key of 13. Because 13 is exactly half of the 26-letter alphabet, ROT13 is symmetric—applying the same algorithm twice decrypts the message back to its original form.

Yes! Numbers, punctuation marks, symbols, spaces, and line breaks remain unaffected, and letter casing (uppercase vs lowercase) is strictly preserved.
AI Images