Caesar Cipher
Encode and decode Caesar-shifted text with an adjustable key.
Ciphertext
How the Caesar cipher works
Example
Attack at dawn! Dwwdfn dw gdzq! - A Caesar cipher shifts each letter by a fixed number of positions in the alphabet.
- With a shift of 3, A becomes D, B becomes E, and Z wraps around to C.
- The same shift in reverse decodes the message. Punctuation and spacing remain unchanged.
Related tools
Caesar Cipher Decoder Decode Caesar-shifted text and compare all 25 possible keys. ROT13 Encode and decode ROT13 text in one step. Atbash Cipher Encode and decode the reverse-alphabet Atbash cipher. Vigenère Cipher Encode and decode Vigenère text with a keyword. Morse Code Translator Translate text to Morse code and decode Morse back to text. Base64 Encoder & Decoder Encode text as Base64 and decode Base64 back to UTF-8.
Frequently asked questions
Is the Caesar cipher secure?
No. It is a historical substitution cipher that is useful for learning and puzzles, not modern security.
Is my input uploaded?
No. EncodeLab performs this conversion locally in your browser. Your input is not sent to an EncodeLab server or stored by us.
What shift did Julius Caesar use?
The cipher is traditionally associated with a shift of 3.
Are numbers and punctuation shifted?
No. This tool shifts Latin letters only.