
ROT13
Encode and decode text with the ROT13 substitution cipher.
The ROT13 tool encodes and decodes text with the classic 13-letter rotation cipher. It is a simple, reversible transformation that is popular in puzzles and light obfuscation.
What is a ROT13 Cipher?
ROT13 is a simple letter substitution cipher that replaces each letter with the letter thirteen positions later in the alphabet. It is a special case of the Caesar cipher developed in ancient Rome where letters are shifted by a fixed number of positions. The name ROT13 comes fromROT13" meaning rotation by 13 places. This cipher only affects the letters A through Z and a through z, leaving numbers, punctuation marks, and other symbols unchanged in the output. This keeps the overall structure of the message recognizable, which is exactly why ROT13 is commonly used to hide spoiler text and light puzzles rather than to provide any real security.
ROT13 has the interesting property that it is self-inverse, meaning applying ROT13 twice returns the original text. This happens because the English alphabet has 26 letters, and shifting by 13 positions twice equals a full 26-position rotation, which brings each letter back to its starting position. This property makes ROT13 convenient since the same operation handles both encoding and decoding without needing separate modes or functions. As a result there is no separate decode step to learn or remember, which makes the tool approachable for people who have never worked with a cipher before and want a quick, reversible way to mask some text.
This ROT13 encoder tool processes all data entirely within your browser using client-side JavaScript. No text or encoded content is ever uploaded to any server, ensuring complete privacy for your communications. The tool provides live conversion where results appear immediately as you type, making it efficient for quick encoding or decoding tasks. ROT13 is commonly used in online forums and email to obscure potentially offensive content or spoilers while still allowing readers to easily decode the message when they choose to do so. Because nothing ever leaves the browser, the same workflow keeps working offline once the page has loaded, and repeated use adds no tracking, no history, and no account of any kind to your session.
How to use this ROT13 tool
- Type or paste your plain text into the input textarea.
- Wait for automatic conversion or press Enter to see the ROT13 encoded result.
- Copy the encoded text using the copy button provided in the result area.
- To decode, paste the encoded text back into the input field — it will automatically decode to the original text.
- The same operation works for both encoding and decoding due to ROT13 being self-inverse.
FAQ
What is ROT13?
ROT13 is a simple letter substitution cipher that shifts each letter in the alphabet by 13 positions. It is a special case of the Caesar cipher and is self-inverse, meaning applying ROT13 twice returns the original text.
How does ROT13 encoding work?
ROT13 encoding shifts each letter A through M by 13 positions to N through Z, and N through Z by 13 positions to A through M. Non-letter characters such as numbers, punctuation, and spaces remain unchanged in the output.
Is ROT13 secure for sensitive information?
No, ROT13 is not secure for protecting sensitive information. It is a trivial cipher that can be easily decoded by anyone. It is primarily used for obscuring text rather than providing real cryptographic security.
Does this ROT13 tool send my data anywhere?
No, this ROT13 tool runs entirely in your browser using client-side JavaScript. All encoding and decoding operations happen locally on your device with no data uploaded to any server.
