R13

ROT13 and ROT47 Cipher

Encode and decode text with ROT13 and ROT47. Reversible transformation, all in the browser.

Live·100% in your browser — no upload

What is ROT13 and ROT47 Cipher

ROT13 and ROT47 are simple, reversible rotation ciphers: ROT13 shifts each letter by 13 positions in the alphabet, ROT47 rotates all printable ASCII characters. Applying the same operation twice returns the original text.

They are not secure ciphers (anyone can decode them), but they are useful for hiding spoilers, obfuscating text or as an exercise. Everything happens in the browser.

How it works

  1. Type or paste the text.
  2. Choose ROT13 or ROT47.
  3. The result updates in real time.
  4. Apply the same cipher again to get back the original text; copy with the button.

Frequently Asked Questions

Is ROT13 safe to protect data?
No. It is a trivial cipher, reversible by anyone. It only obfuscates (e.g. spoilers), it does not protect sensitive information.
What is the difference between ROT13 and ROT47?
ROT13 rotates only letters A-Z; ROT47 rotates all printable ASCII characters (numbers and symbols too), obfuscating more.
How do I get the original text back?
Apply the same cipher again: ROT13 and ROT47 are self-inverse, encoding twice cancels the operation.

Related tools