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 decodePrintable 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) → } (125)
Example: digits & symbols
0 (48) → _ (95)
! (33) → P (80)
~ (126) →] (93)
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
- Type or paste your text into the input field.
- Each printable ASCII character (! through ~, codes 33–126) is shifted 47 positions forward within that range.
- Characters that fall off the end of the range wrap back to the beginning.
- Spaces, control characters, and non-ASCII text are passed through unchanged.
- The result appears instantly in the output field — apply ROT47 again to decode.
- 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
Related tools
Last updated: 2026-05-23 ·
Reviewed by Nham Vu