ROT13 encoder and decoder
Encode or decode ROT13 in one box: the same step hides and reveals text. It is free and runs in your browser.
Runs in your browser Updates as you type Free, no signup
How to use the ROT13 encoder and decoder
Paste your text
Type or paste into the box on the left. It never leaves your browser.
See it encoded
Choose the option you need. The result updates straight away.
Copy the result
Press Copy result to copy it, or Save to download a .txt file.
Examples
Real results from this tool.
| You type | You get |
|---|---|
| The butler did it | Gur ohgyre qvq vg |
Why ROT13 undoes itself
ROT13 shifts every letter 13 places, and the alphabet has 26 letters, so shifting twice brings each letter back. That is why forums used it to hide spoilers, punchlines and puzzle answers: readers apply it once to reveal the text. Numbers and punctuation are unchanged. It is a Caesar cipher with a shift of 13, so it offers no real security.
ROT13 examples
Hello becomes Uryyb, Spoiler becomes Fcbvyre and the answer is 42 becomes gur nafjre vf 42. Because ROT13 only moves letters, numbers and punctuation stay readable, which makes it easy to spot. Usenet newsgroups adopted it in the 1980s so readers could choose whether to see a spoiler or an offensive joke, and it is still used in puzzle hunts and geocaching hints.
ROT13 is not encryption. Anyone can decode it in one step, so never use it for passwords or private information.
Copy tips
Paste a ROT13 message into the box and the plain text appears at once; paste plain text and you get ROT13. There is no direction to choose.
Related tools
More fun translators and similar tools, all free.
Questions about the ROT13 encoder and decoder
ROT47 is a similar idea that also rotates digits and punctuation, using 94 printable ASCII characters. This page does ROT13.
Yes, it is a Caesar cipher with a shift of 13. Use the Caesar cipher tool for other shifts.
Yes. It is free with no signup, and it runs in your browser.
No. Only the letters A to Z move. Numbers, spaces and punctuation stay the same.
No. The conversion runs in your browser, so the text never leaves your device and works offline once the page has loaded.