How to encode and decode ROT13
- Paste your text into the input box. The encoded output appears instantly on the right.
- Choose a variant — ROT13 for letters, ROT5 for digits, ROT18 for both, or ROT47 for all printable ASCII characters.
- To decode, paste the encoded text — the same tool decodes it. ROT13 is its own inverse: encoding twice returns the original.
- Use “Use output as input” to chain operations or quickly swap input and output.
ROT variants explained
| Variant | Shift | Affects | Example |
|---|---|---|---|
| ROT13 | 13 | Letters A–Z | Hello → Uryyb |
| ROT5 | 5 | Digits 0–9 | 12345 → 67890 |
| ROT18 | 13/5 | Letters + digits | abc123 → nop678 |
| ROT47 | 47 | All printable ASCII (33–126) | Hello! → w6==@ 6 |
When ROT13 is used
Hiding spoilers
The original Usenet use case. Encode spoilers so readers must actively decode them.
Puzzle and CTF challenges
ROT13 is a common beginner-level cipher in Capture The Flag competitions.
Email obfuscation
Lightly obscure email addresses or names in public text to slow automated scrapers.
Forum and blog conventions
Many communities use ROT13 for off-topic jokes or answers that others may not want to see.
For stronger encoding, try Base64 Encode / Decode or Morse Code Translator for a different kind of text transformation.
Learn more about ROT13
Want the full substitution table, the math behind why encoding twice restores the original, and how ROT13 compares to the Caesar cipher? What Is ROT13? has the complete breakdown.