Your text
0 characters in
Result
Type or paste some text to shift it through the alphabet. ROT13 always uses 13; pick any value from 0 to 25 for a classic Caesar cipher. Digits, punctuation, spaces, newlines and emoji are never touched.
This is a classical encoding/cipher utility for puzzles and games. It is not modern encryption — do not use it to protect anything sensitive.
ROT13 and Caesar ciphers have been broken since the 19th century. Every letter is simply moved a fixed number of places, with no key exchange and no key that can be kept secret, so anyone can decode your message instantly by shifting it back. Treat the output as decoration, obfuscation or a puzzle hint — never as protection for a password, a private message or personal data.
The formula
output = (input + shift) mod 26 · decode = (input − shift) mod 26 · wrap-around: A → Z, a → z
Only the 26 letters are moved and case is preserved, so Hello, World! #42 becomes Uryyb, Jbeyq! #42 at a shift of 13 — the comma, exclamation mark, hash and digits survive untouched. ROT13 is special because shifting by 13 twice returns the original text, so encoding and decoding are the same operation. Everything runs in your browser; your text is never uploaded or stored.