
Vigenre Cipher
Encrypt and decrypt text using the Vigenre polyalphabetic substitution cipher. Enter a keyword to shift each letter.
Last reviewed: April 2026New to this tool? Click here for instructions
How to Use the Vigenre Cipher Tool
To use the Vigenre Cipher Tool, follow these steps:
1. Choose a mode: Encrypt to convert plaintext to ciphertext, Decrypt to reverse it, Brute Force to try all single-letter keys, or Reference to show the full tabula recta.
2. Enter your keyword: The keyword should contain only letters (A-Z). Numbers and special characters are ignored.
3. Paste or type your text: The result will appear instantly on the right.
4. Copy or download: Use the buttons to save your result.
- Encrypt: Converts plaintext to ciphertext.
- Decrypt: Reverses the encryption process.
- Brute Force: Tries all single-letter keys.
- Reference: Displays the full tabula recta for learning and manual verification.
When to Use the Vigenre Cipher Tool
The Vigenre Cipher Tool is ideal for educational purposes and historical decryption. It's not recommended for modern security needs due to its vulnerabilities. Consider using AES-256 for any real security requirements.
How It Works
The Vigenre cipher extends the simple Caesar cipher by using a keyword to apply multiple different shifts throughout the message. This polyalphabetic approach means that the same plaintext letter can map to different ciphertext letters depending on its position, making frequency analysis far more difficult than with a monoalphabetic cipher.
To encrypt, repeat the keyword over the plaintext (aligning only with alphabetic characters), then shift each plaintext letter by the position of the corresponding keyword letter in the alphabet. For example, with key 'KEY' and plaintext 'HELLO': H+K=R, E+E=I, L+Y=J, L+K=V, O+E=S - producing 'RIJVS'. Non-alphabetic characters like spaces, punctuation, and digits pass through unchanged.
Decryption is the reverse: shift each ciphertext letter backward by the keyword letter's position. The same keyword is required.