ROT13 Cipher
Rotate letters by 13 positions using the reciprocal ROT13 substitution cipher commonly used for puzzle hints, spoilers, and punchlines.
Calculation Breakdown
What is the ROT13 Cipher?
ROT13 ("rotate by 13 places") is a special case of the Caesar cipher that rotates letters by exactly 13 positions ($k = 13$). Because the modern Latin alphabet contains 26 letters ($26 ÷ 2 = 13$), applying ROT13 twice restores the original text ($13 + 13 = 26 \equiv 0 \pmod{26}$).
This reciprocal property means the exact same algorithm is used for both encoding and decoding: applying ROT13 to "HELLO" yields "URYYB", and applying ROT13 to "URYYB" returns "HELLO".
Historically popularized on Usenet in the 1980s, ROT13 is the universal standard for hiding joke punchlines, movie spoilers, and geocaching puzzle clues without requiring a secret key.
How to Use This Tool
- Enter your text, spoiler, or geocaching hint into the input field.
- The ROT13 engine swaps each letter with the letter 13 places away (A↔N, B↔O, C↔P...).
- Run the output through ROT13 again at any time to decrypt and reveal the message.
- Copy the obfuscated or decrypted text with a single click.
ROT13 Examples
Encoding Greeting
Applying ROT13 to "Hello World".
Reciprocal Decoding
Applying ROT13 again to recover the original string.
Security vs Obfuscation
- ROT13 provides zero cryptographic security; it is strictly an obfuscation mechanism designed to prevent accidental reading.
- Numbers and punctuation marks are preserved unchanged.
Frequently Asked Questions
What is ROT13?
Why is ROT13 self-reversing (reciprocal)?
Is ROT13 used for security?
Related Tools
Shift letters along the Latin alphabet by a configurable key offset (1–25).
Monoalphabetic substitution cipher where the alphabet is mapped onto its reverse (A ↔ Z, B ↔ Y).
Polyalphabetic substitution cipher using a repeated secret keyword and the Vigenère tabula recta.