🔐ROT13 & Caesar Cipher Converter

Encode or decode text using ROT13 or a Caesar cipher with a custom shift amount

letters

How to Use the ROT13 & Caesar Cipher Converter

A Caesar cipher shifts every letter of the alphabet forward by a fixed number of positions, making it one of the oldest encryption methods in human history. Its name comes from Julius Caesar, who is said to have used it for military communications in ancient Rome. With a shift of 3, for instance, A becomes D and B becomes E, wrapping back around to A once you pass Z. This converter takes any shift value you choose and instantly shows the encoded (or decoded) text.

ROT13 is a special case of the Caesar cipher with the shift locked at exactly 13. Since the alphabet has 26 letters, 13 is precisely half, which gives ROT13 a neat property: applying the same transformation twice returns the original text. That means encoding and decoding use the exact same function, which is why ROT13 has long been used on online forums to hide spoilers or the punchline of a joke until a reader chooses to reveal it. Uppercase and lowercase letters are handled separately, while numbers, symbols, and spaces pass through unchanged.

Keep in mind that a Caesar cipher has essentially no cryptographic security — there are only 25 possible shift values to try, so it can be cracked instantly by brute force. Never use it for anything that actually needs to stay confidential; it's best suited for puzzle design, learning cryptography basics, or lightly obscuring casual text.

Frequently Asked Questions

What is ROT13?

ROT13 is a Caesar cipher with the shift fixed at exactly 13. Since the alphabet has 26 letters, applying the same transformation twice returns the original text, so the same function handles both encoding and decoding.

Is a Caesar cipher actually secure?

No. There are only 25 possible shift values, so it can be brute-forced by hand in a few seconds. Use it for hiding spoilers, puzzles, or learning basic cryptography concepts — never for anything that actually needs to stay secret.