ROT13 Cipher Encoder & Decoder
Obfuscate spoilers, encode puzzle solutions, or decrypt geocaching hints using ROT13, ROT5, ROT18, and ROT47.
Input Text
Rotated Output
ROT13 rotates Latin letters by 13 places. Applying ROT13 a second time automatically returns the original cleartext.
What is ROT13 (Rotate by 13 places)?
ROT13 ("rotate by 13 places") is a classic Caesar substitution cipher that replaces each letter of the Latin alphabet with the letter 13 positions after it.
Because the standard English alphabet contains 26 letters, 13 is exactly half of 26 (\(26 / 2 = 13\)). This makes ROT13 an involutory (reciprocal) cipher: the encryption and decryption operations are completely identical! Running text through ROT13 once scrambles it; running the scrambled output through ROT13 again unscrambles it.
Comparison of ROT Variations
| Cipher Name | Character Set Affected | Typical Modern Application |
|---|---|---|
| ROT13 | A–Z and a–z (26 letters) | Hiding spoilers in online forums, concealing geocaching clues, Usenet posts. |
| ROT5 | 0–9 (10 decimal digits) | Obfuscating serial keys, pin numbers, and phone numbers. |
| ROT18 | Letters (ROT13) + Digits (ROT5) | Alphanumeric codes, flight numbers, and mixed password hints. |
| ROT47 | ASCII 33 (!) to 126 (~) (94 chars) | Obfuscating symbols, emails, and code snippets where punctuation must also be hidden. |