Tool guide
About this tool.
A Caesar cipher substitutes each letter with another a fixed number of positions along the alphabet, wrapping from Z back to A.
ROT13 uses a shift of 13 across the 26 ASCII letters, so applying it twice returns the original text; it is obfuscation, not secure encryption.
- Decode or create ROT13 text for a puzzle, spoiler or teaching example.
- Demonstrate alphabet rotation with a positive or negative shift.
- Test a simple reversible letter substitution without changing digits, whitespace or punctuation.
Paste or type the text to rotate; digits, spaces, punctuation and accented letters are copied unchanged.
Enter a whole-number Shift; the default 13 applies ROT13, and a positive value moves letters forward through the alphabet.
To undo a shift, run the result with its negative, such as -3 after 3; for ROT13, run the output with 13 again to restore the original text.
Run and copy the result; use 0 to leave the text unchanged, and check the summary for the shift that was applied.
- Shift 13: Hello → Uryyb → Hello on a second run
- Shift 3: Abc xyz! → Def abc!
- Shift -3: Def abc! → Abc xyz!
- Shift 0 or 26: Hello → Hello
- Shift 29: Abc → Def (29 wraps to 3)
- Only A–Z and a–z rotate; case is preserved, while accents, emoji, punctuation, spaces and digits stay unchanged.
- Shifts wrap modulo 26; an empty Shift, fractions, exponent notation and integers outside the JavaScript safe range are rejected.
- There are only 26 distinct rotations, so this does not protect secrets or replace modern cryptography.