ROT13 and Caesar Cipher Encoder
Encode and decode ROT13, ROT5, ROT18, ROT47 and any Caesar shift online for free: type and watch your text transform live, with an encode/decode toggle, a brute-force cracker that tries all 25 shifts and ranks them by English-likeness, a ROT13 letter-pair wheel, sample texts, copy and .txt download. 100% in your browser, no signup.
Cipher options
Decode uses 26 minus the shift. ROT13, ROT5, ROT18 and ROT47 are their own inverses, so encode and decode are the same step.
Your transformed text will appear here.
Brute-force cracker
Paste a Caesar ciphertext above, then crack it: all 25 shifts are tried and ranked by how English-like each decoding looks.
ROT13 wheel: letter pairs
Each letter pairs with the letter 13 places away. Encoding swaps each pair, which is why ROT13 undoes itself.
Honest warning
ROT13 is obfuscation, NOT encryption. Anyone can reverse it in one click, and a cracker tries all 25 Caesar shifts in milliseconds. Never use it for passwords or anything that must stay secret.
🔒 Privacy: encoding, decoding and cracking run locally in your browser. Nothing you type is uploaded, stored or seen by anyone else.
More developer tools
How this calculator works
ROT13 is the cipher that decodes itself. Every letter moves 13 places through the alphabet, which is exactly half of it, so applying ROT13 twice returns the original text: "Hello" becomes "Uryyb" and "Uryyb" becomes "Hello" again. That is why ROT13 survives as the internet's spoiler hider and puzzle staple: it scrambles text just enough that you cannot read it at a glance, yet anyone can reverse it in one click. A Caesar cipher is the general version of the same idea, shifting letters by any amount from 0 to 25, so ROT13 is really just Caesar with a shift of 13. This tool does both live as you type, plus ROT5 for digits, ROT18 for letters and digits together, and ROT47 for every printable character. Everything runs in your browser, so nothing you type is uploaded or stored.
The honest warning comes first: ROT13 is obfuscation, not encryption. There are only 25 possible Caesar shifts, so a computer tries them all in milliseconds, and this tool's cracker does exactly that, ranking each candidate by how English-like it looks using letter frequencies plus a bonus for common words. Paste any Caesar ciphertext and the cracker usually puts the true shift at the top with the readable text beside it. That makes ROT13 useless for secrets, and perfect for its real jobs: hiding a spoiler in a forum post, encoding a puzzle answer, or teaching how substitution ciphers work. The decode toggle flips any Caesar shift to its inverse (26 minus the shift), while ROT13, ROT5, ROT18 and ROT47 decode with the same operation as encode because each shift is exactly half of its alphabet.
The ROT13 wheel under the tool shows the letter pairs at a glance: A pairs with N, B with O, all the way to M with Z. Try the samples to see each variant in action, including the classic "Uryyb, Jbeyq!" and a Caesar shift 3 "Khoor, Zruog!", then copy the result or download it as a .txt file. Swap puts the output back in as input, which is handy because decoding ROT13 is the same as encoding it again. Use the Base64 Encoder when text must travel safely inside other text, the Hash Generator when you need a real one-way fingerprint, the Binary to Text Converter when the data is bytes, and the Password Generator when you need a secret that actually stays secret.
