Caesar Cipher

Quick answer: Caesar Cipher is a free online caesar cipher decoder: encode and decode Caesar ciphers with any shift from 1 to 25. This free caesar cipher decoder preserves case and punctuation — no signup, runs entirely in your browser. No account or install needed — it runs entirely in your browser, free.

Encode and decode Caesar ciphers with any shift from 1 to 25. This free caesar cipher decoder preserves case and punctuation — no signup, runs entirely in your browser.

What is the Caesar Cipher?

A Caesar cipher decoder (and encoder) works with one of history’s oldest encryption methods: each letter is shifted a fixed number of places through the alphabet. With the classic shift of 3, A becomes D, B becomes E, and so on — the cipher Julius Caesar reportedly used for military messages.

Our tool handles both directions with an adjustable shift from 1 to 25. Encoding shifts letters forward; decoding shifts them back. Uppercase and lowercase are preserved separately, and numbers, spaces and punctuation pass through untouched, so your message structure stays readable.

It is free with no signup and runs entirely in your browser. Use it to create puzzle clues, secret notes for friends, classroom cryptography lessons, or to decode a Caesar-shifted message you received — trying all 25 shifts takes seconds. Two thousand years after Caesar’s messengers carried shifted dispatches, the same cipher still delights children, puzzlers and students meeting cryptography for the first time. Its beautiful weakness — only 25 possible keys — is precisely what makes it the perfect teaching tool. It remains the friendliest possible introduction to the ideas of keys, encryption and codebreaking.

How to use the Caesar Cipher

  1. Choose Encode to scramble text or Decode to reveal a Caesar-shifted message.
  2. Set the shift amount from 1 to 25 — 3 is the historical classic.
  3. Type or paste your text into the input box.
  4. Press the convert button to see the shifted result instantly.
  5. Copy the output or download it as a text file for puzzles and notes.

Caesar Cipher use cases

Puzzle hunts and escape rooms

Caesar shifts are a staple puzzle mechanic. Encode clues for scavenger hunts or decode a mysterious shifted message found in a game. Hide the shift number in a previous clue for a satisfying multi-stage solve.

Secret notes

Kids and friends pass notes that look like gibberish to anyone without the shift number — simple, fun and screen-free to decode by hand too. Kids love that decoding by hand is entirely possible with patience and an alphabet strip.

Classroom cryptography

Teachers introduce encryption concepts with Caesar ciphers before moving to modern cryptography. Students grasp keys, brute force and frequency analysis hands-on. Let students race to brute-force an unknown shift — the winner truly understands keyspace.

Decode unknown messages

Received a shifted message without the key? Try all 25 shifts in seconds — the readable English result reveals both the message and the key used. Frequency analysis — E, T, A are the most common letters — cracks even long messages fast.

Game and story flavor

‘Ancient’ encrypted inscriptions in games, stories and role-playing campaigns feel authentic with a real historical cipher behind them. Aged paper plus a Caesar inscription sells ‘ancient mystery’ better than any invented script.

Tips

  • Decoding a mystery message? Just try every shift from 1 to 25 — the one that produces readable English is your answer.
  • ROT13 is simply a Caesar shift of 13, popular online for hiding spoilers; set the shift to 13 to read or write it.
  • Remember the Caesar cipher is a toy, not real security — never use it for actual secrets; try the AES text encryptor on this site for that.
  • Keep the shift number private between you and your recipient — anyone who knows it can decode the message instantly.

Frequently asked questions

How does the Caesar cipher work?
Each letter is shifted a fixed number of positions through the alphabet. With shift 3, A becomes D, B becomes E ... X becomes A (wrapping around). Decoding reverses the shift. The shift amount is the 'key' — anyone with the key can read the message.
What shift should I use?
Any number from 1 to 25 works; 3 is the historical classic attributed to Julius Caesar, and 13 (ROT13) is the internet standard for hiding spoilers. For puzzles, less obvious shifts like 7 or 19 are more challenging. Avoid shifts of 0 (no change) and note that shift 13 applied twice returns the original.
Does it change numbers and punctuation?
No. Only letters A–Z and a–z are shifted, with uppercase and lowercase preserved separately. Numbers, spaces, punctuation and emojis pass through unchanged so the message shape stays recognizable. This also means word lengths and sentence shapes leak through — part of why it is so breakable.
Can I decode a message if I do not know the shift?
Yes — there are only 25 possible shifts, so try them all. The correct one produces readable English. This 'brute force' weakness is exactly why the Caesar cipher is a learning toy rather than real encryption. With only 25 candidates, a computer — or this tool — tries them all in under a second.
Is the Caesar cipher secure?
Not at all by modern standards — it can be broken in seconds by trying all shifts or by letter-frequency analysis. Use it for fun, puzzles and education only. For real privacy, use the AES text encryptor on this site.
What is ROT13?
ROT13 is a Caesar cipher with a shift of 13. Its neat property is that encoding and decoding are the same operation — apply it twice and you get the original text. It is commonly used online to hide spoilers and puzzle answers.
Is the Caesar cipher tool free?
Yes — free, unlimited, no signup. Encode and decode as much text as you like, entirely in your browser. Encode and decode as many messages as you like, for life, completely free — no account, no quotas, no watermarks. Students, puzzlers and teachers can use it every day without limits.