ROT13 text. One pass does both directions.

Technical details
Cipher
Caesar shift of 13 over A-Z and a-z
Self-inverse
encode(encode(x)) = x, so one button does both directions
Untouched
Digits, punctuation, spaces, and non-Latin letters
Security
None. Obfuscation only, never encryption
Private ● Runs entirely on your device Runs entirely on your device. Nothing is uploaded.No account required.Nothing stored unless you choose to save it.
▸ More about

Uses of ROT13 cipher

  • Decoding a spoiler from a forum or newsgroup post
  • Hiding puzzle hints and geocaching clues
  • Obscuring quiz answers below the question
  • Teaching substitution ciphers in a programming exercise

ROT13 cipher pitfalls

  • Using ROT13 for anything that needs real secrecy
  • Expecting digits and symbols to be scrambled too

ROT13 cipher questions (7)

What is ROT13?

ROT13 is a letter substitution cipher that rotates each Latin letter 13 places around the alphabet: A becomes N, B becomes O, and after Z it wraps back to A. Case is preserved, and anything that is not a Latin letter, such as digits, punctuation, and spaces, stays exactly as it is.

Why are encode and decode the same?

The alphabet has 26 letters and ROT13 shifts by exactly half of that. Shifting a letter 13 places twice moves it 26 places, which lands it back where it started. That makes ROT13 its own inverse: the same pass both encodes and decodes, which is why this tool gives the same result in either direction.

Is ROT13 encryption?

No. ROT13 has no key and a fixed, publicly known transformation, so anyone can reverse it instantly. Treat it as obfuscation: it stops text from being read at a glance, nothing more. For anything that needs real confidentiality, use actual encryption; for casual hiding of spoilers or answers, ROT13 is exactly right.

Is my text sent anywhere?

No. The rotation runs entirely in your browser with a few lines of JavaScript. Nothing you type leaves the page, nothing is stored on a server, and the tool keeps working offline once loaded.

What is ROT13 actually used for?

Hiding text from an accidental read while keeping it trivially recoverable. Classic uses include spoilers in forum posts and newsgroup messages, puzzle hints and geocaching clues, punchlines, and quiz answers. It also appears in programming exercises because the algorithm is a neat one-liner over character codes.

What happens to numbers, punctuation, and other alphabets?

They pass through unchanged. ROT13 is defined only over the 26 Latin letters in each case. Digits keep their values, emoji and accented characters like e with an acute accent stay as they are, and scripts such as Cyrillic or Chinese are untouched. A variant called ROT47 rotates a wider ASCII range if you need symbols scrambled too.

How is ROT13 related to the Caesar cipher?

ROT13 is a Caesar cipher with a shift of 13. Julius Caesar reportedly used a shift of 3 for military messages. Any shift from 1 to 25 works as a Caesar cipher, but 13 is the only one that is its own inverse in a 26-letter alphabet, which is what made it the convention on early internet forums.

What Is ROT13 and How It Works All Developer Utilities