Caesar Cipher Tool
Shift every letter of a message by a fixed number of places in the alphabet, or undo it. ROT13 is one click away, and a table shows what the message says for every one of the 25 possible shifts, so you can read a Caesar message without knowing the key. Only the letters A to Z are shifted: upper and lower case are kept, and so are digits, punctuation, spaces and accented letters. This is a classic puzzle cipher, not real security.
34 letters shifted, 15 other characters left as they were (1 accented, not shifted).
The Caesar cipher is not secure: anyone can try all 25 shifts in seconds. Use it for puzzles and learning, never to protect real information. Only A to Z are shifted: accented letters stay as they are.
No key? All 25 possible shifts
If the text above is an encrypted message, one of these lines should read as a real sentence. The line closest to English letter frequencies is marked.
| Key | Text if the key is this | Action |
|---|---|---|
| 1 | Cvvcem cv fcyp! Oggv og cv vjg eché cv 9 q'enqem. | |
| 2 | Buubdl bu ebxo! Nffu nf bu uif dbgé bu 9 p'dmpdl. | |
| 3Most English-like | Attack at dawn! Meet me at the café at 9 o'clock. | |
| 4 | Zsszbj zs czvm! Ldds ld zs sgd bzeé zs 9 n'bknbj. | |
| 5 | Yrryai yr byul! Kccr kc yr rfc aydé yr 9 m'ajmai. | |
| 6 | Xqqxzh xq axtk! Jbbq jb xq qeb zxcé xq 9 l'zilzh. | |
| 7 | Wppwyg wp zwsj! Iaap ia wp pda ywbé wp 9 k'yhkyg. | |
| 8 | Voovxf vo yvri! Hzzo hz vo ocz xvaé vo 9 j'xgjxf. | |
| 9 | Unnuwe un xuqh! Gyyn gy un nby wuzé un 9 i'wfiwe. | |
| 10 | Tmmtvd tm wtpg! Fxxm fx tm max vtyé tm 9 h'vehvd. | |
| 11 | Sllsuc sl vsof! Ewwl ew sl lzw usxé sl 9 g'udguc. | |
| 12 | Rkkrtb rk urne! Dvvk dv rk kyv trwé rk 9 f'tcftb. | |
| 13 | Qjjqsa qj tqmd! Cuuj cu qj jxu sqvé qj 9 e'sbesa. | |
| 14 | Piiprz pi splc! Btti bt pi iwt rpué pi 9 d'radrz. | |
| 15 | Ohhoqy oh rokb! Assh as oh hvs qoté oh 9 c'qzcqy. | |
| 16 | Nggnpx ng qnja! Zrrg zr ng gur pnsé ng 9 b'pybpx. | |
| 17 | Mffmow mf pmiz! Yqqf yq mf ftq omré mf 9 a'oxaow. | |
| 18 | Leelnv le olhy! Xppe xp le esp nlqé le 9 z'nwznv. | |
| 19 | Kddkmu kd nkgx! Wood wo kd dro mkpé kd 9 y'mvymu. | |
| 20 | Jccjlt jc mjfw! Vnnc vn jc cqn ljoé jc 9 x'luxlt. | |
| 21 | Ibbiks ib liev! Ummb um ib bpm kiné ib 9 w'ktwks. | |
| 22 | Haahjr ha khdu! Tlla tl ha aol jhmé ha 9 v'jsvjr. | |
| 23 | Gzzgiq gz jgct! Skkz sk gz znk iglé gz 9 u'iruiq. | |
| 24 | Fyyfhp fy ifbs! Rjjy rj fy ymj hfké fy 9 t'hqthp. | |
| 25 | Exxego ex hear! Qiix qi ex xli gejé ex 9 s'gpsgo. |
How it works
- Type or paste your text.
- Choose Encrypt or Decrypt and a shift from 0 to 25, or press ROT13.
- Read the result and copy it.
- If you do not know the key, look through the table of 25 shifts for the line that reads as a real sentence.
What people use it for
Puzzles and games
Write a clue for a treasure hunt, a classroom exercise or a geocache.
Hiding a spoiler
ROT13 has long been used online to hide a punchline or a spoiler so that it is not read by accident.
Breaking a message
Find the key of a Caesar-encrypted text in seconds by scanning the 25 possibilities.
Questions
- Is the Caesar cipher secure?
- No. There are only 25 useful keys, so anyone can try all of them in a few seconds, as the table on this page does. Never use it, or ROT13, to protect a password, a message or any personal data. It is a puzzle and a teaching tool.
- How does the shift work?
- Each letter moves forward by the shift in the alphabet and wraps from Z back to A: with a shift of 3, A becomes D and Y becomes B. Decrypting moves each letter back by the same number. A shift of 0 changes nothing, and a shift of 13 (ROT13) is its own undo, since 13 + 13 = 26.
- What happens to accents, digits and punctuation?
- They stay exactly as typed. Only the 26 Latin letters A to Z and a to z are shifted, so an accented letter such as e with an acute accent is not moved and stays readable in the encrypted text. The page counts how many characters were left as they were.
- How does the tool pick the most likely line?
- For texts of at least 15 letters it compares the letter counts of each of the 25 results with the usual letter frequencies of English (a chi-squared score) and marks the closest one. It assumes English text, and a short or unusual text can fool it, so read the lines yourself.