Encrypt and decrypt text with the classic Vigenère polyalphabetic cipher using a keyword. Vigenère Cipher is a free online tool from the ToolsRift Text Encoding Tools collection. It runs entirely in your browser — nothing to install, no signup, and your data never leaves your device.
Each plaintext letter is shifted by the corresponding letter of a repeating keyword. Encryption is C = (P + K) mod 26 and decryption is P = (C − K) mod 26, where K is the keyword letter's position (A=0).
Because the shift changes with every keyword letter, the same plaintext letter can map to different ciphertext letters. This defeats the simple frequency analysis that breaks single-shift Caesar ciphers.
Only A–Z letters are enciphered and output is uppercased. Spaces, digits, and punctuation pass through unchanged, and the keyword only advances on letters.