ROT47 Encoder Online — Encode & Decode ROT47 Text Instantly
CodexFuse Team · 2026-10-13T17:58:16.282Z · 6 min read min read
Encode and decode ROT47 text instantly with the free ROT47 encoder. Learn how ROT47 works, when to use it, and how it differs from ROT13.
A ROT47 encoder transforms readable text into obfuscated text by shifting every printable ASCII character 47 places forward through a fixed set of 94 characters. It turns plain text such as [email protected] into scrambled-looking output that hides the original message from casual readers, bots, and scrapers. Anyone can reverse the process instantly, because applying ROT47 a second time restores the original text exactly.
ROT47 is obfuscation, not encryption. It has no key, no secret, and no protection against a reader who knows the method, which is everyone. It is useful for hiding spoilers, masking an email address from simple harvesters, and disguising short strings that should not be readable at a glance. For real secrets, use modern encryption such as AES-256 over TLS. If you need a result quickly, open the free ROT47 encoder and try it with your own text.
ROT47 Encoding, in Plain Terms
ROT47 encoding is a fixed substitution that replaces each printable ASCII character, from the exclamation mark through the tilde, with the character 47 positions ahead in that 94-character set, wrapping around when it reaches the end. Spaces are left unchanged, and the transformation is fully reversible because shifting by 47 twice equals shifting by 94, which returns every character to its starting position. The name follows a simple convention. ROT stands for rotate, and 47 is the size of the shift.
ROT13, the better-known cousin, rotates letters by 13 places through the 26-letter alphabet. ROT47 extends the same idea to the full printable ASCII range, so it scrambles digits, punctuation, and symbols as well as letters. That broader range is what makes ROT47 more useful for real-world text such as email addresses, URLs, and code snippets, which ROT13 leaves half-readable.
What ROT47 changes, and what it leaves alone
- Letters, digits, and punctuation in the printable ASCII range are all shifted.
- Spaces are copied through unchanged, so word boundaries and line structure survive.
- The same operation encodes and decodes, because 47 plus 47 equals the full set size of 94.
How ROT47 Encoding Works
ROT47 encoding works by taking each character in your text, finding its position in the ordered list of 94 printable ASCII characters, character codes 33 to 126, adding 47 to that position, and wrapping around to the start of the list when the result passes the end. Characters outside that range, most importantly the space, are copied through unchanged, so word boundaries and line structure survive encoding.
Here is the underlying logic in plain terms. The printable ASCII set runs from the exclamation mark, code 33, to the tilde, code 126, giving 94 characters in total. To encode a character, subtract 33, add 47, take the result modulo 94, and add 33 back. To check the wrap-around by hand, a modulo calculator takes the result modulo 94 for you — for example, 140 mod 94 = 46. To decode, run the exact same operation, because 47 plus 47 equals 94.
A fictional worked example
The following example is fictional and is included only to show the steps. Take the fictional string Hello, written with a capital H. Add 47 to the position of each character in the printable set, wrapping around when needed, and read off the new characters. The output looks like noise to a casual reader. Apply ROT47 to that output once more, and the fictional string returns to Hello. Related reading: our complete guide on Free Online HTML Special Characters.
When ROT47 Fits, and When It Does Not
Use ROT47 when the goal is to keep text from being readable at a glance, and nothing bad happens if a curious reader decodes it. Hiding a spoiler in a forum post is the classic case. Masking an email address on a public page is another, because it stops the simplest harvesters that only read plain text.
Do not use ROT47 when the goal is privacy or security. It has no key, so there is nothing to keep secret, and the method is public knowledge. Anyone who recognises ROT47 output can decode it in seconds, with or without a tool. Passwords, tokens, customer records, and business messages must use modern encryption and access controls.
| Use ROT47 for | Do not use ROT47 for |
|---|---|
| Forum spoilers and puzzle answers | Passwords or password-reset links |
| Email addresses on public pages | API keys, tokens, or session values |
| Short strings that must not read at a glance | Customer records or business messages |
| Practice with fixed substitution ciphers | Anything that must stay private from a determined reader |
ROT47 Compared With ROT13, Base64, and URL Encoding
ROT47, ROT13, Base64, and URL encoding are all reversible text transforms, but they solve different problems. ROT13 rotates only letters by 13 places, so digits and punctuation stay readable. ROT47 rotates the full printable ASCII range, so email addresses and code snippets become unreadable at a glance. Base64 re-encodes binary data as text, and URL encoding replaces unsafe characters in a web address with percent sequences. None of these four is encryption.
For readers who enjoy classical ciphers, ROT47 sits beside other simple transforms worth comparing. The ROT13 encoder shows the letters-only version of the same idea. The Caesar cipher shows a shift with a variable amount. The Atbash cipher shows a reversal instead of a rotation.
How Do You Use the ROT47 Encoder?
The tool runs in your browser and needs no sign-up. Open it, paste your text, and read the result. The same operation encodes and decodes, so there is no mode to switch. Use harmless text you intend to publish, such as a spoiler.
- Open the ROT47 encoder and paste your text into the input field.
- Read the output.
- Copy the output and paste it where you need the obfuscated text.
- To decode, paste the obfuscated text back into the tool and apply ROT47 once more.
Keep the input harmless. Do not paste passwords, tokens, or customer data into any online tool, even one that only obfuscates. Work with the text you actually intend to publish, such as a spoiler or a public email address.
If the text only needs to be unreadable at a glance, ROT47 does the job in one click. If it must stay private, use modern encryption instead. Find hundreds more practical how-tos on our blog.
Get Started with CodexFuseFrequently Asked Questions
What is ROT47?
ROT47 is a fixed substitution that shifts every printable ASCII character 47 places forward through a set of 94 characters. It is obfuscation, not encryption.
Is ROT47 encryption?
No. ROT47 is not encryption. It has no key, and the method is public, so anyone can decode ROT47 output in seconds. Real secrets need AES-256 over TLS.
How do you decode ROT47?
Apply ROT47 a second time. Shifting by 47 twice equals shifting by 94, which is the full size of the printable ASCII set, so every character returns to its starting position.
Does ROT47 change spaces?
No. Spaces sit outside the printable ASCII range that ROT47 shifts, so word boundaries and line structure survive encoding.
What is the difference between ROT47 and ROT13?
ROT13 rotates only the 26 letters by 13 places, leaving digits and punctuation readable. ROT47 rotates all 94 printable ASCII characters by 47 places.
ROT47 is a small, honest tool. Use it for spoilers, puzzle answers, and casual masking. When the stakes are real, reach for modern encryption.















