Skip to content
TextArray
100% local

ROT47 cipher

Encode or decode text with the ROT47 cipher, right in your browser.

Input
Output

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.

FAQ

How is ROT47 different from ROT13?
ROT13 rotates only the 26 letters A–Z and ignores digits and punctuation. ROT47 rotates all 94 printable ASCII characters from "!" to "~", so numbers and symbols change too.
How do I decode ROT47?
Apply ROT47 again. Rotating by 47 twice within the 94-character range returns the original text, so the same operation both encodes and decodes.
Is ROT47 secure?
No. It is a fixed substitution with no key and can be reversed by anyone. Use it for fun and obfuscation, never to protect sensitive data.
What happens to accented letters and emoji?
They stay exactly as they are. ROT47 only touches ASCII codes 33 to 126, so non-ASCII characters, spaces and line breaks are left unchanged.
Is my text uploaded anywhere?
No. The tool runs entirely in your browser and your text never leaves your device.