Vigenère Cipher
Encrypt and decrypt text with the polyalphabetic Vigenère cipher using a keyword. More robust than Caesar by using multiple shifts. Everything in your browser.
The cipher that held out three centuries
You need to encrypt a message with a keyword, or you got ciphertext from a puzzle, an escape room or a CTF and you know (or suspect) the key. Vigenère turns each letter of the key into a different shift, which makes it far tougher than a plain Caesar cipher. Pick Encrypt or Decrypt, type the key, and the result updates as you write.
Each key letter is a shift amount: A shifts nothing, B shifts by 1, and so on, with the key repeating along the text. Details of this implementation: the key keeps only letters (key123 and KEY are the same), the text keeps its upper and lower case, and spaces or punctuation do not consume a key position. Accented letters pass through unencrypted, which leaks fragments of the message.
Decrypting needs the exact key and Decrypt mode; a wrong key never errors, it just yields scrambled nonsense. The classic weakness is the repeating key: given enough ciphertext, frequency analysis (Kasiski's method, published in 1863) breaks it. So treat it as a tool for puzzles and study, not real secrecy. Strip accents from the text first if you want nothing to leak. Everything runs in your browser.
Frequently asked questions
Can I decrypt without knowing the key?
Do digits and spaces in the key matter?
Why does punctuation come out unchanged?
Related Tools
Vigenère Autokey Cipher Encoder and Decoder
Enciphers or deciphers text with the classic autokey variant, where the plaintext extends the keyword instead of repeating it. Letters A to Z only.
Keyword Cipher
Build the cipher alphabet from the keyword you choose, followed by the remaining letters. Enciphers and deciphers, and shows the generated alphabet next to the plain one.
ROT13 Cipher
Apply the ROT13 cipher (rotate by 13 letters) to text. Applying twice returns the original. Used in forums to hide spoilers. Only A–Z and a–z are affected. Everything in your browser.
ROT47 Cipher
Apply the ROT47 cipher (rotation across 47 printable ASCII chars 33–126). Wider than ROT13: covers numbers and symbols. Applying twice returns the original. Everything in your browser.
Trithemius Cipher
Polyalphabetic cipher where letter n is shifted by n positions (similar to Vigenère with key ABCDEF…). Invented by Johannes Trithemius in the 16th century.
HMAC Generator
Generate HMACs (Hash-based Message Authentication Codes) with MD5, SHA-1, SHA-256, SHA-384, SHA-512 and SHA-3 algorithms.