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?
What is the difference between ROT13 and ROT47?
Why do accented letters stay the same?
Related Tools
ROT13 Cipher
Apply the ROT13 cipher (rotate by 13 letters) to text. Applying twice returns the original. Used in forums to hide spoilers. Only A–Z and a–z are affected. Everything in your browser.
Vigenère Cipher
Encrypt and decrypt text with the polyalphabetic Vigenère cipher using a keyword. More robust than Caesar by using multiple shifts. Everything in your browser.
Atbash Cipher
Apply the Atbash cipher (A↔Z, B↔Y, C↔X...): each letter is mirrored in the alphabet. Ancient Hebrew cipher used in the Bible. Applying twice returns the original. Everything in your browser.
Frequency Analysis to Break Ciphers
Count letter, bigram and trigram frequencies in ciphertext and compare with Portuguese/English references.
Bifid Cipher with Custom Key
Encrypts text with the Bifid cipher using a 5x5 Polybius square built from your keyword, merging I and J and interleaving row and column coordinates.
Hill Cipher 2×2
Encrypt text with a 2×2 matrix mod 26 (Hill cipher) — algebraic explanation and key invertibility check.