ROT13 / Caesar
Encode or decode text with ROT13 or a custom Caesar cipher shift
ROT13 is its own inverse
ROT13 shifts each letter 13 positions forward in the alphabet. Because the alphabet has 26 letters, applying ROT13 twice returns the original text. The Encode and Decode buttons in the tool do the same operation — they exist only for clarity. Case is preserved: A→N, a→n, Z→M, z→m. Non-alphabetic characters pass through unchanged.
| Input | ROT13 output |
|---|---|
| Hello, World! | Uryyb, Jbeyq! |
| SOS | FBF |
| Spoiler text | Fcbvyre grkg |
| 12345 | 12345 (digits unchanged) |
Custom Caesar cipher
The shift input lets you set any value from 1 to 25. A shift of 13 is ROT13; a shift of 3 is the original Caesar cipher. Encode adds the shift; Decode subtracts it (by adding 26 − shift). The shift applies only to alphabetic characters, and separately to uppercase and lowercase ranges.
Frequently Asked Questions
Your files stay on your computer. Dad promised.