Cipher Decipher

Classical Ciphers

Caesar Cipher

Encrypt or decrypt messages by shifting letters through the alphabet.

Share this tool

Cipher DecipherCipher Decipher
Plaintext Tool

Share this tool

Help others discover this plaintext tool

Caesar shift cheat sheet

Each row shows ciphertext for plaintext "ABCDEFGHIJKLMNOPQRSTUVWXYZ" at the listed shift (encryption).

ShiftCiphertext alphabet
1BCDEFGHIJKLMNOPQRSTUVWXYZA
2CDEFGHIJKLMNOPQRSTUVWXYZAB
3DEFGHIJKLMNOPQRSTUVWXYZABC
4EFGHIJKLMNOPQRSTUVWXYZABCD
5FGHIJKLMNOPQRSTUVWXYZABCDE
6GHIJKLMNOPQRSTUVWXYZABCDEF
7HIJKLMNOPQRSTUVWXYZABCDEFG
8IJKLMNOPQRSTUVWXYZABCDEFGH
9JKLMNOPQRSTUVWXYZABCDEFGHI
10KLMNOPQRSTUVWXYZABCDEFGHIJ
11LMNOPQRSTUVWXYZABCDEFGHIJK
12MNOPQRSTUVWXYZABCDEFGHIJKL
13NOPQRSTUVWXYZABCDEFGHIJKLM
14OPQRSTUVWXYZABCDEFGHIJKLMN
15PQRSTUVWXYZABCDEFGHIJKLMNO
16QRSTUVWXYZABCDEFGHIJKLMNOP
17RSTUVWXYZABCDEFGHIJKLMNOPQ
18STUVWXYZABCDEFGHIJKLMNOPQR
19TUVWXYZABCDEFGHIJKLMNOPQRS
20UVWXYZABCDEFGHIJKLMNOPQRST
21VWXYZABCDEFGHIJKLMNOPQRSTU
22WXYZABCDEFGHIJKLMNOPQRSTUV
23XYZABCDEFGHIJKLMNOPQRSTUVW
24YZABCDEFGHIJKLMNOPQRSTUVWX
25ZABCDEFGHIJKLMNOPQRSTUVWXY
Embed Caesar Cipher
Customize and generate embed code for your website or application

Customization

Preview

Cipher Decipher
Caesar Cipher
Tool preview area

Embed Code

Related Tools

Discover similar tools

ROT13 Cipher
Same category - highly relevant
Simple letter substitution cipher that rotates letters by 13 positions.
classical-ciphersTry Tool
Baconian Cipher
Same category - highly relevant
Hide binary messages using two different fonts or character representations.
classical-ciphersTry Tool
Autokey Cipher
Same category - highly relevant
Polysubstitution cipher that uses the plaintext itself as part of the encryption key.
classical-ciphersTry Tool
Atbash Cipher
Same category - highly relevant
Reverses the alphabet mapping A to Z, B to Y, and so on for encoding.
classical-ciphersTry Tool
Playfair Cipher
Same category - highly relevant
Digraph substitution cipher that encrypts pairs of letters using a 5x5 grid.
classical-ciphersTry Tool
Beaufort Cipher
Same category - highly relevant
Variant of Vigenère cipher using reciprocal mathematical operation for encryption.
classical-ciphersTry Tool

Introduction

The Caesar cipher is every introduction to cryptography's favorite toy: slide each letter a fixed distance along the alphabet and read the result. Roman histories credit similar tricks to Julius Caesar's correspondence, while modern puzzle magazines still print Caesar-themed quotes because the pattern teaches substitution without overwhelming beginners. Cipher Decipher pairs that idea with a shift slider from zero through twenty five, separate encrypt and decrypt toggles, and instant feedback so you can brute force a mystery message without touching graph paper. It is intentionally weak by today's standards, which makes it perfect for pedagogy, ARG teasers, and warm-up rooms before harder challenges appear.

