Caesar Cipher

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

Shift:
0 25 +3
Input Text 0 chars
Output Result
Speed
Instant
Privacy
Local Only
Shift
+3 (41.5°)
Cipher Wheel
ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ3
A → D · Drag inner ring or use ←→ keys
41.5° per step
Shift + Enter to Copy

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

Input → Shift
Output
HELLO WORLD (shift 3)
KHOOR ZRUOG
KHOOR ZRUOG (decode, shift 3)
HELLO WORLD
ATTACK AT DAWN (shift 5)
FYYFHP FY IFBS
Hello, World! (shift 13 — ROT13)
Uryyb, Jbeyq!

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