🔢 ROT47 Encoder
Encode and decode text using ROT47. Rotates ASCII printable characters by 47 positions.
About the ROT47 Encoder
ROT47 is a derivative of ROT13 that shifts all 94 printable ASCII characters (codes 33 to 126) by 47 positions. Because the shift covers numbers, symbols, and letters of both cases, ROT47 is more obfuscating than ROT13 for short strings. Like ROT13, ROT47 is its own inverse. This tool runs entirely in your browser — nothing is uploaded.
How it works
- Encode / Decode — For each character whose ASCII code is in the range 33–126, the new code is
((code - 33 + 47) % 94) + 33. - Characters outside that range (whitespace, control characters, non-ASCII) are left unchanged.
- Since 47 is exactly half of 94, applying ROT47 twice returns the original text.
- Example:
!(33) becomesP(80), andP(80) becomes!(33).
Use cases
- Light obfuscation of URLs, IDs, or snippets in casual chat.
- Creating simple puzzles and spoilers.
- Hiding punchlines or answers in forum posts.
- Demonstrating symmetric Caesar-style ciphers beyond the alphabet.
Frequently asked questions
Is ROT47 secure? No. It is a trivially reversible transformation with no key. Use it for fun, not for protecting secrets.
What's the difference between ROT13 and ROT47? ROT13 only shifts the 26 letters A–Z by 13 positions, leaving digits and punctuation untouched. ROT47 shifts the entire printable ASCII range by 47, so digits and symbols are also rotated.
Does this tool upload my text? No. All encoding and decoding happens locally in your browser.
Does ROT47 affect spaces and newlines? No. Whitespace (codes 32 and below) and non-ASCII characters pass through unchanged.