How the Caesar cipher works
One of the oldest ciphers: every letter is replaced by one a fixed number of places further in the alphabet. Julius Caesar used a shift of 3, so A became D, B became E and so on, wrapping around at the end: X → A.
Example: “Veni, vidi, vici” with a shift of 3 becomes “Yhql, ylgl, ylfl”. To decrypt, shift the other way — just choose “Decrypt”.
ROT13 and other alphabets
- ROT13 is a Caesar cipher with a shift of 13. The Latin alphabet has 26 letters, so the same operation encrypts and decrypts: “Hello” ↔ “Uryyb”. It was used online to hide spoilers and puzzle answers.
- The tool also offers the 32-letter Polish alphabet, which shifts letters such as ą, ł and ż too. Digits, spaces and punctuation stay unchanged.
Is the Caesar cipher secure?
No. There are only 25 possible shifts in the Latin alphabet, so you can try them all by hand in minutes, and letter-frequency analysis breaks it too. It is fine for games, treasure hunts and learning the basics of cryptography — real data protection uses modern algorithms such as AES.
Frequently asked questions
How do I crack a Caesar cipher without the key?
Try every shift from 1 to 25 in “Decrypt” mode — only one gives readable text. In longer texts, the most common letter of the ciphertext usually stands for “e”.
Is capitalisation kept?
Yes — capitals stay capitals, and characters outside the alphabet (digits, spaces, commas) don’t change.