1001Ferramentas
🔂 Security

ROT47 Cipher

Apply the ROT47 cipher (rotation across 47 printable ASCII chars 33–126). Wider than ROT13: covers numbers and symbols. Applying twice returns the original. Everything in your browser.

ROT47 cobre ASCII imprimível 33–126. Símbolos são preservados em sua "imagem" rotacionada.

ROT47 rotates 94 characters, not just letters

You ran into a block of what looks like keyboard noise, something like D6?92`ab, in a forum post, a README or a CTF challenge, and someone said it was ROT47. Or you want the opposite: hiding a puzzle answer without making a production out of it. Paste the text in the input box and the result shows up beside it, updating on every keystroke. Because the shift is exactly half the table, the same field encodes and decodes.

Under the hood it is plain arithmetic: take the ASCII code of each character between 33 and 126, add 47, wrap around past 126. Since 47 is half of the 94 characters in that range, applying it twice returns the original. Hello becomes w6==@ and w6==@ turns back into Hello. Anything outside the range is copied untouched: spaces, line breaks and accented letters. So ATENCAO becomes p%t}rp~, but in ATENÇÃO the Ç and the à stay visible and leak part of the word.

Good uses: hiding a spoiler, a riddle answer, a sample string in documentation. Bad uses: passwords, tokens, anything personal. There is no key, the shift never changes, and anyone who recognises the pattern undoes it in seconds. Note too that preserved spaces expose word lengths, which is already a strong hint. Everything runs in JavaScript on your machine, with no request leaving the page. There is no copy button, so select the output text yourself.

Frequently asked questions

Is ROT47 secure encryption?
No, it is obfuscation. The rotation is fixed and publicly known, with no key involved, so reversing it is trivial for anyone who spots the format.
What is the difference between ROT13 and ROT47?
ROT13 shifts only the 26 letters and leaves digits and punctuation alone. ROT47 shifts all 94 printable ASCII characters, digits and symbols included. Both are undone by running the same operation again.
Why do accented letters stay the same?
Characters like á, ç and ã fall outside the 33 to 126 range that ROT47 rotates. The tool copies them through unchanged, along with spaces and line breaks.

Related Tools