Vigenère Cipher Encoder & Decoder
Guide
Vigenère Cipher Encoder & Decoder
Encrypt and decrypt text using the Vigenère cipher — the classic polyalphabetic substitution cipher once called “le chiffre indéchiffrable” (the indecipherable cipher). Enter your text and a keyword to get instant results with a step-by-step visualization, interactive tabula recta, and frequency analysis. All processing happens in your browser.
Comment utiliser
Select Encode or Decode mode, enter your text and an alphabetic keyword. The cipher result updates instantly. Non-alphabetic characters (spaces, numbers, punctuation) pass through unchanged while preserving the original letter casing. Toggle Auto-Key mode to use the plaintext as a key extension. View the step-by-step breakdown to see each character’s shift, or explore the full tabula recta with highlighted rows and columns.
Caractéristiques
- Encode & Decode — Switch between encryption and decryption with a single toggle. The algorithm handles both directions: C[i] = (P[i] + K[i]) mod 26 for encoding, P[i] = (C[i] – K[i] + 26) mod 26 for decoding.
- Case-Preserving Output — Uppercase input produces uppercase output, lowercase stays lowercase. Non-alphabetic characters pass through unchanged. The key only advances on alphabetic characters.
- Step-by-Step Visualization — See exactly how each character is encrypted or decrypted: the input character, aligned key character, shift amount (0–25), and resulting output character. Color-coded for clarity.
- Tabula Recta (Vigenère Square) — The full 26×26 substitution table with highlighted rows and columns showing the active key and plaintext letters. Scrollable on mobile devices.
- Auto-Key Mode — Optional variant where the plaintext extends the key after the keyword is exhausted. Shows how the extended key is constructed — useful for studying this stronger cipher variant.
- Frequency Analysis — Letter frequency bar chart of the output compared against standard English frequencies. Includes Index of Coincidence (IC) calculation for cryptanalysis practice.
- Guide de référence — Collapsible section covering the algorithm, history (Blaise de Vigenère, 16th century), and how it was broken (Kasiski examination, Friedman test).
L'algorithme
The Vigenère cipher uses a repeating keyword to shift each letter by a different amount. For each alphabetic character in the plaintext, the corresponding key character determines the shift: A=0, B=1, …, Z=25. To encrypt: add the shift to the plaintext letter (mod 26). To decrypt: subtract the shift from the ciphertext letter (mod 26). Non-alphabetic characters are preserved in place, and the key index only advances on letters.
What is the Vigenère cipher?
How is the Vigenère cipher different from the Caesar cipher?
What is the auto-key variant?
What is the Index of Coincidence?
Installez nos extensions
Ajoutez des outils IO à votre navigateur préféré pour un accès instantané et une recherche plus rapide
恵 Le Tableau de Bord Est Arrivé !
Tableau de Bord est une façon amusante de suivre vos jeux, toutes les données sont stockées dans votre navigateur. D'autres fonctionnalités arrivent bientôt !
Outils essentiels
Tout voir Nouveautés
Tout voirMise à jour: Notre dernier outil was added on Avr 9, 2026
