How do you decrypt a Vigenère cipher?

The Vigenère cipher moves every letter forward by the matching letter of a keyword: A by 0 places, B by 1, and so on up to Z by 25. Decrypting moves each letter back by the same keyword letter, so you need the exact keyword the message was encrypted with. A wrong keyword gives no error, just a different jumble of letters.

Tool description

Paste the cipher text into the Cipher text box and type the Keyword, and the decrypted message appears in the Plain text box as you type. The Keyword field keeps letters only, in upper case, and until there's a keyword, the tool shows "Enter a keyword using letters A-Z." Only the letters A to Z shift back, and they keep their case. Spaces, digits and punctuation stay as they are and don't use up a keyword letter. To encrypt a reply, press the swap button between the boxes, which also moves the result into the input, or use the Vigenere Cipher Encoder.

Examples

Cipher text Keyword Plain text
Xiqh zp ef hup fmyrcc! LEMON Meet me at the bakery!
Growy zsekh rr fiqlk BAKERY Fresh bread at eight
Eyrg kw vl gfw jbab SUNNY Meet me by the pond

When the result looks wrong

  • A wrong letter every few letters, at a steady gap: one keyword letter is off, and the gap is the keyword's length. Amobvn ef bbzr mh gsi xoxp with LEMMN instead of LEMON gives Picpic at poon av the lcke instead of Picnic at noon at the lake.
  • A good start, then a jumble: check the end of the keyword. If the keyword is right, the message may have been written with a keyword that also moves on at spaces and punctuation, while here it moves on with letters only.
  • Nothing readable: check the keyword's spelling, or the message may use another cipher. The Cipher Identifier can tell whether it looks like a Vigenère cipher and guess the keyword's length, but not the keyword itself.