🗝️ Vigenère cipher

A Caesar cipher with a secret keyword, once called unbreakable for 300 years.

The result appears here in real time

Turn this message into a real game: create a virtual lock your players must crack open.

The Vigenère cipher combines several Caesar shifts that change letter by letter, based on a secret keyword you choose. With the keyword "GOLD," for example, the first letter of your message shifts by G, the second by O, and so on, looping the keyword as needed.

First described in the 16th century and popularized by diplomat Blaise de Vigenère, this cipher earned the nickname "le chiffre indéchiffrable" — the indecipherable cipher. It took over 300 years before mathematicians found a reliable way to crack it without knowing the keyword.

For an escape room or a treasure hunt aimed at teens or adults, it hits a great difficulty sweet spot: impossible to decode at a glance, but perfectly doable with the right grid and a bit of patience — real challenge without real frustration.

How to use it

  1. Type your message and choose a secret keyword.
  2. The tool shifts each letter based on the matching letter in your keyword.
  3. Copy the encoded text or print the Vigenère square (a 26x26 grid).
  4. Hide the message and pass the keyword to your players separately.

Example(Key : SECRET)

Plain message

THE KEY IS BURIED

Coded message

LLG BIR AW DLVBWH

Frequently asked questions

How do you decode a Vigenère message without the method?

You first need the keyword — without it, manual decoding is very difficult, unlike a plain Caesar cipher. With the keyword and the Vigenère square in hand, you apply the reverse shift letter by letter to recover the original message.

Why was the Vigenère cipher considered unbreakable?

Because the same word gets encoded differently depending on its position, so one letter can map to several different coded letters. That defeated classic frequency-analysis methods, until mathematician Friedrich Kasiski found a weakness in 1863.

Can you build a digital lock around a Vigenère code?

Yes — on CrackAndReveal, create a lock whose answer is the word decoded using the keyword. Players decrypt the message, type their answer online, and the lock opens automatically — a real challenge players can crack entirely on their own.

Does the keyword need to be long for real security?

Yes, the longer and less repetitive the keyword, the harder the message is to break through statistical analysis. For a game, though, a short 4-to-6-letter keyword is plenty to give players a real challenge without discouraging them.

More secret codes

Now hide this message behind a lock

With CrackAndReveal, your coded message becomes a virtual lock to crack: players decipher your code, enter the solution and reveal your surprise.

Create a free lock
Vigenère Cipher: Encoder & Decoder Online (Free) | CrackAndReveal