DO IT EASY APP
English

Caesar cipher and ROT13

Encrypt or decrypt text with the Caesar cipher. One-click ROT13, a Turkish alphabet option and a try-all-shifts view.

  • No sign-up, no fees.
  • Caesar cipher: encrypt and decrypt by shifting letters.
  • ROT13 with one click.
  • English (26 letters) or Turkish (29 letters) alphabet.
  • If you don't know the key, try all the shifts.
  • What you type is processed, but never shared with anyone.

How to use the Caesar Cipher

Encrypting a message like Julius Caesar takes five steps:

  1. Pick the direction. Encrypt or Decrypt.
  2. Pick the alphabet. English (26 letters) or Turkish (29 letters).
  3. Type the text. Type the text and set the Shift number.
  4. Copy. Take the result with Copy.
  5. If you don't know the key, turn on the "Try all shifts" box; every possibility is listed one under another, and you find the meaningful one.

What is the Caesar cipher?

The Caesar cipher is one of the oldest encryption methods in history. The Roman commander Julius Caesar is said to have encrypted his letters by shifting each letter three places in the alphabet: D instead of A, E instead of B, and so on. Today it isn't used for real security; but it's still much loved in schools for teaching encryption, for writing secret messages in puzzles and games, and for scouting and code-breaking contests. A shift cipher is the easiest way to understand the logic of encryption.

What is ROT13?

Since the English alphabet has 26 letters, a shift of 13 is its own inverse: if you apply the same operation twice, you get back the original text. It was once used on internet forums to hide spoilers or the answer to a joke. The ROT13 button sets the alphabet to English and the shift to 13.

What changes with the Turkish alphabet?

The Turkish alphabet has 29 letters: a b c ç d e f g ğ h ı i j k l m n o ö p r s ş t u ü v y z. Letters like Ç, Ğ, İ, Ö, Ş, Ü and ı take part in the shift. q, w and x aren't in the Turkish alphabet, so they stay as they are. Pick the alphabet that matches the language of your text; if the sender used a different alphabet, you'll get gibberish when decrypting. For English text, leave it on the English alphabet.

How secure is it?

Not at all, by modern standards. There are only 25 possible shifts (28 in Turkish), so anyone can try them all in a second; that's what the "Try all shifts" view does. Use it for fun and learning, never for secrets. For real protection there's AES-256 text encrypt / decrypt.

Tips for the Caesar cipher

  • Numbers and punctuation stay the same. Only letters are shifted; upper and lower case are kept.
  • Decrypting: use the same shift in the opposite direction, or press Decrypt with the same number.
  • Cracking a message: open "Try all shifts" and look for the line that reads as a real sentence.
  • Word games: a common trick is to share the shift number as the "key" and let friends decode a short message.

Common mistakes

  • Using the wrong alphabet: an English alphabet on a Turkish text, or the other way round, gives wrong results for some letters.
  • Treating it as real encryption: it isn't; don't protect anything important with it.

For encoding there's Base64 encode / decode, for another old code Morse code converter, and for real encryption AES-256 text encrypt / decrypt.

Frequently asked questions

Is the Caesar cipher tool free?

No cost at all. Not bad, right?

Is what I type sent anywhere?

The work happens in your browser. What you type is processed, but never shared with anyone.

What is ROT13?

A Caesar cipher with a shift of 13 in the English alphabet. Applying it twice returns the original text.

What shift did Caesar use?

Traditionally three: A became D, B became E.

How do I decrypt a Caesar cipher if I don't know the shift?

Turn on "Try all shifts" and look through the list for the line that makes sense.

Is the Caesar cipher secure?

No. It can be broken in seconds. Use it only for fun and learning.

Why are my numbers and punctuation unchanged?

Only letters are shifted; everything else stays as it is.

Can I use it on my phone?

Yes. Type the text, set the shift and tap Copy.

Related tools