ROT47 Cipher
Encode or decode text with the ROT47 cipher in your browser. Reversible ASCII obfuscation for visible characters.
What is ROT47?
ROT47 is a simple substitution cipher that rotates every printable ASCII character in the range 33–126 by 47 positions. Unlike ROT13, which only shifts letters, ROT47 covers digits, punctuation, and symbols, so the entire visible ASCII set can be obfuscated reversibly. Encoding and decoding use the same rotation in opposite directions.
ROT47 is not encryption, it offers no secrecy against anyone who knows the algorithm. It is useful for hiding casual spoilers, lightly encoding configuration snippets in logs, or teaching how modular arithmetic applies to text. For stronger protection use Caesar Cipher practice or modern tools such as the RSA Encrypt Decrypt utility.
How to use this tool
- Paste or type the text you want to encode or decode.
- Choose Encode or Decode; output updates instantly.
- Use Swap input ↔ output to round-trip without retyping.
- Copy the result with the built-in copy button.
Frequently Asked Questions
Which characters does ROT47 change?
Characters with ASCII codes from 33 (!) through 126 (~) are rotated. Spaces, tabs, and other control characters outside that range are left unchanged.
Is data sent to a server?
No. The rotation runs entirely in your browser; nothing is uploaded or logged.
How is ROT47 different from ROT13?
ROT13 only maps A–Z and a–z (13 positions). ROT47 uses a 94-character alphabet of printable ASCII and a 47-position shift, so numbers and punctuation participate in the cipher.