Encoding Tools

ROT47

Rotates all printable ASCII characters (33-126) by 47 positions. Since 47 x 2 = 94, encoding and decoding are the same operation. Perfectly symmetric.

0 chars
OUTPUT
Original
Rotated
0
Characters
0
Printable Rotated
0
Non-Printable Skipped

How to use this tool

  1. Type or paste your text into the Input box.
  2. Click Rotate to transform it — the result appears in OUTPUT.
  3. Hit Copy Rotated to copy the result to your clipboard.
  4. Compare the Original and Rotated panes to see exactly what changed, and check Characters, Printable Rotated, and Non-Printable Skipped for a quick tally.
  5. Since ROT47 is symmetric, clicking Rotate again (or pasting the result back in) returns the original text.
  6. Use Clear any time to reset the box and start over.

Why this tool is helpful

Reversibly obfuscate text

ROT47 scrambles every printable character into a hard-to-read form that is trivially reversible when you need it back — useful for hiding strings from casual glancing.

Decode ROT47 puzzles & CTF flags

ROT47 shows up in capture-the-flag challenges, escape rooms, and legacy obfuscation. Because encoding and decoding are the same operation, one tool handles both directions.

Rotate full printable ASCII

Unlike ROT13, which only shifts letters, ROT47 rotates letters, digits, and punctuation across the whole 33126 range in one pass.

See exactly what changed

The Printable Rotated and Non-Printable Skipped stats tell you how many characters were transformed and how many were left untouched.

Understand the classic cipher

Watching text rotate by 47 positions makes the mechanics of symmetric substitution ciphers concrete — a quick way to reason about how they work.

Stay private

Everything runs in your browser. Nothing is uploaded, logged, or sent to a server — safe for sensitive strings and payloads.

FAQ

What exactly is ROT47?

ROT47 is a substitution cipher that rotates every printable ASCII character — the range 33 (!) to 126 (~) — forward by 47 positions, wrapping around at the end.

Why are encoding and decoding the same operation?

There are 94 printable ASCII characters, and 47 is exactly half of 94. Applying the shift twice adds 94, which wraps back to the original character. That's why one Rotate both encodes and decodes.

What happens to characters outside 33–126?

They are passed through unchanged and counted as Non-Printable Skipped. That includes spaces (32), tabs, newlines, and any non-ASCII Unicode characters.

Why does a space stay a space?

A space is ASCII 32, just below the printable range's starting point of 33. Since only 33126 are rotated, spaces are left as-is, which keeps word boundaries readable.

Is ROT47 a form of encryption?

No. It's a trivial, well-known substitution that offers no real security. Anyone can reverse it instantly, so never rely on ROT47 to protect passwords or sensitive data.

Does ROT47 change the length of my text?

No. Every character is replaced one-for-one, so the output is always exactly the same length as the input — only the characters themselves change.

Does any of my data leave my browser?

Never. All rotation happens locally in JavaScript. Your input is not sent to, stored on, or logged by any server.