Beaufort Cipher decoder and encoder

The Beaufort Cipher is named after Sir Francis Beaufort. It is similar to the Vigenère, but the encryption and decryption is reciprocal (the encryption and decryption algorithms are the same). The Beaufort cipher is a polyalphabetic cipher, a series of Caesar ciphers, based on the letters of a keyword.

Boxentriq puzzle promotion

Beaufort 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.

Key Text

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


  • The Beaufort cipher is a polyalphabetic substitution cipher. The Enigma machine is another example of a (more complex) polyalphabetic substitution cipher.
  • It was named after Sir Francis Beaufort, an Irish officer in the Royal Navy.
  • The Beaufort cipher is reciprocal, that is, decryption and encryption algorithms are the same.
  • A Beaufort cipher works similar to the Vigenère cipher, only that instead of adding letter values, it calculates the cipherletter = keyletter - plaintextletter.
  • After applying an Atbash cipher, the Beaufort cipher can be broken using same methods as a Vigenère cipher.

Beaufort ciphers, and variants of it, are occasionally used in CTFs, geocaching mystery caches, and logic puzzles.

Sample Beaufort 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:

qnk qjojl fjp nkhi ab jeg qnk kf wqdztf qrdmimbou pnk avidkqguy compql wtxj vlxp mw mjur bobq mbpter wspf bho lih slj wqdztf nkb