How do you decode a ROT cipher?

ROT ciphers move each character half way around its set: ROT13 the letters, ROT5 the digits, ROT18 both, and ROT47 all visible ASCII characters. Half way twice is all the way round, so decoding simply rotates the text once more. There's no key to find, only the variant.

Tool description

Paste the ROT text into the Cipher text box and pick the Rotation variant it was written in. The tool starts on ROT13, the most common one. The decoded text appears in the Plain text box as you type. Characters a variant doesn't rotate stay as they are, such as digits in ROT13 or spaces in all of them. To write ROT text, press the swap button between the boxes, which also moves the result into the input, or use the ROT Cipher Encoder.

How to tell the variants apart

  • ROT13: words of letters that make no sense, with ordinary punctuation and numbers. Watch for gur, which is the, and naq, which is and.
  • ROT18: like ROT13, but the numbers look odd too, such as a time of 2:85. If ROT13 gives words with strange numbers, switch to ROT18.
  • ROT5: readable words, but the numbers are off. Only the digits were rotated.
  • ROT47: a jumble of digits, letters and signs such as <, ?, @ and =, with the spaces of the original.

Examples

Cipher text Rotation variant Plain text
Jul qvq gur pbbxvr tb gb gur qbpgbe? ROT13 Why did the cookie go to the doctor?
Vg sryg pehzzl! ROT13 It felt crummy!
Onxr 79 pbbxvrf ng 4! ROT18 Bake 24 cookies at 9!
$?24<D 2C6 :? E96 3=F6 32D<6E] ROT47 Snacks are in the blue basket.

Tips

  • Not sure which variant it is? Paste the text into the Cipher Identifier, which recognizes ROT13 and ROT47 and decodes them right away.
  • If ROT13 gives no words, the letters may have moved by another number. The Caesar Cipher Decoder decodes any shift, and the Cipher Identifier tries them all for you.