Keyed Caesar cipher

The keyed Caesar cipher is a variant of the Caesar Cipher that provides increased protection. Instead of having all letters in alphabetical order, it starts with a code word (the encryption key). Unused letters are then added after the code word. If the code word is blank, it behaves exactly like an ordinary Caesar Cipher.

Boxentriq puzzle promotion

Keyed Caesar Cipher Tool

You must enter the message.

Knowing the encryption key

You must enter the encryption key.

Not knowing the key


Not seeing the correct result? Try Auto Decode or use the Cipher Identifier Tool.

Score Text

Still not seeing the correct result? Then try experimenting with the Auto Decode settings or use the Cipher Identifier Tool.


  • The Keyed Caesar cipher is a form of monoalphabetic substitution cipher.
  • The translation alphabet (the letters that are used instead of the ordinary alphabet) starts with the secret key. Each letter is only used once, so if a letter is used twice, only the first occurence is used. Then the translation alphabet is completed with the remaining letters in alphabetical order. Finally, it is shifted like an ordinary Caesar Cipher.
  • If the key is left blank, it behaves like an ordinary Caesar Cipher.
  • To improve obfuscation, spaces can be removed or replaced with a character, such as X, in the plaintext before encryption. Also the shift should not be zero.
  • A keyed Caesar cipher still be broken through frequency analysis.

Caesar cipher, and variants of it, are often used in easy geocaching mystery caches, and easy logic puzzles.

Sample Keyed Caesar Cipher

Code-breaking is not only fun, but also a very good exercise for your brain and cognitive skills. Why don’t you try breaking this example cipher:

ofe fa opzkq aty zw tkk zs pf mp qaiktvaq yfa witvaivpo yfgw kgpm gw t ipotvq vatkke twjaq yfa lpzwa fa wtew wp fglwakc tmwoavaq yfa witvaivpo tmq fa opzkq mabav fzvy tmepma ofp gw pzv cvgamq