Vigenere Cipher Encoder & Decoder

Enter your message and a keyword to encrypt or decrypt with the Vigenere square — no data leaves your browser.

How Vigenere works

Where Caesar shifts every letter by one fixed amount, Vigenere shifts each letter by the matching letter of a repeating keyword — with key lemon, the first letter shifts by 11 (l), the next by 4 (e), and so on.

Frequently asked questions

Why is it stronger than Caesar?

The same plaintext letter encrypts differently depending on position, hiding frequency patterns.

Non-letters?

Spaces, digits and punctuation pass through unchanged; the key only consumes letters.

Brute-forceable?

Short keys yield to statistical analysis — the cipher is historic, not secure.