ROT13 Encoder
Apply the ROT13 substitution cipher — shifts every letter by 13 positions. Run it twice to decode.
What Is ROT13 Encoder?
A ROT13 encoder/decoder applies the simplest possible letter substitution cipher — rotating each letter 13 positions forward in the alphabet. A becomes N, B becomes O, up to M becoming Z, then N becomes A, continuing the rotation. Because the English alphabet has 26 letters, rotating 13 positions is its own inverse: applying ROT13 twice returns the original text. This means encoding and decoding use the exact same operation.
ROT13 was widely used on early Usenet newsgroups in the 1980s and 1990s to hide spoilers, offensive jokes, and puzzle answers from casual readers — anyone who didn't want to see the content could simply not decode it, while interested parties could decode it instantly. It provides zero cryptographic security (anyone can decode it with or without the key), but serves its original purpose well: preventing unintentional reading without truly hiding information. It's also used as a simple introduction to substitution ciphers in computer science education.
See also: Caesar Cipher, Binary Code Translator, Base64 Encode / Decode, Leet Speak Generator
Hello World→Uryyb JbeyqWho Should Use This Tool?
Encode spoilers, plot reveals, and puzzle answers with ROT13 so readers can choose whether to reveal the hidden content.
Learn and demonstrate basic substitution cipher concepts using ROT13 as the simplest possible example of letter rotation.
Encode quiz answers, hints, and solutions in ROT13 for printed and digital puzzle materials where spoiler-hiding is desired.
Key Use Cases
- →Encode movie, book, and TV show spoilers in online forum posts so readers can choose to reveal them.
- →Hide puzzle answers and quiz solutions in ROT13 for printable trivia sheets and activity books.
- →Demonstrate basic substitution cipher mechanics in a computer science class using ROT13 as a minimal example.
- →Encode mildly offensive or adult jokes in online communities where the content is allowed but should require deliberate action to view.
- →Use as a quick obfuscation for non-sensitive text in fun messaging and games where decoding requires knowing the cipher.
How to Use ROT13 Encoder
- Paste or type your text into the Input Text box.
- The result appears instantly on the right.
- Click Copy to copy the output to your clipboard.
- Click Clear to reset and process new text.
Common Mistakes & Pro Tips
- !Using ROT13 for any actual security purpose — ROT13 provides zero security. It is trivially decodable by anyone, takes seconds to reverse without tools, and offers no protection against any form of adversary. Never use ROT13 for passwords, private messages, or sensitive data.
- !Expecting ROT13 to work on numbers and punctuation — ROT13 only rotates letters (A-Z, a-z). Numbers, spaces, and punctuation pass through unchanged. "Hello123!" becomes "Uryyb123!" — only the letters rotate.
Frequently Asked Questions
Everything you need to know about ROT13 Encoder
Why does ROT13 use 13 as the rotation value?
+
13 is exactly half of 26 (the number of letters in the English alphabet). This means rotating 13 positions forward and rotating 13 positions backward are the same operation — there is no separate "decode" step. Encoding and decoding use the identical function: ROT13(ROT13(text)) = text. This self-inverse property makes it uniquely convenient as a spoiler-hiding tool. Any other rotation value (ROT1 through ROT25) would require a separate decode operation.
Is ROT13 the same as the Caesar cipher?
+
ROT13 is a specific case of the Caesar cipher with a fixed rotation of 13. The Caesar cipher is the general family of letter-rotation substitution ciphers — Julius Caesar used ROT3 (shifting each letter 3 positions). ROT13 is special within this family because its rotation is self-inverse. The Caesar cipher with any other rotation requires specifying the shift amount to decode; ROT13 needs no such specification because the decode is always also ROT13.
How do I decode ROT13 text?
+
Apply ROT13 again — encoding and decoding are the same operation. N becomes A, O becomes B, and so on back to the original. Paste the ROT13 text into our converter and click encode/decode — you'll get the original text back. This is why the tool has a single button rather than separate encode/decode buttons: the operation is identical in both directions.
Where did ROT13 come from?
+
ROT13 originated on Usenet newsgroups in the early 1980s, initially in talk.bizarre. It spread as a community convention for hiding content that some readers might not want to encounter unexpectedly: spoilers for books and films, off-color humor, graphic content descriptions, puzzle solutions. The convention was simple to explain and apply, required no software (just knowing the alphabet rotation), and became a lasting internet tradition.
Can ROT13 be broken without the key?
+
Trivially — ROT13 has no key. There is only one possible mapping, and it's public knowledge. Even if you didn't know it was ROT13 specifically, frequency analysis would break any rotation cipher in seconds. The most common letter in English is E (12.7% frequency). In the ROT13 ciphertext, R (E rotated 13 positions) would be the most common letter, immediately revealing the rotation. ROT13 is not a cipher for keeping secrets; it's a convention for voluntary spoiler avoidance.
Related Tools
Last reviewed: August 2026