Home · Everyday · Tech, Text & Media · Vigenère Cipher Calculator
Vigenère Cipher Calculator
The Vigenère cipher — a repeating keyword shifts each letter — encode or decode with your key.
What this calculator does
The Vigenère cipher — a repeating keyword shifts each letter — encode or decode with your key. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
Text is processed as Unicode characters; encodings report byte counts where bytes matter.
Classical ciphers (Caesar, Vigenère, Morse) follow their published historical definitions.
These ciphers are for learning and puzzles — they are not secure encryption.
Worked example
With the example inputs this page opens with, the result is LXFOPVEFRNHR — ciphertext. Vigenère shifts each letter by the corresponding letter of a repeating keyword — a polyalphabetic cipher that resisted casual breaking for three centuries until Kasiski's method. The headline figure is the key length.
Quick reference
| Figure | Value |
|---|---|
| Ciphertext | LXFOPVEFRNHR |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Vigenère Cipher Calculator work?
The Vigenère cipher — a repeating keyword shifts each letter — encode or decode with your key. Text · Key · Direction → Ciphertext or plaintext. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Vigenère Cipher Calculator need?
Text · Key · Direction → Ciphertext or plaintext. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Vigenère Cipher Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.