ROT Cipher (ROT1, ROT5, ROT13, ROT18, ROT47, ROT8000)

Security Client-side rot13 rot1 rot5 rot18 rot47 rot8000 cipher encode decode caesar

This tool runs entirely client-side, in your browser: your data is never sent anywhere.

What it does

This tool bundles the whole family of ROT ("rotate") ciphers into a single encoder/decoder:

VariantWhat it rotatesAlphabet sizeNotes
ROT1Letters A-Z / a-z26Shifts every letter by 1 position
ROT5Digits 0-910Shifts only numbers by 5; leaves letters untouched
ROT13Letters A-Z / a-z26The classic — shift by 13, so it's its own inverse
ROT18Letters + digits26 + 10ROT13 (letters) + ROT5 (digits) combined
ROT47Printable ASCII 33–12694Covers letters, digits, and symbols; its own inverse
ROT8000Unicode "meme" mappingA joke cipher mapping common words/characters to emoji — not reversible in the mathematical sense, but this tool provides a matching decoder for the same table

All of them are simple substitution ciphers with no real cryptographic security — they're used for obfuscating spoilers, puzzle hunts, forum jokes, and CTF warm-ups, not for protecting sensitive data.

Try it

How it works

ROT1

Every letter is shifted by 1 position in the alphabet, wrapping around from z back to a (and Z back to A). Non-letters are left as-is. Encoding and decoding use opposite shift directions (+1 / -1).

ROT5

Every digit 0-9 is shifted by 5 positions, wrapping around (0 → 5, 7 → 2, etc). Letters and symbols are untouched. Because 5 is exactly half of 10, ROT5 is its own inverse — running it twice returns the original text.

ROT13

The classic: every letter is shifted by 13 positions. Since the Latin alphabet has 26 letters and 13 is exactly half, ROT13 is its own inverse — applying it twice returns the original text. This is why ROT13 famously has a single "Apply ROT13" button on many implementations instead of separate encode/decode.

ROT18

Simply ROT13 applied to letters combined with ROT5 applied to digits, in a single pass. Also its own inverse, for the same reason as above (13 = half of 26, 5 = half of 10).

ROT47

Instead of only the 26-letter alphabet, ROT47 rotates across the 94 printable ASCII characters from ! (33) to ~ (126). This means digits, punctuation, and symbols get scrambled too, not just letters. Since 94 is even and 47 is exactly half, ROT47 is also its own inverse.

ROT8000

A tongue-in-cheek "extension" of the ROT joke format that maps common letters/short words to emoji instead of rotating within an alphabet. It isn't a mathematical rotation and there's no universally standardized mapping — this tool implements a small, self-consistent word/letter-to-emoji table so that encoding and then decoding with the same tool round-trips correctly. Treat it as pure fun, not as an interoperable standard.

Why these are reversible with one shift value

For ROT13/ROT18/ROT47/ROT5, the rotation amount is exactly half the alphabet size being used. Rotating by half the alphabet twice brings you back to a full rotation (i.e., back to the start), which is why the same operation both encodes and decodes. ROT1 does not have this property (shifting by 1 twice does not undo itself), so this tool applies a genuine inverse shift (-1) when you click "Decode".

Security notice

None of these ciphers provide real security. They have no secret key (or a trivial/fixed one) and can be broken instantly by frequency analysis or simply trying the fixed shift. Use them for fun, obfuscating spoilers, or puzzle/CTF purposes only — never for protecting real secrets.