TontonTools

Caesar Cipher

Caesar cipher — encode and decode with any letter shift.

100% Free No signup Privacy-friendly Password & Security
Updated Sep 2026
Share X / Twitter Facebook LinkedIn WhatsApp

How to use Caesar Cipher

  1. Enter your text and choose the shift amount (1-25).
  2. Read the encoded/decoded result — letters shifted, others untouched.
  3. Decoding an unknown shift? Try all 25 — the readable one wins — or use letter frequency (most common → E).
  4. Treat it as a puzzle tool — never real protection.

What is Caesar Cipher?

The Caesar cipher shifts each letter a fixed number of places through the alphabet — the generalization of ROT13 to any shift (1–25). Named for Julius Caesar, who reportedly used a shift of 3 for military messages, it's the oldest and simplest substitution cipher. Shift "ABC" by 3 and get "DEF".

Like ROT13, it's a historical and educational cipher, not real security: with only 25 possible shifts, brute-forcing it takes seconds — try every shift and the readable one is the answer. It endures for puzzles, learning cryptography's foundations, and escape-room clues.

About the Caesar Cipher

Enter text and a shift amount to encode; enter ciphertext and the shift (or try all shifts) to decode.

Where the Caesar cipher shows up: puzzles and escape rooms — a staple clue-hiding device, often with the shift itself hidden as a separate riddle; CTF and cryptography learning — the entry point to substitution ciphers, frequency analysis and the concept of a key; classroom exercises — encoding secret messages is how many people first meet cryptography; and ARGs and games as a light obfuscation layer.

Cracking it (the fun part): if you don't know the shift, brute force all 25 — one will read as English. Or use frequency analysis: E is the most common English letter, so the most frequent ciphertext letter probably maps to E, revealing the shift. That very weakness — a tiny keyspace and preserved letter frequencies — is why the Caesar cipher, for all its history, protects nothing today. For real secrecy use encryption; the Caesar cipher is where you learn WHY modern cryptography is built the way it is. See ROT13 (the shift-13 special case) and Morse code for neighboring classics.

Frequently Asked Questions

Two ways: brute force all 25 shifts (one reads as English — fast and certain), or frequency analysis (the most common ciphertext letter likely maps to E, the commonest English letter, giving the shift directly).
ROT13 IS a Caesar cipher with a fixed shift of 13 — its self-reversing special case. The general Caesar cipher lets you pick any shift 1-25; only shift-13 encodes and decodes identically.
Then, most people were illiterate and the method itself was secret. Now, everyone knows the method and 25 shifts fall to a computer (or patient human) instantly. It teaches the lesson: security can't rest on a tiny keyspace or a secret algorithm.
Only puzzles, teaching and play — never protecting real information. Its value today is pedagogical: it's the simplest cipher, so it's where you learn keys, keyspaces and why modern crypto needs enormous ones.
Historically: Vigenère (multiple shifts, harder), then mechanical ciphers (Enigma), then modern math-based encryption (AES, RSA). Each fixed a weakness of the last. The Caesar cipher is chapter one of that story.

We use cookies for analytics and to keep the tools free via ads. See our Privacy Policy.