Free Vigenère Cipher Tool
The Vigenère Cipher tool encrypts or decrypts text using a keyword. Each letter is shifted by a different amount based on the keyword, making it stronger than a simple Caesar cipher.
Vigenère is a polyalphabetic cipher — a step up from the single-shift Caesar Cipher and ROT13. None of them are secure today; for real protection use AES.
How to use the Vigenère Cipher
- 1 Enter the text you want to encrypt or decrypt.
- 2 Enter the keyword — it is repeated across the message to give each letter a different shift.
- 3 Choose encrypt or decrypt.
- 4 Copy the result, and keep the keyword to reverse it later.
Polyalphabetic substitution cipher and keyword encryption
The Vigenère Cipher encrypts and decrypts text using a series of interwoven Caesar ciphers based on the letters of a secret keyword. By cycling through the keyword letters, the cipher shifts each plaintext character according to a Tabula Recta (a grid of 26 shifted alphabets).
Unlike simple monoalphabetic substitution ciphers where a letter (like "E") always maps to the same ciphertext letter, Vigenère is polyalphabetic: the same plaintext letter maps to multiple different ciphertext letters depending on its position in the keyword cycle. This property successfully defeated single-letter frequency analysis for over three centuries.
- Encrypts and decrypts text using polyalphabetic substitution driven by a secret key.
- Cycles through keyword characters to shift each plaintext letter dynamically.
- Resists traditional single-letter frequency analysis attacks that break Caesar ciphers.
- Illustrates the historical transition from classical to modern mathematical cryptography.
Frequently asked questions
How does the Vigenère cipher work?
It applies a Caesar shift that changes per letter, driven by a repeating keyword. Letter one might shift by 3, letter two by 15, and so on. Because the shift varies, the same plaintext letter encrypts differently at different positions, which defeats simple frequency analysis.
Why was it considered unbreakable?
For roughly three centuries it resisted attack and was known as le chiffre indéchiffrable. Its weakness is the repeating key: once you guess the key length, the message splits into several ordinary Caesar ciphers, each of which falls to frequency analysis.
Should I use it to protect anything real?
No. It is a historical and educational cipher with no place in modern security — a determined attacker with enough ciphertext can recover the key. Use AES for anything that actually needs protecting, and treat this as a puzzle or a teaching tool.
Related Security & Cryptography Tools
You might also need
Tools from other categories that people pair with the Vigenère Cipher: