ROT13 Encoder and Decoder

Apply the ROT13 letter-rotation cipher. Results appear as you type.

Loading tool…

  • Free
  • No sign-up
  • Runs in your browser

How to use the rot13 encoder and decoder

  1. ROT13 works the same in both directions.
  2. Type or paste your text in the top box.
  3. Copy the converted result.

What is ROT13?

ROT13 (“rotate by 13 places”) replaces each letter with the one 13 positions further along the alphabet, wrapping round from Z to A. A becomes N, B becomes O, and so on. Because the alphabet has 26 letters, doing it twice returns the original text, so the same button both encodes and decodes.

PlainA B C D E F G H I J K L M
ROT13N O P Q R S T U V W X Y Z

Numbers, punctuation and spaces are not changed.

What is it used for?

ROT13 offers no security at all. It is used to hide text from a casual glance: spoilers for films and books, puzzle solutions, punchlines to jokes, and geocaching hints. It became a convention on Usenet newsgroups in the 1980s and is still used on forums today. For a shift other than 13, use the Caesar cipher tool.

Frequently asked questions

Is ROT13 secure?

No. Anyone can reverse it instantly. Never use it to protect sensitive information.

Is my text stored or sent anywhere?

No. Everything happens inside your browser. Your text is not uploaded, logged or read by anyone. The page remembers your last text on this device only, so you can pick up where you left off; press Clear to remove it.

Related tools