ROT47 Cipher

Type or paste text to instantly encode or decode it with ROT47 — every printable ASCII character rotates by 47 positions.

Input Text

0
Characters
0
Lines
0
Chars shifted

ROT47 Output

Apply again to decode

Printable ASCII Range (! to ~)

ROT47 rotates characters in the range ! (33) to ~ (126) — all 94 printable ASCII characters. Spaces and non-ASCII text are unchanged.

Example: letters
A (65) p (112)
a (97) 2 (50)
z (122) K (75)
Example: digits & symbols
0 (48) _ (95)
! (33) P (80)
~ (126) O (79)
Copied!

Summary

Type or paste text to instantly encode or decode it with ROT47 — every printable ASCII character rotates by 47 positions.

How it works

  1. Type or paste your text into the input field.
  2. Each printable ASCII character (! through ~, codes 33–126) is shifted 47 positions forward within that range.
  3. Characters that fall off the end of the range wrap back to the beginning.
  4. Spaces, control characters, and non-ASCII text are passed through unchanged.
  5. The result appears instantly in the output field — apply ROT47 again to decode.
  6. Use the Copy or Download buttons to save the result.

Use cases

  • Obfuscate text that includes numbers, symbols, and letters — unlike ROT13, ROT47 transforms them all.
  • Hide spoilers or puzzle answers in a format that is still printable and pasteable.
  • Encode configuration strings for lightweight, non-security-critical obfuscation.
  • Decode ROT47-encoded content found in CTF challenges or developer examples.
  • Teach the concept of modular arithmetic and substitution ciphers.
  • Test whether a parser or renderer handles unusual but valid ASCII characters correctly.
  • Scramble code snippets or file names for demo environments.
  • Explore how ROT47 differs from ROT13 by comparing their outputs side by side.

Frequently Asked Questions

Last updated: 2026-07-01 · Reviewed by Nham Vu