Free ROT13 Encoder & Decoder
Last updated: March 16, 2026
A ROT13 encoder and decoder applies Caesar cipher rotation to text, with support for ROT5, ROT47, and custom shifts. Enter your text below to encode or decode with ROT13 instantly.
Encode and decode ROT13, ROT5, ROT47 & custom Caesar ciphers. Free online cipher tool — no signup required.
Developers, security professionals, and power users who work with encoded data and character conversions.
100% free, runs entirely in your browser — no signup, no data sent to any server.
How to Use the ROT13 Encoder Decoder Tool
ROT13 Encoder Decoder Features and Options
About the Free Online ROT13 Encoder Decoder
How to Use the ROT13 Cipher Tool
1. Choose your cipher mode. Select ROT13 for standard letter rotation, ROT5 for digits only, ROT47 for all printable ASCII characters, or Caesar Cipher for a custom rotation amount.
2. Set Caesar options (if applicable). In Caesar Cipher mode, use the slider to pick a rotation from 1 to 25. Toggle between Encode and Decode to shift letters forward or backward.
3. Enter your text. Type or paste the text you want to encode or decode. The transformed output appears instantly below the input field.
4. Copy the result. Click the Copy button to copy the encoded or decoded text to your clipboard.
The History and Uses of Rotation Ciphers
Rotation ciphers are among the oldest known encryption techniques. The Caesar cipher, named after Julius Caesar, dates back to the first century BC. Caesar reportedly used a shift of 3 to encrypt military correspondence, replacing each letter with the letter three positions ahead in the alphabet. While primitive by modern standards, this technique was effective in an era when most people were illiterate.
ROT13 is a specific instance of the Caesar cipher that uses a shift of 13. Its key property is that it is its own inverse: encoding and decoding use the exact same operation. This symmetry made it popular in early internet culture, particularly on Usenet newsgroups in the 1980s, where it was used to hide spoilers, offensive content, and puzzle answers from casual readers.
ROT5 applies the same rotation concept to digits. Because there are 10 digits (0 through 9), a rotation of 5 is self-inverse, just like ROT13 is for the 26 letters. Some systems combine ROT13 and ROT5 together, often called ROT13.5 or ROT18, to obfuscate both letters and numbers simultaneously.
ROT47 extends the concept further by rotating all 94 printable ASCII characters (character codes 33 through 126). This means letters, digits, and symbols like exclamation marks, brackets, and ampersands all get shifted. With 94 characters in the set and a rotation of 47, ROT47 is also self-inverse. It provides more thorough obfuscation than ROT13 since numbers and punctuation are also disguised.
Today, rotation ciphers are not used for security. Modern encryption algorithms like AES and RSA are vastly more complex. However, rotation ciphers remain valuable as educational tools for teaching the fundamentals of cryptography, including substitution, key spaces, and brute-force attacks. They also continue to serve practical purposes for light obfuscation in forums, email addresses, and programming puzzles.
Frequently Asked Questions About ROT13 Encoder Decoder
What is ROT13 and how does it work?
ROT13 is a simple letter substitution cipher that replaces each letter with the letter 13 positions after it in the alphabet. Since the English alphabet has 26 letters, applying ROT13 twice returns the original text. For example, 'Hello' becomes 'Uryyb'. It only affects letters — numbers, spaces, and punctuation remain unchanged.
What is the difference between ROT13, ROT5, and ROT47?
ROT13 rotates only the 26 English letters by 13 positions. ROT5 rotates only the 10 digits (0-9) by 5 positions, so '0' becomes '5' and '7' becomes '2'. ROT47 rotates all 94 printable ASCII characters (including letters, numbers, and symbols) by 47 positions, providing broader obfuscation.
What is a Caesar cipher?
A Caesar cipher is a substitution cipher named after Julius Caesar, who reportedly used it to protect military messages. It shifts each letter by a fixed number of positions in the alphabet. ROT13 is actually a specific Caesar cipher with a shift of 13. This tool lets you use any shift from 1 to 25.
Is ROT13 encryption secure?
No. ROT13 is not encryption and provides no real security. It is trivially easy to reverse since there are only 25 possible shifts to try (brute force). ROT13 is best used for hiding spoilers, puzzle answers, or obscuring text from casual reading — never for protecting sensitive information.
How do I decode ROT13 text?
Simply apply ROT13 again. Since ROT13 shifts letters by 13 positions and the alphabet has 26 letters, applying it twice returns to the original text. Just paste the encoded text into this tool with ROT13 mode selected, and the decoded text appears instantly.
Can I use a custom rotation amount?
Yes. Switch to Caesar Cipher mode and use the rotation slider to choose any shift from 1 to 25. You can also toggle between Encode and Decode modes. Encoding shifts letters forward, while decoding shifts them backward by the same amount.
Where is ROT13 commonly used?
ROT13 is commonly used on forums and social media to hide spoilers, puzzle solutions, and punchlines. It appears in email obfuscation to prevent spam harvesting, in programming challenges, and as an introductory example when teaching cryptography concepts.
Is my text sent to a server?
No. All encoding and decoding happens entirely in your browser using JavaScript. Your text never leaves your device.
Related Free Online Tools
Encode text with ROT13, then explore our other encoding, hashing, and text tools.