What this tool does

  • Rotates uppercase and lowercase Latin letters independently while leaving punctuation and spaces untouched.
  • Exposes the shift as a slider so you can jump between keys quickly during a classroom demo.
  • Offers Encrypt and Decrypt modes that apply the shift forward or backward with one swap button.
  • Recomputes output live so rotating the slider feels like scanning a combination lock.
  • Runs locally in the browser so class exercises never depend on a backend staying online.

How this tool works

Each keystroke re-evaluates the entire input string with the current shift and mode. Encrypt mode adds the shift modulo twenty six inside each letter range, while decrypt mode subtracts the same amount so you can recover plaintext without mentally inverting the math. Non letters pass through unchanged, which matches how newspaper cryptograms keep apostrophes readable. The slider writes integers only; partial shifts are out of scope because classical Caesar puzzles assume whole letter positions. Copy routes through the output textarea, and clearing resets only the input while leaving your chosen shift alone. The optional URL query parameter records draft text for study groups but never records which shift you picked, so screenshots of the address bar remain safe to share in walkthrough posts.

How the cipher or encoding works

Monoalphabetic substitution with a single alphabet rotation has a tiny key space. There are only twenty five non-zero shifts for English, so frequency analysis or brute force breaks serious secrets in seconds. Historians still discuss Caesar's biographers more than they worry about the cryptographic strength, and modern standards such as NIST's public-key guidance exist precisely because letter shifts cannot resist computers. Yet the cipher remains valuable as a mental model: it shows how keys work, why key space matters, and why padding languages with nulls does not fix structural weaknesses. Once learners grasp rotation, teachers can contrast polyalphabetic systems such as Vigenere that vary the shift along the message.

How to use this tool

  1. Type or paste ciphertext or plaintext into the large input area.
  2. Choose Encrypt to apply your chosen shift forward, or Decrypt to walk backward along the alphabet.
  3. Drag the slider until the message reads correctly when you already know the key, or scan visually when you are guessing.
  4. Use Swap direction when you realize you started in the wrong mode without losing your draft.
  5. Copy the ciphertext or plaintext from the output once you're satisfied, or share the page link for collaboration on the same input string.

Real-world examples

Monday worksheet

A teacher assigns shift five to encode a short quote about perseverance. Students decrypt with the slider at five in Decrypt mode, then write a paragraph explaining why the method fails if an attacker tries all twenty five shifts on a laptop. The exercise lasts ten minutes yet connects history with modern threat models better than a textbook diagram alone.

ARG teaser on social media

A marketing team posts ROT13 gibberish for a game launch. Fans drop the line here, flip to shift thirteen, and quote-tweet the reveal within minutes. Moderators keep the official shift documented so help channels do not contradict each other when newcomers ask for hints.

CTF warmup room

Organizers label the first flag as classic rotation before releasing Vigenere challenges. Competitors paste ciphertext, sweep the slider, and spot readable English at shift eleven within seconds. The quick win builds morale before harder tasks demand crib dragging and statistical tests.

Comparison with similar methods

MethodComplexityTypical use
Caesar cipherVery lowTeaching rotation and frequency intuition
Vigenere cipherMediumKeyed polyalphabetic puzzles
AES-GCMHighConfidentiality on real systems

Limitations or considerations

Only the twenty six letter Latin ranges participate. Accented letters, digits, emoji, and CJK characters remain unchanged, which matches many English-language puzzles but not every international scenario. Anyone who sees the ciphertext can try every shift; never rely on this tool for private messages.

Frequently asked questions

Related tools

Conclusion

Treat this page as a friendly laboratory for rotation before you graduate to keyed ciphers and modern primitives. It demonstrates Caesar's historical footprint honestly, admits the microscopic key space, and still delights puzzle fans who want a quick scratch pad. Pair it with Morse or Base64 pages when a storyline layers multiple classic tricks, and remind students that real secrecy lives in algorithms with enormous keys and careful protocols, not in sliding three letters left or right.