This free Caesar cipher tool encodes and decodes text with three classic ciphers: ROT13, Caesar shift and Atbash. It is made for puzzle fans, teachers, students and anyone who wants to hide a message for fun. These ciphers are not real security, so use them for games and learning only.
How do you use the Caesar cipher and ROT13 tool?
The tool has two main steps, and the whole thing takes a few seconds.
- Pick a cipher. Choose ROT13, Caesar shift or Atbash.
- Type your text. Write or paste the message you want to encode, or the coded text you want to read.
- Check the result. Encode and decode both work, so you can turn plain text into code and back again.

Need to go a step further? The Morse Code Translator and the Reverse Text work the same way, right in your browser.
Everything runs in your browser, and the tool is free to use.
What are ROT13, Caesar shift and Atbash?
All three are letter-substitution ciphers. Each letter in your message is swapped for a different letter by a fixed rule. The rule is what makes them different.
- Caesar shift moves every letter a set number of places along the alphabet. With a shift of 3, A becomes D and B becomes E.
- ROT13 is a Caesar shift of exactly 13 places. The alphabet has 26 letters, so running ROT13 twice gives you the original text back.
- Atbash flips the alphabet. A becomes Z, B becomes Y, and so on. Like ROT13, it undoes itself when you apply it twice.

Cipher comparison with the same word
Here is how the word "Hello" looks in each cipher. The Caesar example uses a shift of 3.
| Cipher | Rule | "Hello" becomes |
|---|---|---|
| Caesar shift (3) | Move each letter 3 places forward | Khoor |
| ROT13 | Move each letter 13 places | Uryyb |
| Atbash | Swap each letter with its mirror | Svool |
What is a Caesar cipher good for?
A Caesar cipher will not protect anything private. It is very good for light, practical jobs where the point is the puzzle, not the secret.
- Classroom lessons. Teachers use it to show how substitution ciphers work and why simple codes are easy to break.
- Puzzles and games. Scavenger hunts, escape-room clues and treasure-hunt notes all work well with a short coded message.
- Spoiler hiding. ROT13 has long been used to hide jokes or spoilers so readers have to choose to decode them.
- Checking homework. Students can test their hand-worked answers against the tool.
- Notes for friends. Kids and adults alike enjoy passing a message that needs a quick decode.
Tips for best results
- Write down your shift. If you use a Caesar shift, tell the reader which number you used. Without it, they have to guess.
- Use ROT13 when you want zero setup. Nobody needs a key because the shift is always 13. Paste the coded text in and you get the original.
- Keep messages short for puzzles. A single sentence is easier to crack and more fun than a full page.
- Test a short word first. Try "cat" with a shift of 3. You should get "fdw". If it matches, you know the settings are right.
- Don't send passwords this way. These ciphers are only for fun and teaching. Anyone can crack them in minutes.
Why does my decoded text look wrong?
Most problems come from a few simple mistakes.
- Wrong cipher. Text coded with Atbash will not decode with ROT13. Match the cipher to the one used to encode.
- Wrong shift. A Caesar message decodes only with the same shift. If you encode with 5 and decode with 4, you get nonsense.
- Encoding twice. Running the tool again on already coded text can scramble it a second time. Decode once, then read the result.
- Numbers and punctuation. These ciphers work on letters. Digits and symbols are not part of the alphabet, so don't expect them to change.
Can you break a Caesar cipher without the shift?
Yes, and it is easy. A standard Caesar cipher has only 25 possible shifts for the English alphabet. You can try each one until a readable sentence appears. That weakness is exactly why the cipher teaches so well and protects so little.
A short history of letter-shift codes
Shifting letters is one of the oldest ways to hide a message. Julius Caesar is said to have used it more than 2,000 years ago, and puzzle books and escape rooms still use it today. It is easy to break, because there are only 25 possible shifts, so treat it as a game or a teaching tool rather than real security. For anything private, use a proper password manager or encrypted messaging app instead.
