Caesar Cipher
Free Caesar cipher encoder & decoder — interactive cipher wheel, brute force 25 shifts, frequency analysis, step-by-step breakdown. ROT13 included.
Updated May 2026
How to use the Caesar cipher tool
Three steps, live result
1. Paste your text
Plaintext to encode, ciphertext to decode — the result updates as you type.
2. Set the shift
Use the slider, the number field, or drag the ring on the cipher wheel (0–25).
3. Copy the result
Click Copy or press `Shift + Enter` — the encoded or decoded text is ready to paste anywhere.
What this Caesar cipher decoder can do
More than a one-way encoder
Interactive cipher wheel
Drag the inner ring to set the shift visually — the same disc scribes used to encrypt Caesar's military messages.
Brute force (25 shifts)
Cracks an unknown shift by showing all 25 possible outputs at once, with the most readable one highlighted.
Frequency analysis
A histogram flags the likely shift automatically — click the suggested value to apply it in one move.
ROT13 built in
Shift 13 is one click away — the most common variant outside Caesar's original military use.
Punctuation preserved
Numbers, spaces, and punctuation pass through untouched, matching the original substitution algorithm.
Runs 100% in your browser
No text ever leaves your device — no account, no upload, no server round-trip.
Examples
When people reach for this tool
The most common scenarios among people who use it
CTFs and escape-room puzzles
One of the most common cipher types in competitions and geocaching. Use brute force mode to crack an unknown shift in seconds.
Classroom demonstrations
The step-by-step breakdown shows (P + shift) mod 26 letter by letter, making the algorithm concrete for students.
ROT13 for spoiler text
Shift 13 is self-inverse — applying it twice returns the original text. Long-standing convention on Usenet and Reddit.
Learning frequency analysis
The histogram shows how letter distribution reveals the key, introducing statistical cryptanalysis with a real example.
Common mistakes
Wrong shift when decoding
Switch to Decode mode and enter the same shift value used to encode — the tool reverses it automatically, you don't need to calculate 26 minus the shift yourself.
Forgetting ROT13 is self-inverse
With shift 13, encoding and decoding are the same operation. Applying it twice always returns the original text.
Trusting it for real security
There are only 25 possible keys, and frequency analysis breaks it in seconds. Use it for education, puzzles, and recreational use only — never for anything that actually needs to stay private.
Why use this Caesar cipher tool
The interactive cipher wheel, 25-shift brute force, and frequency analysis in one place make this the most complete tool for learning and breaking the Caesar cipher — not just a one-way encoder that spits out a shifted string.
Everything runs in your browser, with no sign-up and no text ever sent to a server.
Frequently asked questions
It shifts every letter of the alphabet by a fixed number of positions. With shift 3, A becomes D, B becomes E, and Z wraps back to C. Numbers, spaces, and punctuation are left unchanged. Julius Caesar reportedly used this method for his military correspondence around 50 BC, which is where the name comes from.
References
Related Tools
- ROT13 Encoder / Decoder Developer Free ROT13 encoder and decoder: instant bidirectional conversion with live preview. ROT5, ROT18, ROT47, visual alphabet mapping (A↔N), no signup.
- Enigma Machine Simulator Developer Simulate the WWII electromechanical rotor cipher with real-time electrical signal flow, configurable rotors, plugboard, and step animation mode.
- Bcrypt Generator Developer Free bcrypt hash generator and verifier — 100% client-side. Real-time cost benchmark, hash parser, code snippets for Node.js, Python, PHP, Go. No signup.
- Reverse Text - Mirror, Flip, Backwards & Palindrome Checker Developer Free reverse text generator: reverse characters, mirror text, flip text, apply ROT13, and check palindromes instantly with real mirror preview.
- ASCII Table Generator Developer Free ASCII table generator — create plain-text tables in MySQL, Markdown, Unicode and more styles. Paste CSV or type data, copy output in one click. No signup.