How it works
This ROT13 translator swaps each letter for the one 13 places along the alphabet, so a becomes n and n becomes a. Run a line through twice and the plain text is back.
Read the full guide
One box, both directions
Type plain text and copy the code, or paste coded text and read it. The alphabet has 26 letters, so 13 places twice is a full turn. Capitals stay capitals, and digits, spaces and punctuation stay as typed.
The two rows underneath
ROT5 does the same to digits: 0 trades places with 5, and 1 with 6. Used together with ROT13 it is sometimes called ROT18. ROT47 turns all 94 printing keyboard characters, from ! to ~, by 47 places, so letters come out as digits and signs.
- A space is never changed by any of the three, so words stay apart.
- ROT13 keeps word lengths and capitals, so coded text still has the shape of a sentence.
Questions and answers
How do I decode ROT13?
Paste the coded text in the box. Decoding is the same step as coding, because every letter moves 13 of 26 places. Gur nafjre comes back as The answer.
Is ROT13 a Caesar cipher?
Yes. Wikipedia describes it as a special case of the Caesar cipher: the shift of 13, the one shift that undoes itself. For any other shift there is a cipher wheel to print.
What is ROT13 used for?
Hiding a line from a glance, not from a reader who wants it. Wikipedia records that people used it on newsgroups in the early 1980s to obscure the answer to a puzzle or a spoiler. It has no key.
What is the difference between ROT13 and ROT47?
ROT13 moves only the 26 letters. ROT47 moves the 94 printing characters from ! to ~ by 47 places, so capital A becomes p, small a becomes 2, and digits and punctuation change too.