Caesar Cipher

Inputs

How many places each letter moves: 3 turns A into D.

Results

Every shift

Don't know the shift? Look for the row that reads as plain language.

ShiftDecoded with this shiftUse

Julius Caesar is said to have written private letters with each letter shifted three places: A became D, B became E, and so on. With only 25 possible keys the Caesar cipher is easy to break, which makes it the usual first step into codes, puzzles and geocaching clues.

How to use it

  1. Choose Encode or Decode.
  2. Type the text and choose the shift.
  3. Copy the result. Letters keep their case; digits, spaces and punctuation don’t change.

To crack a message without the key, paste it and scan the Every shift table for the row that makes sense, then press Use.

Example: “Hello, World!” with shift 3 encodes to Khoor, Zruog!

Questions and answers

Is ROT13 a Caesar cipher?

Yes: ROT13 is the Caesar cipher with a shift of 13. Because the alphabet has 26 letters, applying it twice gives the original text.

What happens at the end of the alphabet?

It wraps around: with shift 3, X becomes A, Y becomes B and Z becomes C.

Does it work with accented letters?

Only the 26 letters A–Z are shifted. Accented letters, other alphabets, digits and punctuation stay as they are.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
textThe message, or the cipher text to decode.
shiftPlaces to shift, 0 to 25.
modeencode or decode.

Example: https://toolabelle.com/caesar-cipher/#text=Hello%2C+World%21&shift=3&mode=encode

Related tools