Caesar cipher

Encode or decode a message with an exact alphabet shift.

Codes

Choose a shift from 1 to 25 to encode or decode text with the Caesar cipher. The shifted alphabet updates automatically.

Settings

Conversion direction

Alphabet used

Plain alphabetABCDEFGHIJKLMNOPQRSTUVWXYZ

Shifted alphabetDEFGHIJKLMNOPQRSTUVWXYZABC

Source text

0 source char.

Result

Add source text.

Quick explanation

Enter text, choose encode or decode, then adjust the shift. Letters move through the alphabet while spaces, digits, and punctuation stay visible.

Try this too

Unknown shift?

Use the automatic Caesar decoder to test all 25 shifts and find the readable sentence.

Try this tool

Additional information

Understanding the Caesar cipher

The Caesar cipher shifts every 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.

Encode

Choose Encode, set the shift, then enter the plain message. The tool applies that shift to every letter.

Decode

Choose Decode with the same shift to recover the original text. If you do not know the shift, use the automatic decoder.

Puzzles and hunts

Caesar is a classic puzzle cipher: it is quick to test, easy to explain, and often used as a first layer.

Example with a shift of 3

Plain alphabetABCDE
Shifted alphabetDEFGH
ExampleAPP becomes DSS.

Compared with ROT13

ROT13 is a special Caesar cipher with a fixed shift of 13.

Learn more

See also the Wikipedia article about the Caesar cipher.

Special case: ROT13

ROT13 is a Caesar cipher with a fixed shift of 13. It is useful when a puzzle explicitly says ROT13 or when you want to lightly hide an answer.

Limits and reuse

AppErgo tools are provided free of charge for practical and informational purposes. Although care is taken in their design, a result may be incomplete, unexpected or incorrect. Before relying on a result for any important use, check it using an appropriate method.

To report a bug in the tool, you can use the dedicated bug report form.

Results produced by AppErgo tools may be copied and reused freely. When publicly reusing a result, a method or an AppErgo page, a link to the relevant page is appreciated.

Unless otherwise stated, AppErgo texts, images, visual elements, scripts, templates and internal components remain the property of AppErgo.

For any other request, you can contact the webmaster.