Caesar cipher
Type a message and a shift: letters move along the alphabet. To crack one, read the 25 shifts below.
Result
The 25 possible shifts
- 1Xgpk, xkfk, xkek
- 2Wfoj, wjej, wjdj
- 3Veni, vidi, vici
- 4Udmh, uhch, uhbh
- 5Tclg, tgbg, tgag
- 6Sbkf, sfaf, sfzf
- 7Raje, reze, reye
- 8Qzid, qdyd, qdxd
- 9Pyhc, pcxc, pcwc
- 10Oxgb, obwb, obvb
- 11Nwfa, nava, naua
- 12Mvez, mzuz, mztz
- 13Ludy, lyty, lysy
- 14Ktcx, kxsx, kxrx
- 15Jsbw, jwrw, jwqw
- 16Irav, ivqv, ivpv
- 17Hqzu, hupu, huou
- 18Gpyt, gtot, gtnt
- 19Foxs, fsns, fsms
- 20Enwr, ermr, erlr
- 21Dmvq, dqlq, dqkq
- 22Clup, cpkp, cpjp
- 23Bkto, bojo, boio
- 24Ajsn, anin, anhn
- 25Zirm, zmhm, zmgm
Runs in your browser: nothing you type is sent.
How it works
- Type the message and choose the shift: 3 like Julius Caesar, 13 for ROT13.
- Each letter moves that many places, Z wraps around to A; case and punctuation stay.
- 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 |
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.