Vigenère Cipher Encoder and Decoder

Encrypt or decrypt text with the Vigenère cipher: each letter is shifted by the matching letter of a keyword.

Result—
Advertisement

How it works

The keyword is repeated along the message, and each key letter gives a Caesar shift (A = 0, B = 1 … Z = 25). With the key LEMON, “ATTACK AT DAWN” becomes “LXFOPV EF RNHR”. Spaces and punctuation are kept and do not consume key letters.

Advertisement

Because the shift changes from letter to letter, simple frequency analysis fails; but with a short key it can be broken with the Kasiski or Friedman tests. It is a classic for teaching, not for real secrets. See also the simpler Caesar cipher.

Advertisement

Frequently asked questions

How do I decode Vigenère with the key?

Choose “Decode”, enter the keyword and paste the ciphertext.

Can Vigenère be cracked without the key?

Yes. The Kasiski examination finds the key length, then each column is a Caesar cipher.

Does the keyword have to be letters?

Yes; only A–Z are used and other characters in the key are ignored.

Advertisement

Related calculators

Advertisement

Updated on 2026-12-03