Caesar Cipher

Shift the letters to encode a message, or try every shift to decode it

Result

Everything happens in your browser: your text is never sent anywhere.

How to use the Caesar cipher

Step 1

Type or paste your text or the encrypted message

Step 2

Choose Encode or Decode and set the shift

Step 3

Copy the result, or show all shifts to crack a code

How the Caesar cipher works

The Caesar cipher is one of the oldest known ciphers: according to the Roman historian Suetonius, Julius Caesar used it in his letters, shifting every letter three places along the alphabet. With a shift of 3, A becomes D and B becomes E, and at the end the alphabet starts over, so X becomes A. To decode a message, the letters are shifted back by the same number. Digits, spaces and punctuation stay as they are, and capital letters stay capital.

The cipher works with the Latin, Cyrillic and Greek alphabets, and accented letters keep their accents. If you don't know the shift, turn on “Show all shifts”: the tool lists every possible version of the text, and the one you can read is the answer. That is also why the Caesar cipher protects nothing today: it can be broken in seconds. Use it for puzzles, quests, escape rooms and lessons about cryptography.

Was AnyTextEditor useful to you?

Hello. We tried very hard to create a convenient website that we use ourselves. If you liked any of our tools and editors, add it to your bookmarks, because it will be useful to you more than once. And don't forget to share on social media. We will be better for you.