ROT13 / Caesar cipher
Shift letters through the alphabet by any amount, ROT13 by default.
Related tools
ROT13 / Caesar cipher
ROT13 replaces every letter with the one thirteen places further along the alphabet: a becomes n, n becomes a. Thirteen is exactly half of twenty-six, which is why the same operation both encodes and decodes — run the text through twice and you are back where you started. That quirk made it the standard way to hide punchlines, spoilers and puzzle answers on Usenet and forums from the 1980s onwards. Move the shift slider anywhere between 1 and 25 and you get the general Caesar cipher, the one Julius Caesar reportedly used with a shift of three.
Pick encrypt or decrypt: at ROT13 the direction makes no difference, at every other shift it does. Only the twenty-six unaccented Latin letters rotate, and their case is preserved — spaces, punctuation, accented letters, emoji and non-Latin scripts pass through untouched, exactly as the cipher is defined. Switch on "Shift digits too" and 0–9 rotate by five as well; ROT13 plus ROT5 is known as ROT18 and is likewise its own inverse. Faced with a message and no key, turn on "Show all 25 shifts" and the tool prints every candidate decoding labelled with its shift, so the readable line names its own key.
A Caesar cipher is a classic, not a security measure. Twenty-five keys fall in less time than it takes to read this sentence, and the brute-force preview built into this page proves the point. Use it for puzzles, CTF warm-ups, teaching and spoilers. For text that genuinely needs protecting, use the encrypt text tool, which derives an AES-256-GCM key from your password.
Everything runs in your browser, so nothing is uploaded and the page works offline. Copy the result, download it as .txt, or move it back to the input and chain another step.