Rotate all visible ASCII by 47. Digits and symbols change too, fully self-inverse, runs in your browser.
- Runs locally
- Category Encoding & Crypto
- Best for Checking small payloads, tokens, hashes, and encoded values quickly.
ROT47 shifts every printable ASCII character (codes 33 to 126) by 47, so digits and punctuation change too. It is self-inverse: the same action encodes and decodes.
ROT47 result appears here.What this tool does
Free online ROT47 encoder and decoder that works entirely in your browser. ROT47 shifts every visible ASCII character (code points 33 to 126, ninety-four glyphs in total) by 47 positions. Unlike ROT13, which only touches the twenty-six Latin letters, ROT47 scrambles digits, brackets, slashes and punctuation as well, so a URL or an order number no longer leaks through in plain sight. Because 47 is exactly half of 94, the transform is its own inverse, meaning the same single action both encodes and decodes. Type or paste on the left and the result appears on the right as you type, with no submit button and no server round trip. Spaces, tabs, newlines and any non-ASCII text such as Chinese, Cyrillic or emoji pass straight through untouched. One click copies the output, and the shareable URL reproduces your exact input. Everything is plain client-side JavaScript, nothing is uploaded, and it loads in well under ten kilobytes.
Tool details
- Input
- Text
- The page exposes text boxes, numeric controls, file pickers, or structured inputs depending on the tool.
- Output
- Live result + Copy
- The result area focuses on usable output, with copy, download, or preview actions when supported.
- Privacy
- Browser-side processing
- The main tool logic does not call an external API, so inputs normally stay in the current tab.
- Save / share
- Shareable URL state
- Key settings are encoded in the URL so another person can reopen the same setup.
- Performance budget
- Initial JS <= 9 KB
- No WASM budget is declared, keeping the tool quick to open on mobile.
- Best fit
- Encoding & Crypto · Developer
- Category and role tags drive related tools, internal links, and quick fit checks.
How to use
-
1. Input
Paste or drop your content into the tool panel.
-
2. Process
Click the button. All processing is local in your browser.
-
3. Copy / Download
Copy the result or download to disk in one click.
How ROT47 Encoder & Decoder fits into your work
Use it for quick browser-side encoding, decoding, hashing, token checks, and share-safe transformations.
Encoding jobs
- Checking small payloads, tokens, hashes, and encoded values quickly.
- Preparing values for APIs, URLs, docs, or support tickets.
- Avoiding account-based tools when the input might be sensitive.
Encoding checks
- Do not paste live secrets unless you are comfortable with local browser handling.
- Confirm whether the operation is reversible before sharing the result.
- For hashes, compare the exact algorithm and casing expected by the receiver.
Good next steps
These links move the current task into a more complete workflow.
- 1 Atbash Cipher Mirror the alphabet, A↔Z B↔Y, no key, self-reciprocal so the same button encodes and decodes, browser-only Open
- 2 ROT13 Encoder & Decoder ROT13 / ROT47 / Caesar cipher — encode and decode in your browser, instant. Open
- 3 Caesar Cipher Encoder & Decoder Encrypt, decrypt and brute-force a Caesar shift cipher — all 25 shifts at once, ROT13 shortcut, browser-only Open
Real-world use cases
Hide a spoiler or punchline in a forum post
ROT47 carries on the old Usenet habit of scrambling spoilers so a reader has to take a deliberate step to reveal them. Unlike ROT13, which leaves numbers and links readable, ROT47 also hides the episode number, the score or the URL inside your spoiler. Paste your reveal, copy the scrambled text into the thread, and add a note that readers can drop it back into this tool to read it.
Obfuscate a config string or token in a code comment
Sometimes you want a sample value in a code comment or a gist to be present but not instantly copy-pasteable, for example a placeholder API path or a demo ID. ROT47 rewrites the digits and symbols as well as letters, so the string stops looking like a live credential while staying trivially reversible by anyone who knows it is ROT47.
Solve or build CTF and puzzle challenges
ROT47 is a staple in capture-the-flag and escape-room style puzzles because it touches the whole printable ASCII set. When a flag looks like rotated gibberish full of symbols rather than just shifted letters, ROT47 is usually the answer. Drop the ciphertext in, read the flag, or run it the other way to author a fresh challenge.
Teach how substitution ciphers and modular arithmetic work
Because the output of ROT47 visibly changes digits and punctuation, it is a vivid classroom example of rotation over a fixed alphabet and of why a shift of half the alphabet is self-inverse. Students can type their name, watch every glyph move, then apply it again and see the original return, which makes the modular wrap-around concrete.
Common pitfalls
Expecting ROT47 to keep numbers readable the way ROT13 does. ROT13 only touches letters, but ROT47 covers the whole printable ASCII set, so a code like 12345 becomes a string of symbols. If you wanted the digits left alone, you needed ROT13 or ROT18, not ROT47.
Thinking ROT47 is encryption and using it to protect a secret. There is no key, the mapping is fixed and public, so anyone can reverse it in one line of code. Use it for obfuscation and puzzles only, and reach for AES-GCM or age when you actually need confidentiality.
Pasting text with smart or curly quotes and wondering why they survive unchanged. Curly quotes are non-ASCII characters outside the 33 to 126 range, so ROT47 leaves them as they are. Convert them to straight ASCII quotes first if you want them scrambled along with the rest.
Privacy
Every ROT47 transform here is plain JavaScript running inside your browser tab. Your text never leaves the page and nothing is logged. The one caveat is that the shareable URL encodes your input in the query string, so a share link pasted into chat will record that text in the recipient server access log. For anything sensitive, use the copy button and paste the result rather than sharing the URL.
FAQ
Tool combos
Folks in your role tend to reach for these alongside this tool.
- Add Line Numbers Number every line of pasted text — set start, step and separator, zero-pad to align, skip blanks, or strip numbers back off — browser-only
- Age Difference Calculator The exact gap between two birthdays — years/months/days, percentage, and the date one person is twice the other's age — browser-only
- AI Eval Planner Generate eval cases, pass criteria, and edge cases from an AI feature, risks, and user path.
- AI Model Comparison AI model comparison — 20+ models (GPT / Claude / Gemini / Llama / Qwen) across price, context, speed, capabilities (2026).