About the Caesar Cipher Shifter
A Caesar cipher is one of the oldest known substitution ciphers: every letter in a message is replaced by the letter a fixed number of positions further along the alphabet, wrapping back to "A" after "Z". This tool applies that shift to your text — or reverses it — using the standard formula C = (P + shift) mod 26 for encryption and P = (C - shift) mod 26 for decryption, where P and C are a letter's position in the alphabet (A = 0 through Z = 25).
How to get the best results
- Only letters A-Z and a-z are shifted; spaces, digits, and punctuation are copied through unchanged
- Letter case is preserved — an uppercase letter shifts to another uppercase letter, lowercase to lowercase
- To reverse an encryption, switch the operation to Decrypt and re-enter the exact same shift key
Practical context
The Caesar cipher is a teaching and puzzle tool, not real security. With only 26 possible shifts, it can be broken instantly by trying every key, or almost as fast using English letter-frequency analysis. Use it for classroom demonstrations, escape-room clues, or light text obfuscation — never to protect information that actually needs to stay secret.