Developer Tools

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.

A <-> NB <-> OC <-> PD <-> QE <-> RF <-> SG <-> TH <-> UI <-> VJ <-> WK <-> XL <-> YM <-> Z

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.

Frequently asked questions

How do I decode ROT13 text?
Paste the ROT13 text into the input box and pick the ROT13 variant. Because ROT13 is its own inverse, decoding is the same as encoding: "Uryyb, Jbeyq!" decodes to "Hello, World!" with the same single step. The output appears live as you type, and you can copy it or download it as a .txt file.
What is the difference between ROT13 and a Caesar cipher?
ROT13 is a Caesar cipher with a fixed shift of 13, exactly half the alphabet, which makes it its own inverse. A general Caesar cipher shifts letters by any amount from 0 to 25, so shift 3 turns "Hello" into "Khoor" and decoding needs shift 23. Use the slider for any Caesar shift and the ROT13 variant for the classic fixed shift.
How does the brute-force cracker work?
The cracker tries all 25 possible Caesar shifts and scores each decoded candidate with a chi-squared test against English letter frequencies, plus a bonus for every common English word it finds. The candidates are ranked best first, so the true plaintext usually sits at the top. It works best on sentences of a dozen words or more; very short texts have too little signal to rank reliably.
What are ROT5, ROT18 and ROT47?
ROT5 shifts only digits by 5, so 0123456789 becomes 5678901234. ROT18 combines ROT13 on letters with ROT5 on digits, so "Hello 123" becomes "Uryyb 678". ROT47 shifts every printable ASCII character by 47 places, so it scrambles punctuation and symbols too. All three are their own inverses, like ROT13.
Is ROT13 secure enough for passwords or private messages?
No. ROT13 is obfuscation, not encryption: anyone who recognizes the pattern reverses it instantly, and a brute-force cracker tries all 25 shifts in milliseconds. Never use ROT13 or any Caesar cipher for passwords, private messages or anything that must stay secret. Use the Password Generator for real secrets and the Hash Generator for one-way fingerprints.
Is my text uploaded anywhere?
No. Encoding, decoding and cracking all run locally in your browser with no server round trip, no account and no storage. Closing the page discards your text, which is why the tool is safe for puzzle answers and spoiler text, though you should still never paste real secrets into any cipher this weak.
Disclaimer: Results are estimates for planning purposes only and are not financial advice. Actual loan terms, taxes and investment returns vary. Consult a qualified professional before making financial decisions.