▶ TrainingGet Pro

ROT13

ROT13 rotates every letter halfway round the alphabet. Run it again and the original text returns, so one tool does both jobs.

Open the ROT13 tool ↗

Opens Unscramble Words 4U, our free word-puzzle site, in a new tab. Free, with no sign-up.

What it does

ROT13 stands for 'rotate by 13'. A turns into N, B into O, and once you pass Z you loop back to A. With 26 letters in the English alphabet, two rotations of 13 make a full circle, which is why encoding and decoding are the same action. Type or paste text and the result shows immediately; letter case is kept, and digits, spaces and punctuation stay unchanged.

Usenet newsgroups took it up in the early 1980s for tucking away spoilers, joke punchlines and puzzle answers, so readers chose when to look. It is still handy for answer keys, quiz sheets and riddles, and because the rule never changes, children can learn to read it by eye with a little practice. In fact it is just Caesar with the shift fixed at 13, and it gives no real privacy because there is no key.

Screenshot of the ROT13 on Unscramble Words 4U, ready to use
The ROT13 as it first appears on Unscramble Words 4U.Tip: A quick check: letters A–M trade places with N–Z, so A↔N and M↔Z.

How to use it

  1. Type or paste text into the box.
  2. Read the rotated version, which appears as you type.
  3. To reverse it, paste the ROT13 text back in; it returns to normal.
  4. Press Copy result to use it elsewhere.
Screenshot of the ROT13 showing results for the example “Hello class”
Example: we entered “Hello class” to show the kind of result you get.Tip: Use ROT13 to hide answers at the bottom of a printed quiz so learners can self-mark.

More tips

Ideas for the classroom and home learning

Questions

How can I reverse ROT13 text?

Put it back into the box. Rotating by 13 a second time completes the circle and restores the original.

Are digits affected?

No, just letters. A separate scheme called ROT47 also moves digits and symbols, but you will meet it far less often.

Does ROT13 count as encryption?

Not really. It stops an accidental glance, nothing more.

What is CAT in ROT13?

PNG. C moves to P, A to N and T to G. Put PNG back in and you get CAT again, which is a quick way to show learners the code reversing itself.

Open the ROT13 tool ↗

Opens Unscramble Words 4U, our free word-puzzle site, in a new tab. Free, with no sign-up.

ROT13 has no key and no real security. It is for spoilers, puzzles and learning.

Related

← All word games and codes