Vigenère Cipher

Letters only count; A is a shift of 0, B is 1… Z is 25.

Results

The Vigenère cipher (16th century) uses a keyword to shift each letter by a different amount, which made it far harder to crack than a simple Caesar shift. It’s a favorite for puzzles and teaching.

How to use it

  1. Choose Encode or Decode.
  2. Type the text and the key.
  3. Copy the result.

Only the letters A–Z change; the key moves on one step for each letter, not for spaces.

Example: ATTACKATDAWN with the key LEMON encodes to LXFOPVEFRNHR. Decode it with the same key to get the message back.

Questions and answers

Is the Vigenère cipher secure?

No. It can be broken by finding the key length (the Kasiski or Friedman tests) and then solving each position like a Caesar cipher. It’s for fun, puzzles and learning.

What about accents and other alphabets?

Only A–Z are shifted. Accented letters, digits and other alphabets stay as they are and don’t use up a key letter.

Link with pre-filled values

Add # and these parameters to the end of this page's address to open the tool with values already filled in.

ParameterWhat it sets
textThe message to encode or decode.
keyThe keyword (letters A–Z).
modeencode or decode.

Example: https://toolabelle.com/vigenere-cipher/#text=ATTACKATDAWN&key=LEMON&mode=encode

Related tools