— Vigenere Cipher

Free Vigenere Cipher Tool

Quick Tips

  • This tool runs entirely in your browser - your data stays private.
  • Press Ctrl+V (Cmd+V on Mac) to quickly paste text.
  • Use the Copy button to save your result to clipboard.
  • Bookmark this page for quick access!

Encrypt and decrypt using the polyalphabetic Vigenere cipher with a keyword.

Your Recent Tools

Examples

Input
HELLO (key: KEY)
Output
RIJVS
Input
RIJVS (key: KEY)
Output
HELLO
Input
ATTACKATDAWN (key: LEMON)
Output
LXFOPVEFRNHR

Why Use This Tool?

What problems does this solve?

Learn about polyalphabetic substitution - a significant improvement over Caesar cipher. Create more challenging puzzles that resist simple frequency analysis. Explore cryptographic history.

Common use cases:

  • Learning polyalphabetic cipher concepts
  • Creating more challenging puzzles and games
  • CTF challenges and cryptography competitions
  • Historical cryptography demonstrations
  • Understanding why key length matters in cryptography

Who benefits from this tool?

Cryptography students and educators. Puzzle designers seeking stronger ciphers than Caesar. CTF participants. History enthusiasts exploring classical cryptography.

Privacy first: All encoding happens locally in your browser. Your text never leaves your device.

Frequently Asked Questions

Simple frequency analysis does not work because each letter can encrypt to many different ciphertext letters. Without knowing the keyword length, the cipher seemed to have unlimited keys.

Charles Babbage (1850s) and Friedrich Kasiski found that repeated patterns in ciphertext reveal keyword length. Once the length is known, the cipher becomes multiple solvable Caesar ciphers.

Longer keywords are better. Random letters resist dictionary attacks. Avoid names, dates, and common words. But remember - Vigenere is not secure for real use regardless of keyword.

Caesar uses one shift for all letters (monoalphabetic). Vigenere uses different shifts based on keyword position (polyalphabetic). This makes Vigenere much harder to crack by frequency analysis.

A 26×26 grid called the tabula recta. Each row is the alphabet shifted by one position. Find the intersection of the plaintext column and keyword row to get the ciphertext letter.

No, Vigenere is easily broken with computer analysis. It is valuable for education and puzzles only. Use AES or other modern encryption for real security.