ROT47 Cipher

w6==@[ (@C=5P
Transformed locally in your browser. ROT47 rotates every printable ASCII character from “!” to “~” forward by 47 positions, wrapping within that 94-character window, so digits and punctuation scramble alongside letters. Spaces, tabs, newlines, and any non-ASCII or Unicode characters pass through unchanged. The transform is self-inverse — running it twice returns the original text — so encode and decode produce identical output.

Encode text with the ROT47 substitution

Each character in the printable ASCII range maps to the one 47 places ahead, wrapping around so “Hello, World!” becomes “w6==@[ (@C=5P”. Unlike ROT13, digits and symbols are scrambled too, while spaces and Unicode are left exactly as they are.

When to use this tool

Reach for ROT47 when a CTF challenge, puzzle hunt, or quick text obfuscation scrambles not just letters but digits and punctuation too. It is the well-known companion to ROT13: where ROT13 only rotates A–Z, ROT47 shifts every printable ASCII character from “!” to “~” forward by 47 positions, so symbols and numbers move alongside letters. Spaces, tabs, newlines, and Unicode pass through untouched, so multi-line and emoji text round-trip cleanly.

Privacy and limitations

Everything runs locally in your browser; nothing is sent anywhere. This is a classical substitution cipher, not real encryption — the fixed 47-position rotation is trivial to reverse. ROT47 is self-inverse, so encode and decode produce identical output and the toggle is there only for consistency with the other cipher tools. Only printable ASCII is rotated; anything outside that range is left exactly as-is.