ROT13 Transformation
Apply or remove the ROT13 cipher (Rotate 13) to your text instantly
Rotate letters by 13 places, forward or back
ROT13 is one of the oldest and simplest text-scrambling tricks. Every letter is replaced by the letter thirteen places further along the alphabet, so A becomes N, B becomes O, and N goes back around to A. Because the English alphabet has 26 letters, applying ROT13 twice returns the original text. That is why a single button on this page both encodes and decodes: paste in scrambled text and you get the readable version, paste in readable text and you get the scrambled one.
Using the rotation tool
- Type or paste your text into the Your Text box.
- Click Rotate Text.
- The Transformed Result box shows the rotated version. Beneath it, the Chars Changed figure tells you how many letters were rotated, and a small A to N label reminds you of the shift of 13.
- Click Copy Result to copy the output.
Editing the input hides the previous result, so you will always copy output that matches what is in the box. To decode a message, just run it through the same button again.
What gets changed and what does not
Only the 52 basic Latin letters, uppercase and lowercase, are rotated, and the case is preserved. Digits, spaces, punctuation, accented letters such as e with an acute accent, and characters from other scripts pass through unchanged. This means the Chars Changed count covers letters only, and a message written in Cyrillic, Greek or Chinese will come back exactly as you entered it.
When ROT13 is actually useful
- Hiding a spoiler or a punchline in a forum post so readers must choose to decode it.
- Posting a puzzle answer or a geocache hint that should not be seen at a glance.
- Obscuring an email address in plain text just enough to get past casual scrapers.
- Teaching the idea of a Caesar cipher before moving on to keys and modern cryptography.
Important limitation
ROT13 offers no real security. There is no key, the method is public, and anyone can undo it instantly, including with this same tool. Never use it for passwords, personal data or anything confidential. Treat it as a way to prevent accidental reading, not deliberate reading. Processing happens in your browser using JavaScript, and there is no option here to choose a different shift amount.
Related Tools
Related Tools