ROT13 Encoder / Decoder

Apply the ROT13 letter substitution cipher, with optional ROT5 for digits.

  • No sign-up
  • Browser-only processing
  • Nothing uploaded
  • Free forever

ROT13 is a simple letter-substitution cipher that rotates every letter thirteen places through the alphabet, so A becomes N, B becomes O, and so on. Because the alphabet has twenty-six letters, applying ROT13 a second time returns the original text, which means a single tool both encodes and decodes. This elegant symmetry is why ROT13 has been a staple of online forums and puzzles for decades.

This tool is built for forum users, puzzle solvers, programmers and anyone who needs to lightly obscure text such as spoilers, answers or hints. ROT13 was traditionally used to hide jokes, plot twists and quiz solutions so that readers had to deliberately choose to reveal them, and it remains a quick, recognisable way to scramble text that any recipient can unscramble with the same single operation.

Everything runs locally in your browser, so nothing you type is uploaded or stored. The tool rotates only the twenty-six Latin letters and leaves spaces, punctuation and other characters untouched, preserving the shape of your text. An optional ROT5 setting also rotates the digits zero to nine by five places, and combining both is commonly known as ROT18.

Features of ROT13 Encoder / Decoder

  • Applies the classic ROT13 rotation to both uppercase and lowercase letters while leaving their case unchanged.
  • Encodes and decodes with the same single operation, since rotating thirteen places twice restores the original text.
  • Leaves spaces, punctuation, symbols and any non-Latin characters completely untouched so formatting is preserved.
  • Offers an optional ROT5 mode that rotates the digits zero to nine by five places for combined ROT18 transformation.
  • Updates the output live as you type or paste, so you can scramble and unscramble text instantly without a button.
  • Reports the character count so you can confirm the size of the text you transformed at a glance.
  • Produces output you can copy or download to paste into forums, puzzles, messages or your own projects.
  • Runs entirely in your browser with no uploads, accounts or limits, keeping anything you transform private.

How to use ROT13 Encoder / Decoder

  1. Type or paste the text you want to transform into the input box, whether it is plain text or already ROT13 encoded.
  2. Leave the result as standard ROT13, or enable the rotate digits option if you also want numbers shifted by five.
  3. Watch the transformed text appear live in the output panel as soon as you finish typing or pasting your input.
  4. To decode ROT13 text, simply paste it in and read the output, because the same rotation reverses the cipher.
  5. Review the character count shown alongside the result to confirm the whole input was processed as expected.
  6. Copy the transformed text to your clipboard or download it as a text file to share or store wherever you need.

Benefits of ROT13 Encoder / Decoder

  • Forum users hide spoilers, punchlines and answers so readers must deliberately choose to reveal the scrambled text.
  • Puzzle and quiz creators obscure hints and solutions in a way that is trivial for participants to decode when ready.
  • Programmers obfuscate sample strings or test data lightly without pulling in a heavy encoding or encryption library.
  • Students learning about ciphers experiment with a clear, self-inverse example that is easy to understand and verify.
  • Writers and game designers add authentic light-obfuscation details to projects that reference classic internet culture.
  • Anyone wanting to scramble a short note quickly does so privately, knowing the same tool reverses it instantly.

ROT13 is a special case of the Caesar cipher, the ancient technique of shifting letters by a fixed amount. What makes the thirteen-place shift uniquely convenient is that it is exactly half of the twenty-six-letter alphabet, so encoding and decoding are the identical operation. There is no separate decode step and no key to remember, which is precisely why it spread so widely as a casual obscuring tool.

The optional ROT5 mode extends the same idea to the ten digits, rotating each by five places so that, like ROT13 on letters, applying it twice restores the original number. Combining ROT13 for letters with ROT5 for digits is often called ROT18, and it lets you lightly scramble strings that mix words and numbers while keeping the convenient self-inverse property intact.

It is important to understand that ROT13 provides no real security whatsoever. It is an obscuring technique, not encryption, and anyone can reverse it instantly with this tool or by hand. Use it for hiding spoilers and answers from casual view, for puzzles, and for learning, but never rely on it to protect passwords, personal data or anything that genuinely needs to stay confidential.

Questions about ROT13 Encoder / Decoder

How do I decode ROT13 text?
Just paste the ROT13 text into the input box. Because rotating letters thirteen places twice returns them to their original positions, applying ROT13 to encoded text decodes it. The same single operation both encodes and decodes, so there is no separate decode mode for letters.
What does the rotate digits option do?
When enabled, it applies ROT5 to the digits zero to nine, shifting each by five places so zero becomes five, one becomes six, and so on. Combined with ROT13 on letters this is known as ROT18, and it too reverses itself when applied a second time.
Are punctuation and spaces affected?
No. ROT13 only rotates the twenty-six Latin letters, and the optional ROT5 only affects digits. Spaces, punctuation, symbols and characters from other scripts are left exactly as they are, so the overall shape and formatting of your text is preserved.
Is ROT13 secure for hiding sensitive information?
Not at all. ROT13 is an obscuring technique, not encryption, and anyone can reverse it instantly. It is perfect for hiding spoilers and puzzle answers from casual view, but you should never use it to protect passwords, personal data or genuinely confidential content.
Does it preserve uppercase and lowercase letters?
Yes. The rotation is applied independently to uppercase and lowercase letters and keeps each letter in its original case, so an uppercase A becomes an uppercase N and a lowercase a becomes a lowercase n. The case pattern of your text is fully maintained.
Is the tool private and free to use?
Yes. All processing happens in your browser using JavaScript, so nothing you type is uploaded, logged or stored on any server, and there are no accounts, sign-ups or usage limits. You can transform as much text as you like, privately and for free.
How your data is handled: This tool runs entirely in your browser. Nothing is uploaded or stored on our servers.

More encoding tools to try