PixelTools

Vigenere Cipher

Encode or decode text with a keyword-based Vigenère cipher. Free, private — nothing is uploaded.

0 characters
Ciphertext0 characters
Your Vigenère-shifted text will appear here.
Free forever
No account required
No watermark
Nothing uploaded to servers

Related tools

Everything you need for a keyword cipher

Live encode and decode

The result updates instantly as you type or change the keyword.

Any keyword you choose

Use any word or phrase (letters only) as the key — it repeats to match your text's length.

One-click swap

Swap the output back into the input and flip the mode to check your work.

100% private

Runs entirely in your browser. Nothing you type is uploaded or stored.

Encode or decode in three steps

  1. 1

    Type or paste your text

    Enter the plain text you want to encode, or the ciphertext you want to decode.

  2. 2

    Set a keyword and mode

    Type any keyword (letters only) and choose Encode or Decode. The keyword repeats over the length of your text.

  3. 3

    Copy the result

    The transformed text updates live as you type or edit the keyword — copy it or download it as a .txt file.

Built for learning, puzzles, and quick checks

The Vigenère cipher was considered unbreakable for roughly three centuries — useful today for teaching, puzzles, and historical curiosity, not real security.

Learning classical cryptography

See a polyalphabetic cipher work in real time — a standard topic after Caesar ciphers in intro crypto courses.

Puzzles and escape rooms

Vigenère ciphers show up often in puzzle hunts once a Caesar shift feels too easy.

Checking a homework answer

Verify a hand-worked Vigenère encoding or decoding instantly instead of tracing the tableau by hand.

Historical curiosity

Try the cipher once considered unbreakable for roughly three centuries, from the 16th century until the 1860s.

Frequently asked questions

What is a Vigenère cipher?

+

A Vigenère cipher shifts each letter of a message by an amount taken from a repeating keyword, rather than one fixed shift like a Caesar cipher. Each keyword letter sets that position's shift — 'A' shifts by 0, 'B' by 1, and so on — so the same plaintext letter can encode to different ciphertext letters depending on where it falls against the keyword.

Why is a Vigenère cipher stronger than a Caesar cipher?

+

A Caesar cipher has only 25 possible shifts, so it's trivial to brute-force. A Vigenère cipher's effective shift changes with every letter based on the keyword, which flattens the letter-frequency patterns a Caesar cipher leaves behind — for centuries it was called 'le chiffre indéchiffrable' (the indecipherable cipher), though it's breakable with modern techniques (Kasiski examination, frequency analysis per key position) once the keyword length is guessed.

Does the keyword need to be the same length as my text?

+

No — the keyword repeats automatically. A 4-letter keyword against a 20-letter message just cycles through 5 times.

What happens to spaces, numbers, and punctuation?

+

They pass through unchanged and don't consume a keyword letter — only actual letters (A-Z, a-z) are shifted, and case is preserved.

Is a Vigenère cipher secure today?

+

No — it's a classical, educational cipher. Modern cryptanalysis (and modern computers) break it quickly once the keyword length is found. Don't use it to protect anything sensitive.

Is my text or keyword uploaded anywhere?

+

No. Everything runs in your browser — nothing you type is sent to a server.

Try the Vigenère cipher now

Free, no account needed.

Encode or decode text →