ROT13 encode/decode with optional ROT5 digits and ROT-N custom shifts.
🔁 ROT13 is its own inverse — paste the output back to decode. Any other ROT-N shift undoes with 26 − N (ROT7 decodes with ROT19). Case is preserved; digits pass through untouched unless ROT5 is enabled, which is likewise self-inverse.
ROT13 rotates every letter 13 positions around the 26-letter alphabet — exactly halfway. Apply it twice and you have rotated 26 positions, which is a full lap back to the start: encoding and decoding are the same operation, the same button, the same code path. That property is why it spread everywhere; there is no "wrong direction" to get wrong.
ROT13 is the Caesar cipher with the key nailed to shift 3... generalized to 13. Caesar-shift with any key N is equally breakable by hand — 25 possible keys, try them all in a minute — but ROT13's fixed halfway shift is the special case that needs no key agreement at all. Julius Caesar's reports shifted by 3; Usenet spoilers by 13; the threat model in both cases is "someone glancing", never "someone trying".
Only the 26 ASCII letters rotate; digits, punctuation, spaces and accented characters pass through untouched. The optional ROT5 rotates digits by 5 (0↔5, 1↔6) and is self-inverse for the same reason — 5+5=10, one full lap of the ten digits. Combined ROT13+ROT5 is a common convention in puzzle communities. Unicode letters beyond a-z do not rotate here, so a text in Cyrillic or Greek stays as-is.
Hiding puzzle answers and spoilers, scrambling exam keys, obfuscating a joke's punchline so the reader opts in to decoding — all fair game, because the point is a veil, not a lock. Storing passwords, "encrypting" API keys or hiding anything an adversary actually wants is not: ROT13 output is broken by any decoder within seconds, including this very page. Treat it as a courtesy fence, and reach for real cryptography the moment secrecy matters.
More tools you might find useful
Capitalize the first letter of each sentence automatically.
Convert URL slugs back to readable titles.
Sort any list alphabetically in one click.
Shift subtitle timings by any offset and strip formatting.