Vigenère Cipher
Beta: this tool hasn't been fully reviewed yet. Double-check results before relying on them.
Letters only count; A is a shift of 0, B is 1… Z is 25.
Results
The key needs at least one letter A–Z.
Your input is too long to share as a link, so the page address no longer includes it.
The Vigenère cipher (16th century) uses a keyword to shift each letter by a different amount, which made it far harder to crack than a simple Caesar shift. It’s a favorite for puzzles and teaching.
How to use it
- Choose Encode or Decode.
- Type the text and the key.
- Copy the result.
Only the letters A–Z change; the key moves on one step for each letter, not for spaces.
Example: ATTACKATDAWN with the key LEMON encodes to LXFOPVEFRNHR. Decode it with the same key to get the message back.
Questions and answers
Is the Vigenère cipher secure?
No. It can be broken by finding the key length (the Kasiski or Friedman tests) and then solving each position like a Caesar cipher. It’s for fun, puzzles and learning.
What about accents and other alphabets?
Only A–Z are shifted. Accented letters, digits and other alphabets stay as they are and don’t use up a key letter.
Link with pre-filled values
Add # and these parameters to the end of this page's address to open the tool with values already filled in.
| Parameter | What it sets |
|---|---|
text | The message to encode or decode. |
key | The keyword (letters A–Z). |
mode | encode or decode. |
Example: https://toolabelle.com/vigenere-cipher/#text=ATTACKATDAWN&key=LEMON&mode=encode