Caesar Cipher / ROT13
Encode or decode text using the Caesar cipher (shift each letter by N positions in the alphabet). ROT13 is the default — a special case where shift=13, meaning the same operation encodes and decodes. Useful for hiding spoilers, light obfuscation, or teaching cryptography.
How to use the Caesar Cipher / ROT13
Type text, drag the shift slider, see encoded output. Decode reverses the shift. ROT13 (shift=13) is its own inverse — encoding ROT13 of ROT13 gets you back the original.
About the Caesar cipher
Named for Julius Caesar (who reportedly used shift=3 for military messages), the Caesar cipher is the simplest substitution cipher. It has no cryptographic security — only 25 possible shifts, brute-forceable instantly. ROT13 emerged in early Usenet as a way to hide spoilers or punchlines that readers would deliberately decode rather than have them stripped by the eye.
For actual security, use AES, RSA, or any modern algorithm. For light obfuscation (hiding a spoiler tag, hiding a sample answer in a quiz), Caesar/ROT13 is fine.