Caesar Cipher Encoder & Decoder (ROT13)

Shift letters to encode a secret message, decode it again, or crack a Caesar cipher when you do not know the shift.

FreeNo sign-upPrivate — runs in your browser
0Letters shifted
—Best guess shift

How to use the Caesar Cipher

  1. Type your messageEnter text to encode, or a coded message to decode. Only the letters A–Z change; spaces, punctuation and other characters stay the same.
  2. Choose the shiftMove the slider from 1 to 25. Shift 3 is Julius Caesar’s original; ROT13 (shift 13) encodes and decodes with the same setting.
  3. Crack unknown codesThe list below shows your text decoded with all 25 shifts, and the best guess (the one that looks most like English) is highlighted. Click any row to use it.

Example

With shift 3, Meet me at the library becomes Phhw ph dw wkh oleudub.

Paste Phhw ph dw wkh oleudub dw vhyhq without knowing the shift, and the best guess is 3, which reads as plain English.

Frequently asked questions

Is the Caesar cipher secure?

No. There are only 25 possible shifts, so anyone can try them all in seconds, as this page does. Use it for puzzles, games and learning, never for real secrets. For real encryption, use the Text Encrypt & Decrypt tool.

What is ROT13?

A Caesar cipher with a shift of 13. Because the alphabet has 26 letters, applying ROT13 twice gives back the original text, so the same step both encodes and decodes. Forums use it to hide spoilers and puzzle answers.

How does the best guess work?

Each decoded version is compared with how often letters appear in normal English (E, T and A most often). The version closest to English is chosen. It needs about 8 or more letters to be reliable.

Popular posts from this blog

Character Counter

Speech to Text Online

Keyboard Tester