Shift cipher

ROT13 Cipher Practice: Decode the Half-Alphabet Swap

ROT13 swaps each letter with the one 13 steps away. The alphabet splits into two halves that trade places, and there is no key to hunt for.

ROT13 is a Caesar cipher with a shift of exactly 13. That is half of the 26 letters, so A moves to N, B moves to O, and when you reach the end the alphabet wraps: N moves back to A. People still use it online to hide spoilers, puzzle answers and punchlines. It is not really secret, it just keeps the answer from jumping out at you until you choose to decode it.

Cipher Munch ROT13 puzzle: a quote in cipher letters with frequency counts above each box and a translation table above the keyboard showing A to M over N to Z
ROT13 puzzleA translation table above the keyboard shows the partner of the selected letter
The ROT13 Options sheet in Cipher Munch with switches for Show translation table, Show letter frequencies, Highlight frequencies, Highlight multiple letters, Highlight errors when complete and Auto fill letters, plus the on-screen keyboard and Text Size
ROT13 OptionsTranslation table, frequencies, highlighting, Auto fill and Print / share

How it works

Plain: ABCDEFGHIJKLMNOPQRSTUVWXYZ
Cipher: NOPQRSTUVWXYZABCDEFGHIJKLM

So HELLO becomes URYYB. Because 13 is exactly half of 26, moving 13 steps twice takes you all the way round. That makes ROT13 its own inverse, and the only Caesar shift with that property: encoding and decoding are the exact same move. Run URYYB through ROT13 again and HELLO comes back. Programmers joke that “ROT26” is the most secure cipher of all, because 26 steps is a full lap and does nothing.

ROT13 only touches letters. Digits, spaces and punctuation stay exactly as they are.

The 13 pairs

Think of the alphabet as two rows of 13: A to M on top and N to Z underneath. Each column is a pair that swaps both ways: A and N, B and O, C and P, and so on, finishing with M and Z. Once you have the pairs in your head, you can read ROT13 as you would read normal text. The number trick works too: give A = 0 up to Z = 25, then add 13 (or take away 13) and wrap.

Want a quick check? Try decoding FPVRAPR. It comes out as SCIENCE.

In the app

Each ROT13 puzzle is a real quote with the speaker's name on top. A translation table sits above the keyboard: tap a cell, find its cipher letter, and type the plain letter under it. With Auto fill letters on, one answer fills every copy of that cipher letter, so a whole quote falls in a few dozen taps. In Options you can switch Show translation table, Show letter frequencies, Highlight frequencies, Highlight multiple letters, Highlight errors when complete and Auto fill letters on or off. As you improve, hide the table and decode from memory. Print / share gives you a paper worksheet to practise on.

Drill the pairs with flashcards

From the home screen, open Reference & Flashcards. The ROT13 deck turns the 13 pairs into cards. Tap to flip, swipe right for Know and left for Still learning (with undo), or take the multiple-choice Test. A few rounds and you will read ROT13 without the table. The printable Reference Sheet lists the ROT13 alphabet next to Atbash and the letter numbers.

Science Olympiad Codebusters

ROT13 is a special case of Caesar, and Caesar is not on the 2027 Codebusters list for Division C, so treat ROT13 as warm-up and background rather than a Codebusters cipher. The skill it builds, sliding letters by a fixed number, carries directly into the Vigenère and Porta ciphers, where the shift changes with a keyword. If you want the competition angle, start with Codebusters practice in the app.

ROT13 or Atbash?

Both are keyless and both undo themselves. Atbash mirrors the alphabet (A becomes Z), while ROT13 slides it by half (A becomes N). Practising both in a single session is a great way to make the pairs automatic.

Read ROT13 like plain English

Cipher Munch is free on iOS and Android, with a free Starter pack for every cipher, no ads, no account, and it works offline.