ROT Cipher Encrypt & Decrypt

Encrypt and decrypt text using ROT13, ROT5, ROT18, and ROT47 cipher algorithms. Self-reversing encryption for letters, digits, and ASCII characters

ROT Type
Encrypt and decrypt text using ROT13, ROT5, ROT18, and ROT47 cipher algorithms. Self-reversing encryption for letters, digits, and ASCII characters

Letters only (A-Z, a-z)

Input Text
Enter text to encrypt/decrypt...
Output Text
Encrypted/decrypted text will appear here...

What is ROT Cipher?

ROT (Rotate) ciphers are simple letter substitution ciphers that replace each letter with another letter a fixed number of positions down the alphabet. ROT13, the most famous variant, shifts letters by 13 positions.

For example, Hello becomes Uryyb when encoded with ROT13.

ROT13 and ROT47 are self-reversing: applying the same algorithm twice returns the original text. This makes them useful for hiding spoilers, puzzle answers, or mildly obscuring text without needing a separate decrypt function.