Caesar Cipher Encoder & Decoder
Encrypt or decrypt text with the classic Caesar shift cipher (any shift -25 to 25).
Shift each letter by a fixed number of places β the simplest substitution cipher, named after Julius Caesar's military despatches. Adjust the shift with a slider, toggle decode mode, and the cipher preserves case while passing punctuation through.
Common use cases
- Encode short notes for kids' spy games or party clues
- Demonstrate substitution ciphers and modular arithmetic in class
- Solve cryptic Caesar puzzles in escape rooms and CTFs
- Quickly try all 25 shifts to brute-force-decode an unknown ciphertext
Frequently asked questions
Is the Caesar cipher secure?βΎ
No β there are only 25 possible shifts, so it's trivially brute-forced. It's a teaching tool and party-game cipher only.
What shift should I use?βΎ
The classic Caesar uses shift 3. ROT13 is shift 13. Any value -25 to 25 works; positive shifts encode forward, negative shifts decode.
Why preserve case?βΎ
It keeps the ciphertext readable and lets you decode 'Hello' back to 'Hello' without losing capital letters.
Related tools
π
Word Counter
Count words, characters, sentences and reading time as you type.
π€
Character Counter
Count characters with and without spaces, ideal for tweets and SEO meta tags.
Aa
Case Converter
Convert text to UPPERCASE, lowercase, Title Case, camelCase, snake_case and kebab-case.
π
Lorem Ipsum Generator
Generate placeholder text by words, sentences or paragraphs.