TXT · Text & Data tools

ROT47 Encoder & Decoder

ROT47 rotation

Hello, World! becomes w6==@[ (@C=5P. The rotation covers the 94 printable ASCII characters from ! (33) to ~ (126), so letters, digits, and most punctuation all shift.

Self-inverse

Running the output back through ROT47 returns the original text, since 47 is half of the 94-character range being rotated.

ROT13 vs ROT47

ROT13 only touches A-Z and a-z. ROT47 rotates the full printable ASCII set, which is why source code, URLs, and numeric IDs come out fully scrambled instead of only the letters.

Frequently Asked Questions

It rotates every printable ASCII character, from ! at position 33 to ~ at position 126, by 47 positions within that 94-character range. Unlike ROT13, it also scrambles digits and punctuation, not just letters.

47 is exactly half of the 94-character range ROT47 rotates over, so applying it twice returns every character to its original position. Encoding and decoding are the same operation.

ROT13 only shifts the 26 letters of the alphabet and leaves numbers and symbols untouched. ROT47 covers the full range of printable ASCII, so a ROT13-shifted string still shows readable digits and punctuation, while a ROT47-shifted string scrambles those too.

Try one of these focused ciphers

Full Classical Cipher Encoder tool

Explore Our Tools

Browse all tools