Advertisements

headerup to 320x100 / 728x90

ROT47 Encoder / Decoder

Apply ROT47 to shift printable ASCII characters by 47 places

Input
Loading editor...
Output

Output will appear here...

Advertisements

content bottomup to 300x250

What is ROT47 Encoder / Decoder

Last reviewed:

ASCII (American Standard Code for Information Interchange) is a 7-bit character encoding that defines 128 characters, forming the historical basis for most modern encodings.

ROT47 extends the classic ROT13 idea to the full printable ASCII range (codes 33–126), rotating every character by 47 positions within that 94-character window.

Because it also transforms digits and punctuation, ROT47 is a popular step in CTF puzzles, chain-ciphers, and obfuscated source-code snippets where ROT13 alone would be too limited.

Why use it

  • Obfuscate strings that contain numbers or punctuation.
  • Solve CTF tasks that explicitly reference 'ROT47' encoding.
  • Confirm self-inverse behaviour when building your own crypto learning material.
  • Generate mild obfuscation for email addresses posted on public pages.
  • Teach ASCII arithmetic interactively.

Features

  • Shifts printable ASCII (33–126) by 47 positions
  • Self-inverse — same operation encodes and decodes
  • Ideal for digits, punctuation, and mixed strings
  • Runs 100% client-side
  • Leaves whitespace and non-ASCII characters untouched

How to use ROT47 Encoder / Decoder

  1. Paste text. Drop any printable ASCII string into the input.
  2. Press Run. Each character in the 33–126 range is rotated by 47.
  3. Copy output. Copy the result for your puzzle solution or obfuscated snippet.

Example (before/after)

Plain text

Hello, World! 123

ROT47 output

w6==@[ (@C=5P `ab

Common errors

Non-ASCII characters unchanged

Accented or emoji characters fall outside printable ASCII.

Fix: Strip to ASCII first or accept that those glyphs pass through.

Expected case preservation

ROT47 shifts by a fixed amount, so 'A' becomes 'p' — case is not preserved.

Fix: Use ROT13 if you need case-preserving obfuscation.

FAQ

How is ROT47 different from ROT13?

ROT13 only touches letters. ROT47 rotates the full printable ASCII block so digits and punctuation are also shuffled.

Is it self-inverse?

Yes — applying ROT47 twice returns the original text.

Does it affect whitespace?

No. Spaces, tabs, and newlines are left untouched.

Can I chain it with ROT13?

Yes. Chaining the two is a common CTF puzzle trick.

Is it cryptographically secure?

No — ROT47 is obfuscation, not encryption.