Vigenère Cipher Calculator

Encode or decode a Vigenère cipher with a repeating keyword. Preserve letter case, spaces, and punctuation.

Result
—

How to calculate

Number the letters from A = 0 to Z = 25. Add the current key letter’s number to encode, or subtract it to decode. Wrap modulo 26 and advance the key only when processing an English letter.

Worked example

Use Direction Encode · Text to convert ATTACK AT DAWN · Cipher key (English letters) LEMON. The result is LXFOPV EF RNHR.

Input and result notes

Use this classical cipher for learning or solving puzzles.

Omni calculation reference

Related calculators