Tested tool guide
Tested browser tools
Checked August 16, 2026
What Vigenere Cipher Encoder / Decoder does, with a checked example
The Vigenere cipher is a polyalphabetic substitution. Each plaintext letter is shifted by a letter of the key, and the key repeats across the whole message, so the same plaintext letter encodes differently depending on its position. This tool encodes and decodes with the key you supply, and it can also attack ciphertext when the key is unknown: it estimates the key length with Kasiski's examination and the index of coincidence, then recovers the key by frequency analysis. The surprise for most users is that the cipher offers no real security. It is a historical and educational cipher, fully breakable by the analysis this page runs.
Worked example
A concrete input and expected output from the current implementation.
Input
plaintext 'meetme', key 'key'
->
Each plaintext letter is shifted by the corresponding repeating key letter (K=10, E=4, Y=24): m+10=W, e+4=I, e+24 wraps past Z to C, t+10=D, m+4=Q, e+24=C. This follows the standard convention where A is a shift of 0; implementations that give A a shift of 1 return different output.