← Takora

ROT13 / Caesar Cipher Encoder

Encode Text with the Classic Caesar Shift

A Caesar cipher shifts every letter in a message by a fixed number of positions in the alphabet, and ROT13 is the special case where the shift is 13. Because the alphabet has 26 letters, applying ROT13 twice restores the original text — which makes it useful for hiding spoilers, puzzle answers, and casual content without any key exchange. This tool encodes and decodes ROT13 instantly, and it also supports custom Caesar shifts from 1 to 25 for educational experiments and legacy puzzles. Everything runs locally in your browser, so the text you paste never leaves your device and there are no accounts, watermarks, or length limits.

How to Use the ROT13 / Caesar Tool

  1. Paste or type your text into the input field.
  2. Choose the shift amount — 13 for classic ROT13, or any value from 1 to 25 for a custom Caesar cipher.
  3. Click Encode to shift the letters forward, or Decode to shift them backward.
  4. Review the output; only letters are changed, while digits, spaces, and punctuation stay untouched.
  5. Click Copy to grab the result for spoilers, forums, or puzzle solutions.

ROT13 in Action: Input and Output

OperationInputOutput
ROT13Hello, World!Uryyb, Jbeyq!
ROT13 (again)Uryyb, Jbeyq!Hello, World!
Caesar +3abc XYZdef ABC
Caesar -3def ABCabc XYZ

When to Use ROT13

Why ROT13 Is Not Security

ROT13 and the Caesar cipher are substitution ciphers with at most 25 possible keys. Anyone can brute-force them by hand in seconds, and frequency analysis reveals the shift almost instantly. Use them for fun, education, and content hiding — never for passwords, messages, or data you need to protect. For real encryption, use AES; for password hashing, use bcrypt.

Tips for Getting the Most Out of the Tool

Frequently Asked Questions

Why is ROT13 its own inverse?

Because the alphabet has 26 letters, shifting by 13 twice returns every letter to its original position. Encoding and decoding are therefore the same operation.

What characters are affected by the shift?

Only the letters A-Z and a-z. Digits, spaces, punctuation, and other symbols pass through unchanged.

Is the Caesar cipher secure enough for real messages?

No. With only 25 possible keys, it is trivially broken by brute force or frequency analysis. Use AES or a modern encryption scheme for anything sensitive.

What is the difference between ROT13 and ROT5?

ROT13 shifts letters; ROT5 shifts digits 0-9. Some ciphers combine them as ROT13+ROT5 (ROT18) to cover both letters and numbers.

Does this tool handle lowercase and uppercase together?

Yes. The shift preserves case: uppercase letters stay uppercase and lowercase letters stay lowercase.

Why does my Caesar decode not return the original text?

Decoding with shift N is the same as encoding with shift 26-N. If the result looks wrong, check that you chose the right direction for the intended key.

Can I use this for a school assignment on ciphers?

Yes. The custom shift range (1-25) lets you demonstrate the full key space, and the instant output helps verify manual exercises.

Where does the name ROT13 come from?

ROT stands for rotate — the alphabet is rotated 13 positions. The scheme became popular on Usenet in the 1980s for hiding jokes and spoilers.