ROT13, ROT5, ROT47 & Caesar Cipher
Apply the classic letter-shift ciphers — ROT13, ROT5 for digits, ROT18, ROT47, or any custom Caesar shift — instantly.
What is ROT13?
ROT13 is a simple letter-substitution cipher that shifts every letter by 13 places — A becomes N, B becomes O, and so on. Because the Latin alphabet has 26 letters, applying ROT13 twice gets you back the original text, which is what makes it the classic spoiler-text cipher of forums and Usenet. It is not encryption — anyone who knows the trick (or sees the suspicious-looking output) can decode it instantly. Use it for hiding spoilers, mild obfuscation, or as a teaching example for substitution ciphers.
How to use the cipher tool
Pick a mode — ROT13 for letters only, ROT5 for digits only, ROT18 for both (ROT13+ROT5), ROT47 for printable ASCII, or Caesar with any custom shift from 1 to 25. Paste your text into the input field. The output updates as you type. To decode, paste the ciphertext and apply the same mode again (ROT13/5/18/47 are self-inverse). For Caesar with a custom shift, decode by re-applying with shift = 26 minus the original.
How each mode works
ROT13: each letter is shifted 13 places (mod 26), case-preserved. ROT5: each digit 0-9 is shifted 5 places (mod 10). ROT18: ROT13 on letters and ROT5 on digits, applied together. ROT47: every printable ASCII character (codes 33-126) is shifted 47 places (mod 94), so punctuation also rotates — and ROT47 is its own inverse like the others. Caesar: same as ROT13 but with any shift you choose; only ROT13 (shift=13) is self-inverse — for other shifts, decode with 26 − shift.
Mode reference
| Mode | What it shifts | Example |
|---|---|---|
| ROT13 | Letters A-Z and a-z (case preserved). Self-inverse. | Hello → Uryyb |
| ROT5 | Digits 0-9 only. Self-inverse. | 12345 → 67890 |
| ROT18 | Letters and digits, combined. Self-inverse. | Code 42 → Pbqr 97 |
| ROT47 | Every printable ASCII character (33-126), including punctuation. Self-inverse. | Hello! → w6==@P |
| Caesar (custom shift) | Letters only, shifted by your chosen amount (1-25). | abc + 3 → def |
EN
PT
ES