Vigenère Cipher
Encrypt or decrypt text using the historic polyalphabetic Vigenère cipher. Fast, secure, and run locally on your device — no files or text are ever uploaded.
How Vigenère Cipher Works
Encrypts or decrypts your text with a keyword, shifting each letter by the alphabet position of the matching key letter. Only the letters A to Z in the key are used, and an empty key returns an error. Non-letter characters are copied through without consuming a key letter. The work runs in your browser and nothing is uploaded.
Hash Output Example
Encrypt a short puzzle clue with the keyword "LEMON" so a friend can solve it by entering the same keyword in Decrypt mode.
Frequently Asked Questions
Which characters count toward the key?
Only the letters A to Z are kept from the key, and other characters are removed. Spaces, digits, and punctuation in the key are ignored, so "Key 2" is treated as "KEY". The key cycles across the text one letter at a time.
Why does my output look unchanged in places?
Spaces, digits, and punctuation are passed through without advancing the key position, so they stay as they were. Only letters are shifted. Check that your input contains letters where you expect changes, and that the key is not empty.
Is a Vigenere cipher strong encryption today?
No. Repeating keywords can be found with pattern analysis on longer messages, and the cipher is only a historical teaching tool. Use it for learning, games, and puzzles, and rely on modern tools for information that must stay private.
