ROT47
ROT47 takes ROT13's elegant trick — shift by exactly half the alphabet so encoding and decoding become the same operation — and applies it to the full printable ASCII range: 94 characters, from ! to ~, including digits and punctuation. HELLO WORLD 123! becomes wt{{~ (~#{s `abP, text that does not even look like language. That visual weirdness made ROT47 a favourite for hiding spoilers, answers and Easter eggs in places where ROT13's letter-only output was too recognisable. One conversion works in either direction; applying it twice always restores the original.
ROT47 rotates every printable ASCII character (codes 33–126) by 47 places within that 94-character range. Because 47 is exactly half of 94, the transformation is an involution: the same operation encodes and decodes. The space character and anything outside the range — emoji, accented letters — pass through unchanged. There is no key.
ROT13's big sibling: same idea, a 94-character alphabet instead of 26 letters.
Convert — the same operation encodes and decodes
Run the result through again and the original returns — ROT47 is its own inverse.
Everything runs in your browser — nothing is uploaded.
Half of 94
Every character with an ASCII code from 33 (!) to 126 (~) is moved 47 positions forward within that 94-character range, wrapping around at the end; the space character (32) and anything outside the range pass through unchanged. Because 47 is exactly half of 94, the map is its own inverse, character by character — there is no encode mode and decode mode, only the one rotation. One visible consequence: ROT47 output betrays nothing about word shapes made of letters alone, but numbers turn into punctuation and back, so a string full of mixed symbols is a strong hint. Case is not folded: every character rotates as itself, which is why "Hello" becomes w6==@ while all-capitals HELLO becomes wt{{~ — capital E partners with t, lowercase e with 6.
From Usenet etiquette to line noise
ROT47 descends from ROT13, the Usenet convention for hiding spoilers and punchlines behind a courteous quarter-turn of effort: anyone could decode it, but nobody read it by accident. As forums and puzzle sites spread, ROT13's letter-only output proved too recognisable — the shape of the hidden text leaked through its words — and the same half-range trick applied to the whole printable ASCII set produced ROT47: output that reads as line noise. It remains a keyless, published method: obfuscation for etiquette and puzzles, never protection, and its appearances in the wild are in spoiler blocks, answer keys, game files and source-code Easter eggs.
The full ROT47 conversion table
The mapping is most easily read as two aligned alphabets. The second row is the first rotated by 47 places — find any character in the top row and the character beneath it is its ROT47 partner, in either direction:
Read it once and two famous outputs stop being mysterious: H sits above w, e above 6 — which is why "Hello" (mixed case) becomes "w6==@", while the all-capitals HELLO of the worked example becomes wt{{~. The tool above applies exactly this table; the table is printed so you can also apply it by hand, or check the tool's work — the same constants drive both.
The standard example, and the loaded one
Example 1 — Hello, the published check
The example every reference prints, verified against the table above: H (code 72) sits 39 steps into the range; 39 + 47 = 86, and code 33 + 86 = 119 is w. Lowercase e wraps: its 68 steps plus 47 pass the end of the range and land on 6. The two l's both land on =, and o on @. Paste w6==@ into the tool and Hello returns — the involution, demonstrated.
Example 2 — HELLO WORLD 123!, digits and all
Watch the digits and the exclamation mark: 1 becomes `, 2 becomes a, 3 becomes b, and ! becomes P. No letter survives as a letter here — compare ROT13, where every output character stays alphabetic. The space, sitting outside the rotated range, survives untouched, which is why the output still has word-shaped gaps.
Nothing to break — but plenty of tells
There is nothing to crack: ROT47 has no key, and any tool — including the one above, run a second time — reverses it instantly. Identification is the real skill, and ROT47 output has tells that are the reverse of ROT13's. Spaces survive, so word lengths and paragraph shape leak straight through: a line of symbol soup with ordinary word-shaped gaps is ROT47 (or its cousin) until proven otherwise. Digits almost never appear in ROT47 output — a digit means the plaintext held a punctuation mark — while brackets and signs like {, ~ and ` swarm; that is the opposite profile of Base64, which is letters and digits only. And repeats repeat identically: the doubled { { in wt{{~ was LL. Meet text matching that profile and the test is this page: paste it, run the tool once, and either English falls out or it does not — the cleanest identification test in the cipher world.
- Security status: zero as secrecy; excellent as a "do not read by accident" layer.
- What gives it away: symbol soup with English word lengths and no digits.
The rotation family
| Relative | How it differs | Solve it with |
|---|---|---|
| ROT13 | Letters only, 13 of 26 — output still looks like text | The ROT13 page |
| ROT-N | Letters only, but any shift 1–25 — a key, however tiny | The ROT-N page |
| Caesar | The historical original: letters, classically shift 3 | The Caesar page |
Spoilers, answer keys, Easter eggs
Choose ROT13 when the audience should still sense it is text — forum spoilers, puzzle hints — and when tools that auto-detect ROT13 are part of the fun. Choose ROT47 when the result should look like line noise: answer keys in source code, hidden strings in games, a casual screen between a post and its punchline. Neither protects anything of value, and both communities know it: the convention is etiquette, a curtain rather than a lock, respected by readers who could tear it aside in a second and choose not to.
Rotate by hand
Practice 1 — convert Password
Use the table: find each character in the top row, read off the one beneath.
Reveal the answer
!2DDH@C5.
Practice 2 — convert w6==@P
The same table, read in the other direction — every character's partner is itself paired.
Reveal the answer
Hello! — the involution again: ! partners with P.
Frequently asked questions
Why does ROT47 leave spaces unchanged?
The space (ASCII 32) sits just below the printable range the cipher rotates (33–126). Leaving it fixed preserves word boundaries, which keeps encoded text vaguely paragraph-shaped — usually what you want for spoiler text. It also leaks word lengths, one more reason ROT47 is etiquette, not encryption.
Can ROT47 be cracked automatically?
There is nothing to crack — it has no key. Any tool (including the one above, used in reverse by simply running it again) reverses it instantly. If you meet symbol-soup text in a puzzle, ROT47 is one of the first things to try; the identifier explains the symbol-soup fingerprints.
ROT13 or ROT47 — which should I use?
ROT13 when the audience should still sense it is text and when auto-detecting tools are part of the fun. ROT47 when you want the result to look like line noise — answer keys in source code, hidden strings in games. Neither protects anything of value.
Does ROT47 work on emoji and Unicode?
Only within its range. ROT47 rotates the 94 printable ASCII characters (codes 33–126), so letters, digits and punctuation scramble — but emoji, accented letters and every other Unicode character pass through completely unchanged, and appear in the output exactly as written. If your text mixes emoji with secret words, the emoji survive readable on the surface, which is worth knowing before you share the result.