MagmaNex LogoMagmaNex

ROT47 Cipher

ROT47 cipher for all printable ASCII

What does this tool do?

This tool encodes and decodes text with ROT47, shifting every printable ASCII character (letters, digits, and symbols, codes 33–126) by 47. Unlike ROT13, it also scrambles numbers and punctuation, so the output looks far more jumbled than a simple letter cipher.

How to use it

  1. Enter the text you want to encode or decode.
  2. The conversion happens automatically.
  3. Copy the result and use it safely.

ROT47 versus ROT13

ROT13 rotates only the 26 English letters and leaves digits and symbols untouched. ROT47 works on the entire block of 94 printable ASCII characters (from the exclamation mark through the tilde, codes 33–126) and shifts each one by 47. That is why a string like 'Hello World 123' becomes completely unrecognizable. The space character (code 32) falls outside this range, so it is preserved and word boundaries can remain visible.

Why 47, and why it is symmetric

The printable ASCII range spans 94 characters, and 47 is exactly half of that. Shifting a character forward by 47 and then by 47 again totals 94, which wraps back to the start. That makes ROT47 its own inverse: applying the same operation a second time restores the original text. Because one function both encodes and decodes, there is no need for a separate decode button.

Frequently asked questions

How do I decode ROT47 text?

Paste the encoded text back into the tool. ROT47 is symmetric, so applying it a second time returns the original message.

Why are spaces not changed?

ROT47 only shifts ASCII codes 33 through 126. The space character is code 32, which sits outside that range, so it passes through unchanged.

What about accented or non-ASCII characters?

Characters outside the printable ASCII range, such as é, ñ, or emoji, are not rotated and appear unchanged in the output.

Is ROT47 Cipher free?

Yes. ROT47 Cipher and all 300+ tools on MagmaNex are completely free with no signup or account required.

Is my data safe?

Yes. Everything runs locally in your browser. The data you enter is never sent to a server, stored, or shared.

Does it work on mobile?

Yes. ROT47 Cipher works on phones, tablets and desktops — no app download needed.

🔒 Privacy: everything runs in your browser, your data is never sent to a server.

Related Tools

Popular Tools