Vigenere Cipher Tool
Encrypt or decrypt text with a keyword. Case and punctuation are preserved — only letters shift.
The keyword repeats over your message. Letters only, case does not matter.
Worked example
Message HELLO with keyword KEY:
| Message | H | E | L | L | O |
|---|---|---|---|---|---|
| Keyword | K | E | Y | K | E |
| Cipher | R | I | J | V | S |
Each message letter is shifted forward by its keyword letter: H + K = R, E + E = I, L + Y = J, L + K = V, O + E = S. Decryption shifts each letter back by the same keyword.
How to use
- Choose Encrypt or Decrypt.
- Type your message and a keyword of letters only.
- Press the action button — the result appears below and you can copy it.
Note: the Vigenere cipher is a learning classic, not strong modern security. Do not use it for anything that must stay secret.