ROT13 Cipher

About ROT13 Cipher

ROT13 cipher tool encodes and decodes text using the 13-position letter shift substitution cipher. Because encoding and decoding are the same operation, just paste your text and get the result instantly. This free, no-signup browser tool is commonly used for hiding spoilers online, simple text obfuscation, and learning the basics of substitution ciphers.

ROT13 Cipher tool is a free browser-based tool that applies the ROT13 text transformation, which substitutes each letter with the letter 13 positions after it in the alphabet. Because the alphabet has 26 letters, applying ROT13 twice returns the original text, meaning the same operation encodes and decodes. ROT13 is used as a simple way to obscure text without meaningful cryptographic protection: hiding the punchline of a joke so readers can choose whether to see it, obscuring mild spoilers in online discussions, and obfuscating email addresses in web pages to reduce spam harvesting. Non-alphabetic characters, digits, and punctuation are left unchanged. The tool runs entirely in the browser with no data sent to a server. No account or installation is required, and the transformation is instant.

ROT13 is not a security tool. The transformation is trivially reversible by anyone who knows about it, and it provides no protection against a determined reader. Its value is as a social convention for optional obscuring of content in contexts where readers have chosen to engage with the content and consent to seeing spoilers or punchlines, but the author wants to give them the choice. It originated on Usenet newsgroups and spread to forums, Reddit, and other text-based communities where rot13-encoded text in a reply signals "this contains a spoiler or punchline, decode it if you want to see it." ROT13 is also commonly used in introductory cryptography courses as the simplest example of a substitution cipher, illustrating the concepts of plaintext, ciphertext, and a key (in this case, the rotation amount). It makes the concept of symmetric encryption tangible because encoding and decoding use the same operation. For comparison, the more general form is the Caesar cipher, where the rotation amount is a variable key rather than the fixed value of 13. ROT13's self-inverse property (applying it twice returns the original) is a consequence of 13 being exactly half of 26, which is a property unique to ROT13 among the Caesar cipher family. The tool runs free in the browser without installation and handles all alphabetic characters in both uppercase and lowercase, preserving the original case in the output.

How to use ROT13 Cipher

  1. Type or paste the text you want to encode
  2. ROT13 is applied instantly, same button encodes and decodes
  3. Copy the ROT13 encoded or decoded result

Frequently Asked Questions

What is ROT13?
ROT13 ("rotate by 13 places") is a simple letter substitution cipher that replaces each letter with the letter 13 positions after it in the alphabet. Since there are 26 letters, applying ROT13 twice returns the original text.