ROT47 cipher
Encode or decode text with the ROT47 cipher, right in your browser.
ROT47 cipher
ROT47 is a simple substitution cipher that shifts every printable ASCII character by 47 places. It works across the 94 characters from "!" (code 33) to "~" (code 126), which means letters, digits and punctuation are all scrambled — unlike ROT13, which only rotates the 26 letters A–Z and leaves numbers and symbols alone. Paste your text and the result appears instantly.
Because 47 is exactly half of the 94-character range, applying ROT47 a second time brings the text straight back. The same button both encodes and decodes: run it once to obfuscate a string, run it again on the result to read it. There are no keys, options or settings to get wrong.
Typical uses are lightweight and playful rather than secure — hiding puzzle answers, spoiler text, forum jokes or the sort of "reveal by decoding" messages you find on programming boards. ROT47 offers no real cryptographic protection, so never use it to protect passwords or private data; reach for a proper cipher for that.
Everything runs locally in your browser. Your text is never uploaded to a server, which makes this tool safe for pasting snippets you would rather keep off the network. Spaces, tabs, line breaks and any non-ASCII characters such as accented letters or emoji pass through untouched, so the layout of your text is preserved. When you are done, copy the output or download it as a .txt file.