ROT47 Encoder Decoder
Encode and decode text using the ROT47 substitution cipher with our free ROT47 encoder decoder. ROT47 shifts all 94 printable ASCII characters — letters, digits, punctuation, and symbols — by 47 positions. It is self-inverse: applying it once encodes, applying it again decodes. All processing runs locally in your browser — no signup required.
Encode or decode text using the ROT47 substitution cipher. ROT47 shifts all 94 printable ASCII characters — letters, digits, punctuation, and symbols — by 47 positions. It is self-inverse: applying it once encodes, applying it again decodes. All processing runs locally in your browser with no server uploads.
Character mapping preview (first 24 characters):
A→p B→q C→r D→s E→t F→u G→v H→w I→x J→y K→z L→{ M→| N→} O→~ P→! Q→" R→# S→$ T→% U→& V→' W→( X→)
- Scope: All 94 printable ASCII characters — U+0021 (!) through U+007E (~) — including letters, digits, punctuation, and symbols.
- Shift: Each character moves 47 positions forward within the 94-character range, wrapping around at the end.
- Self-inverse: Applying ROT47 twice always returns the original text — 47 + 47 = 94 = the full range size.
- Non-printable characters: Spaces, tabs, newlines, and all characters outside U+0021–U+007E are passed through unchanged.
- Not encryption: ROT47 provides no security and is trivially reversible. Use it only for casual obfuscation, not sensitive data.
Why Use Our ROT47 Encoder Decoder?
Instant ROT47 Encoding and Decoding
Apply ROT47 to any text instantly in your browser with zero wait time. Our ROT47 encoder decoder processes input in milliseconds — since ROT47 is self-inverse, the same operation both encodes and decodes.
Secure ROT47 Encoder Decoder Online
All ROT47 encoding and decoding happens locally in your browser. Your text never leaves your device, ensuring 100% privacy every time you use our ROT47 encoder decoder online.
ROT47 Encoder Decoder - No Installation
Use our ROT47 encoder decoder directly in any browser with no downloads, plugins, or software required. Encode and decode ROT47 from any device — desktop, tablet, or mobile — instantly.
Full Printable ASCII Coverage
Unlike ROT13 which only shifts letters, ROT47 shifts all 94 printable ASCII characters — letters, digits, punctuation, and symbols — making it the most comprehensive rotation cipher for obfuscating mixed content.
Common Use Cases for ROT47 Encoder Decoder
Obfuscating Mixed Content with Symbols
ROT47 obfuscates text that contains digits, punctuation, and symbols — not just letters. Use our ROT47 encoder decoder when ROT13 is insufficient because your content includes numbers, email addresses, or code snippets.
Spoiler Hiding with Full Character Coverage
Hide spoilers that include dates, scores, codes, and special characters in forums and communities. ROT47 encodes the entire printable ASCII range, so numbers and punctuation in your spoiler are also obscured.
Developer Testing and Log Obfuscation
Quickly scramble test data in logs, fixtures, and mock API responses — including numeric IDs, timestamps, and JSON keys — so sensitive-looking strings are not accidentally committed or shared.
Puzzle and CTF Challenge Design
Capture-the-flag (CTF) challenge designers use ROT47 to encode flags and hints that include numbers and special characters. Our ROT47 encoder decoder makes it easy to prepare and verify encoded challenge content.
Casual Code and Config Obfuscation
Lightly obscure configuration values, placeholder credentials, and example API keys in documentation and tutorials so they are not accidentally used or scraped by bots.
Educational Cryptography Demonstrations
ROT47 is an excellent teaching example for full-range substitution ciphers and modular arithmetic. Use our ROT47 encoder decoder in classrooms and workshops to demonstrate how rotation ciphers work beyond the alphabet.
Understanding ROT47 Encoding and Decoding
What is ROT47?
ROT47 (Rotate by 47) is a substitution cipher that shifts all 94 printable ASCII characters — from U+0021 (!) through U+007E (~) — by 47 positions within that range. Unlike ROT13, which only shifts the 26 Latin letters, ROT47 covers the entire printable ASCII range including digits, punctuation, and symbols. Because the range contains exactly 94 characters and 47 + 47 = 94, applying ROT47 twice always returns the original text — making it self-inverse: the same operation both encodes and decodes. Our ROT47 encoder decoder implements the full ROT47 specification exactly: every printable ASCII character is shifted, while spaces, tabs, newlines, and all non-ASCII characters are passed through unchanged. ROT47 is not encryption — it provides no security and is trivially reversible, but it is widely used for casual obfuscation of mixed text content.
How Our ROT47 Encoder Decoder Works
- Enter Your Text: Paste or type the text you want to encode or decode into the input box. Since ROT47 is self-inverse, the same operation encodes and decodes — there is no separate encode/decode mode.
- Instant Browser-Based Processing: Click Apply ROT47 and the ROT47 encoder decoder processes your text entirely in your browser using pure JavaScript. Your text never leaves your device — no server, no storage, complete privacy.
- Copy or Download the Output: The result appears instantly in the output box. Use the Copy button to copy it to your clipboard, the Download button to save it as a text file, or the Swap button to move the output back into the input for round-trip verification.
What ROT47 Transforms vs. Passes Through
- Printable ASCII (U+0021–U+007E): All 94 characters in this range — including uppercase and lowercase letters, digits 0–9, and punctuation/symbols like
! @ # $ % ^ & * ( ) - _ + = [ ] { } | ; : ' " , . / < > ? ` ~— are shifted by 47 positions. - Space (U+0020): The regular space character is NOT in the printable ASCII range (it is one position below !) and is passed through unchanged.
- Control characters and newlines: Tab (U+0009), newline (U+000A), carriage return (U+000D), and all other control characters are passed through unchanged, preserving text structure.
- Non-ASCII characters: All Unicode characters above U+007E — including accented letters, CJK characters, Arabic, emoji, and extended symbols — are passed through unchanged.
ROT47 vs. ROT13 — Key Differences
- Character scope: ROT13 shifts only the 26 Latin letters (A–Z, a–z). ROT47 shifts all 94 printable ASCII characters including digits and symbols.
- Shift amount: ROT13 shifts by 13 within a 26-character alphabet. ROT47 shifts by 47 within a 94-character ASCII range.
- Use case: Use ROT13 when you only need to obfuscate letters. Use ROT47 when your text contains numbers, punctuation, or symbols that also need to be obfuscated.
- Self-inverse property: Both ROT13 and ROT47 are self-inverse — applying either cipher twice returns the original text.
Important Limitations of ROT47: ROT47 is not encryption. It is a trivially reversible substitution cipher that provides zero security against any adversary. Anyone who knows the cipher (which is public knowledge) can decode ROT47 output instantly. Do not use ROT47 to protect passwords, personal data, API keys, or any sensitive information. For real security, use proper encryption such as AES-256. ROT47 is appropriate only for casual obfuscation where the goal is to prevent accidental reading — not to prevent intentional decoding.
Related Tools
RSA/ECDSA Key Generator
Generate cryptographically secure RSA and ECDSA public/private key pairs using the Web Crypto API - Free online key generator
Cryptographically Secure Password Generator
Generate high-entropy passwords with browser cryptographic randomness and policy controls - Free secure password generator
UUID / GUID Batch Generator
Generate batches of up to 10,000 cryptographically secure UUID v4 (random) or UUID v7 (time-ordered) identifiers in your browser - Free online UUID generator
AES File Encryptor/Decryptor
Encrypt and decrypt files locally using AES-256-GCM with PBKDF2 passphrase-based key derivation - Free online AES file encryptor
Frequently Asked Questions About ROT47 Encoder Decoder
A ROT47 encoder decoder is a tool that applies the ROT47 substitution cipher to text — shifting all 94 printable ASCII characters (! through ~) by 47 positions. Because the range has exactly 94 characters and 47 + 47 = 94, applying ROT47 twice returns the original text. Our ROT47 encoder decoder runs entirely in your browser with no signup required.
ROT13 only shifts the 26 Latin letters (A–Z, a–z) by 13 positions, leaving digits, punctuation, and symbols unchanged. ROT47 shifts all 94 printable ASCII characters — including letters, digits, and symbols — by 47 positions. Use ROT47 when you need to obfuscate text that contains numbers and special characters, not just letters.
That is correct behavior. ROT47 is self-inverse because the printable ASCII range contains exactly 94 characters and 47 + 47 = 94. Applying the shift twice returns every character to its original position. This means the encode and decode operations are identical — you just apply ROT47 once to go in either direction.
No. ROT47 is a simple substitution cipher, not encryption. It provides no security — anyone who knows the cipher (which is public knowledge) can decode it instantly. Use ROT47 only for casual obfuscation, not for protecting sensitive data. For real security, use AES encryption.
Absolutely. All ROT47 encoding and decoding happens locally in your browser using JavaScript. Your text is never sent to any server, stored, or logged. Your data stays completely private on your device.
ROT47 only shifts printable ASCII characters from U+0021 (!) through U+007E (~). The regular space (U+0020), tab, newline, carriage return, and all Unicode characters above U+007E — including accented letters, emoji, and CJK characters — are passed through unchanged.
Yes — ROT47 is ideal for hiding spoilers that include dates, scores, codes, and other numeric content. Unlike ROT13 which leaves digits visible, ROT47 obfuscates digits along with letters and symbols, making the encoded text fully unreadable at a glance.
Yes — our ROT47 encoder decoder is 100% free with no signup, no account, and no usage limits. Encode and decode ROT47 as many times as you need, for any amount of text, completely free forever.
For any printable ASCII character with code point c (where 33 ≤ c ≤ 126), the ROT47 output is: ((c − 33 + 47) mod 94) + 33. This shifts the character 47 positions forward within the 94-character range, wrapping around at the end. Applying the formula twice returns the original code point.