Vigenere Cipher
Encrypt or decrypt text with the Vigenere cipher and a keyword. Letters are shifted by the matching letter of the key; everything else is kept.
How to use a Vigenere cipher
Paste your text
Spaces, digits and punctuation are kept.
Enter the key
A word made of letters. The same letter can come out differently as the key repeats.
Choose encrypt or decrypt
The result updates as you type.
It is a historic puzzle cipher, not a way to protect anything.
Worked example
This is what Vigenere Cipher gives for its own sample values. Open the tool above and change anything to try your own.
Text
Attack at dawn!
- Key (letters)
- LEMON
- Do
- Encrypt
Result
Lxfopv ef rnhr!
About Vigenere Cipher
The Vigenere cipher shifts each letter by the matching letter of a repeating keyword, so the same letter can become different letters. Spaces, digits and punctuation are kept and do not use up key letters.
FAQs
What makes it stronger than Caesar?
The shift changes with each letter, so simple letter counting does not work.
Is it secure today?
No. It can be broken with a modern attack, so use it for puzzles only.
What can the key contain?
Letters. Other characters in the key are ignored.