Skip to content
D DocNectar

Free Vigenère Cipher Encoder and Decoder

Encrypt or decrypt text with a Vigenère cipher, shifting each letter by a repeating keyword.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

Key Features

Instant Calculation

Get accurate results in real time with our optimized algorithm.

Mobile Friendly

Fully responsive design. Works on all devices & screen sizes.

Privacy Focused

Your data stays on your device. We don't store any inputs.

100% Free

No hidden costs. This tool is completely free forever.

The Vigenère cipher strengthens the simple Caesar shift by using a repeating keyword, so each letter of the message is shifted by a different amount depending on its position.

This tool encrypts or decrypts text using a Vigenère cipher with a keyword you choose.

How it works

Enter your text and a keyword. Each letter of the keyword supplies a shift amount (A = 0, B = 1, and so on), and the keyword repeats across the length of the text, shifting each letter by the value of the keyword letter lined up with it.

  1. Enter mode.
  2. Enter text.
  3. Enter keyword.
  4. Click Calculate to see your results.

Examples

Keyword "LEMON"

"ATTACKATDAWN" encrypted with the keyword "LEMON" becomes "LXFOPVEFRNHR" — a classic textbook example.

Who should use it

  • Puzzle and escape-room style word games.
  • Teaching the history and mechanics of classical cryptography.

Industry applications

  • Cryptography education
  • Games and puzzles

Advantages

  • Significantly harder to break by simple frequency analysis than a Caesar cipher.
  • A good introduction to polyalphabetic substitution ciphers.

Limitations

  • Breakable with classical techniques like the Kasiski examination, especially for longer ciphertexts.

Common mistakes to avoid

  • Using a very short keyword, which weakens the cipher and makes it easier to break with frequency analysis.
  • Assuming the Vigenère cipher is secure enough for real-world sensitive data.

Best practices

  • Use the Vigenère cipher for puzzles, games, or teaching classical cryptography — not for protecting anything sensitive.

Tips

  • A longer, less predictable keyword makes the cipher noticeably harder to break by hand — try comparing a one-letter keyword (equivalent to a Caesar cipher) against a longer one.

Frequently asked questions

Yes, with no signup and no limit on how many conversions you run.
Yes — because the shift changes with each letter based on the keyword, simple frequency analysis is far less effective than against a single fixed shift.
No — techniques like the Kasiski examination can recover the keyword length and break a Vigenère cipher, especially for longer messages. It's historical and educational, not a real security tool.
Non-letter characters pass through unchanged and don't advance the keyword position, so the keyword stays aligned with the letters of the message.

Get new calculators and guides in your inbox

No spam — just new tools like Vigenère Cipher Tool and practical guides.

Favorites