Caesar & ROT Cipher

Encode or decode text using Caesar rotation and ROT13 ciphers. Fast, secure, and run locally on your device — no files or text are ever uploaded.

How Caesar & ROT Cipher Works

Shifts each letter of your text forward or backward through the alphabet by a number you choose from 0 to 25, with the default of 13 giving ROT13. Encode applies the shift and Decode reverses it. Digits, punctuation, and spaces pass through unchanged. All processing happens in your browser, and nothing you type is sent anywhere.

Hash Output Example

Hide the punchline of a joke in a forum post by encoding it with ROT13, so readers must choose to decode it.

Frequently Asked Questions

Why does ROT13 encode and decode with the same setting?

Thirteen is half of the 26-letter alphabet, so applying the shift twice returns the original text. For other shift values, Decode subtracts the shift from 26, so the Decode mode is needed to reverse a non-13 shift.

What happens to numbers, symbols, and accented letters?

Only the 26 basic Latin letters are rotated and keep their case. Digits, punctuation, whitespace, and any other characters are copied through unchanged, so the structure of your text stays the same.

Is a Caesar cipher secure enough to protect sensitive text?

No. With only 25 possible shifts, anyone can try every one in seconds, and letter frequencies reveal the pattern quickly. Use this tool for puzzles, spoilers, and light obfuscation, not for confidential information.

Browse more

See all hash generator algorithms.