ROT13 Converter
Encode or decode text using the ROT13 cipher.
ROT13 Conversion
Understanding ROT13
ROT13 ("rotate by 13 places", sometimes hyphenated ROT-13) is a simple letter substitution cipher that replaces a letter with the 13th letter after it in the alphabet. ROT13 is a special case of the Caesar cipher, which was developed in ancient Rome.
Because there are 26 letters in the basic Latin alphabet, and 26 = 2 * 13, applying ROT13 to an already ROT13-encoded text restores the original text. In other words, ROT13 is its own inverse. This makes it convenient for quick encoding and decoding without needing separate functions.
Uses of ROT13
ROT13 is not intended for cryptographic security. Its primary use is to obscure text from casual glances, such as:
- Hiding spoilers in online forums or social media.
- Obscuring answers to puzzles or riddles.
- Protecting email addresses from simple spam bots (though more sophisticated bots can easily decode it).