---
title: "Caesar Cipher: Encode, Decode and Crack Any Shift"
description: "Encrypt and decrypt with the Caesar cipher, ROT13 included, and crack a message by reading its 25 possible shifts at once."
url: "https://caracterio.com/caesar-cipher/"
lang: "en-US"
updated: "2026-11-30"
---

# Caesar cipher

Type a message and a shift: letters move along the alphabet. To crack one, read the 25 shifts below.

## How it works

1. Type the message and choose the shift: 3 like Julius Caesar, 13 for ROT13.
2. Each letter moves that many places, Z wraps around to A; case and punctuation stay.
3. To read a message, press Decode, or find the line that makes sense among the 25 shifts.

## The alphabet shifted by 3

| Plain | Cipher (+3) | Cipher (ROT13) |
| --- | --- | --- |
| A | D | N |
| B | E | O |
| C | F | P |
| D | G | Q |
| E | H | R |
| F | I | S |
| G | J | T |
| H | K | U |
| I | L | V |
| J | M | W |
| K | N | X |
| L | O | Y |
| M | P | Z |
| N | Q | A |
| O | R | B |
| P | S | C |
| Q | T | D |
| R | U | E |
| S | V | F |
| T | W | G |
| U | X | H |
| V | Y | I |
| W | Z | J |
| X | A | K |
| Y | B | L |
| Z | C | M |

## The rule

Each letter of the 26-letter alphabet is replaced by the letter a fixed number of places further, Z wrapping around to A.

Source: Suetonius, The Lives of the Caesars, Julius (Perseus Digital Library), 56, https://www.perseus.tufts.edu/hopper/text?doc=Perseus:text:1999.02.0132:life=jul.:chapter=56

## Questions

### What did Julius Caesar's cipher look like?

Suetonius writes that Caesar replaced each letter by the third one after it. With a shift of 3, "Veni vidi vici" becomes "Yhql ylgl ylfl".

### How do I crack a Caesar cipher without the key?

There are only 25 possible shifts. The list under the tool shows all of them at once: the line that reads is the key.

### What is ROT13?

The shift of 13. As the alphabet has 26 letters, applying it twice gives the text back: "Hello" becomes "Uryyb", then "Hello" again.

### What happens to accented letters?

They are reduced to their base letter before the shift (é becomes e), as in classic exercises, and the tool says when it does so.
