
ROT13 / ROT47 Cipher
Encode or decode text using ROT13, ROT5, ROT47, or any custom rotation value. Self-inverse and live.
Last reviewed: April 2026New to this tool? Click here for instructions
Alphabet mapping (original → rotated):
How to Use the ROT13 Cipher Tool
The ROT13 Cipher Tool is a free online encoder that allows you to encode or decode text using the ROT13, ROT5, ROT47, or any custom rotation value. To use the tool, simply choose a cipher mode from the options provided, type or paste your text into the input field, and the encoded output will appear in real time on the right. To decode the text, simply apply the same cipher mode again. The tool is self-inverse, meaning that applying the same rotation twice will return the original text.
For example, if you choose the ROT13 mode and type 'Hello, World!', the output will be 'Uryyb, Jbeyq!'. Non-letter characters, such as spaces, digits, punctuation, and symbols, are passed through unchanged. The tool is easy to use and can be accessed from any web browser.
When to Use the ROT13 Cipher Tool
The ROT13 Cipher Tool is still actively used in specific contexts. It is commonly used to hide movie or book spoilers in online reviews and forums, obfuscate email addresses to reduce scraper visibility in source code, mask quiz answers on educational websites, encode clues in puzzle hunts and Alternate Reality Games (ARGs), and as a first example in cryptography courses.
Some Unix and Linux systems include a rot13 command-line utility, and the Python string library even has a built-in ROT13 codec. The tool is a simple and effective way to encode and decode text without the need for any software installation.
Frequently Asked Questions
What is ROT13? ROT13 is a simple letter substitution cipher that rotates each letter of the alphabet by 13 positions. Because the English alphabet has 26 letters, applying ROT13 twice always returns the original text - it is its own inverse.
What is the difference between ROT13, ROT5, and ROT47? ROT5 applies the same rotation concept to digits (0-9), while ROT47 rotates all printable ASCII characters from code 33 (exclamation mark) to code 126 (tilde) by 47 positions. Custom Rotation: The Caesar Cipher Connection The Custom ROTn mode lets you choose any rotation from 1 to 25. This is exactly the Caesar cipher - one of the oldest known encryption techniques, used by Julius Caesar to protect his military communications.
Related Tools
Explore more encoding tools: Caesar Cipher with Brute Force - try all 25 rotations at once with frequency analysis, Base64 Encoder/Decoder - binary-to-text encoding used in email and web, Hash Generator - one-way cryptographic hashing with SHA-256, and Morse Code Translator for a completely different encoding system.
Frequently Asked Questions
Quick reference
| Cipher | Shift Value | Alphabet Range | Common Use |
|---|---|---|---|
| ROT13 | 13 | A-Z (26 letters) | Obfuscation in text |
| ROT47 | 47 | ASCII 33-126 (94 characters) | Encoding in online forums |
| ROT13 | 13 | Case-insensitive | Simple data masking |
| ROT47 | 47 | Includes symbols and numbers | Complex text scrambling |
| ROT13 | 13 | Self-inverse cipher | Quick reversibility |
| ROT47 | 47 | Non-printable ASCII excluded | Secure communication |