Skip to main content
GARGLOO

Caesar Cipher Encoder & Decoder

Shift letters, crack the code.

Runs on your device

At a glance

Input:
Text you type or paste
Processing:
Runs locally in your browser
Privacy:
Nothing you type is sent to a server

Last updated: 2026-11-13

Common use cases

  • Encoding a puzzle or escape-room clue at shift 3
  • Hiding a spoiler with ROT13 and letting readers decode it here
  • Cracking a Caesar cipher by scanning all 25 shifts at a glance
  • Teaching a class how substitution ciphers — and frequency analysis — work

About this tool

Type text and shift every letter by any amount from 1 to 25 — or paste a cipher and decode it. One-click ROT13 and ROT47 presets, a brute-force view showing all 25 possible decodings side by side, and an A–Z cipher wheel for the current shift. Case and punctuation are preserved. Everything runs in your browser — nothing you type is uploaded.

How to use it

  1. Choose Encode or Decode and set the shift (1–25) — or tap a preset: Shift 3, ROT13 or ROT47.
  2. Type or paste your text — try HELLO at shift 3, or KHOOR to decode.
  3. Copy or download the result, or open the brute-force view to see all 25 decodings at once.
  4. Use the A–Z cipher wheel below to check any letter at the current shift.

Worked examples

Input: HELLO (shift 3)

Output: KHOOR

H→K, E→H, L→O, L→O, O→R — Caesar's own shift.

Input: KHOOR (decode, shift 3)

Output: HELLO

Decoding shifts every letter back by the same amount.

Input: HELLO (ROT13)

Output: URYYB

ROT13 is self-inverse: URYYB → HELLO again.

Practical tips

  • Start with shift 3 — the one Caesar reportedly used — then try other shifts to see the wheel move.
  • Stuck on a cipher you did not write? Open the brute-force view: the readable English line stands out among 25 rows of gibberish.
  • ROT13 is the spoiler-hider's standard — one click encodes, one click (the same button) decodes.

Common mistakes

  • Using a Caesar cipher for a real secret — with 25 keys it is broken in seconds; use AES-256 for anything that matters.
  • Forgetting that decoding needs the same shift as encoding — mismatched shifts produce gibberish both ways.
  • Expecting ROT47 to leave digits alone — it shifts every printable character, including digits and punctuation.

How this compares

Most Caesar sites are bare shift boxes. This one encodes and decodes, adds ROT13 and ROT47 presets, lists all 25 brute-force decodings on the same page, and prints the A–Z wheel — locally, with no ads or signup. The tradeoff: it is a learning and puzzle tool, not encryption — and it says so plainly.

Good to know

  • Caesar mode shifts letters only — digits and punctuation pass through unchanged.
  • ROT47 shifts every printable ASCII character, so its output looks nothing like the input — that is by design.
  • The brute-force view only helps when the plaintext is readable language; random strings have no obvious winner among 25 rows.
  • Non-English letters (such as é) pass through unchanged — the cipher works on A–Z only.

Frequently asked questions

What is a Caesar cipher?

Each letter is shifted a fixed number of places through the alphabet — at shift 3, A becomes D, B becomes E, and HELLO becomes KHOOR. Julius Caesar reportedly used shift 3 for military messages around 58–50 BC. Decoding shifts every letter back by the same amount.

Is a Caesar cipher secure?

No — never use it for real secrets. There are only 25 possible shifts, so anyone can break it in seconds by trying them all (the brute-force view on this page does exactly that), and it was already being broken by frequency analysis in the 9th century by Al-Kindi. It is a teaching tool, a puzzle tool and a spoiler-hider — never encryption. For real secrets, use modern AES-256.

What is ROT13?

ROT13 is the Caesar cipher at shift 13. Because 13 is half of 26, it is self-inverse: applying it twice returns the original text. HELLO becomes URYYB, and URYYB becomes HELLO again. It is the classic way to hide spoilers and puzzle answers.

What is ROT47?

ROT47 applies the same idea to every printable keyboard character (letters, digits and punctuation) instead of letters only — each character moves 47 places through the 94 printable ASCII characters. Like ROT13 it is self-inverse, but it is still not secure: it is a toy, not encryption.

How does the brute-force view work?

It decodes your text at all 25 possible shifts and lists them side by side, so the readable one jumps out at a glance. Tap any row to use that shift. That is also why the cipher is not secure — 25 tries is nothing.

Are capitals and punctuation preserved?

Yes. Uppercase stays uppercase, lowercase stays lowercase, and spaces, digits and punctuation pass through unchanged in Caesar mode. ROT47 shifts digits and punctuation too, because it works on the whole printable range.

Is my text uploaded?

No. Encoding, decoding and brute force all run in your browser — your text never leaves this tab.

All text tools
Caesar Cipher Encoder & Decoder | GARGLOO