ROT13 & Caesar Cipher Encoder/Decoder
Shift letters forward or backward through the alphabet to encode or decode text — defaults to classic ROT13.
How to Use the ROT13 / Caesar Cipher Tool
- Paste or type your text into the input box.
- Set the shift amount (1–25) — it defaults to 13 for classic ROT13.
- Click "Encode" to shift the text forward, or "Decode" to reverse it.
- The result updates in the Result box.
- Click "Copy Result" to copy it to your clipboard.
Frequently Asked Questions
Is this secure encryption?
No — the Caesar cipher is a classic educational and puzzle cipher, not real encryption. There are only 25 possible shift values, so it can be broken by brute force in seconds, even by hand. Use it for fun, wordplay, or spoiler-hiding, not for protecting anything sensitive — for real security needs, check out our Hash Generator or Password Generator instead.
Why is ROT13 special compared to other shift values?
Because the alphabet has 26 letters, a shift of exactly 13 is its own inverse — applying ROT13 twice to any text returns the original text unchanged. That's why ROT13 is a popular convention for hiding spoilers or punchlines online: the same button both encodes and decodes.
Does this preserve punctuation, numbers, and spacing?
Yes — only letters A–Z and a–z are shifted. Numbers, punctuation, spaces, and line breaks all pass through completely unchanged, and each letter's original uppercase or lowercase case is preserved.
How does the Decode button know how to reverse the shift?
It simply re-applies the cipher using 26 minus your chosen shift amount, which is mathematically equivalent to shifting backward by the original amount — so you never have to calculate the inverse shift yourself.
Can I use a shift amount other than 13?
Yes — the shift amount is adjustable from 1 to 25, so this tool works as a general Caesar cipher, not just classic ROT13.