ROT13 / ROT47 Converter

Apply the two classic “Caesar” rotations: ROT13 shifts letters A-Z / a-z by 13 places (its own inverse), while ROT47 shifts the full printable ASCII range (codes 33–126) by 47 places. Type any text, pick a rotation and click the button — run it twice to get your original text back.
All processing happens locally in your browser — nothing is uploaded.
How it works: ROT13 leaves digits, punctuation and every non-ASCII character (such as CJK) untouched. ROT47 rotates the 94 printable ASCII characters; spaces, tabs, newlines and non-ASCII text pass through unchanged. Because both shifts are exactly half their alphabet size, encrypting and decrypting are the same operation.
Cipher:
Ctrl+Enter in the input runs the transform.
Pick ROT13 or ROT47 and transform. All processing stays in your browser.
Background:
ROT13 (rotate by 13) is used on USENET and in email lists to lightly obscure spoilers, punchlines or offensive words. It is a Caesar cipher with half of the 26-letter alphabet as its shift, which is why it is its own inverse: applying it a second time always restores the text. ROT47 widens the trick to every printable ASCII character (codes 33–126, a range of 94 characters; shift 47 is exactly half), so it also scrambles digits and punctuation — but the output is always visible, printable text. Neither method is cryptography; both are simple obfuscation that any browser can undo instantly.