Loading…

How to use Vigenère Cipher

Type your text and a keyword, and the tool encrypts it with the classic Vigenère polyalphabetic cipher, shifting each letter by the keyword's repeating letters.

Frequently asked questions

How does the Vigenère cipher work?

Each plaintext letter is shifted by the corresponding letter of a repeating keyword. Encryption is C = (P + K) mod 26 and decryption is P = (C − K) mod 26, where K is the keyword letter's position (A=0).

Why is Vigenère stronger than Caesar?

Because the shift changes with every keyword letter, the same plaintext letter can map to different ciphertext letters. This defeats the simple frequency analysis that breaks single-shift Caesar ciphers.

What happens to spaces and punctuation?

Only A–Z letters are enciphered and output is uppercased. Spaces, digits, and punctuation pass through unchanged, and the keyword only advances on letters.

More Text Encoding Tools

Autokey Vigenère Cipher
Encrypt and decrypt with the autokey cipher where the plaintext extends the keyword stream
Playfair Cipher
Encrypt and decrypt with the Playfair digraph cipher using a 5×5 keyword square (I/J merged)
Columnar Transposition Cipher
Encrypt and decrypt with keyword columnar transposition. Columns are read in alphabetical key order
Scytale Cipher
Encrypt and decrypt with the ancient Spartan scytale rod transposition cipher. Round-trip guaranteed
Keyword Substitution Cipher
Build a mixed cipher alphabet from a keyword and encrypt/decrypt monoalphabetic substitution text
Bifid Cipher
Encrypt and decrypt with the Bifid cipher combining a Polybius square with coordinate fractionation
Four-Square Cipher
Encrypt and decrypt digraphs using two keyword squares and two plain 5×5 squares. Round-trip guaranteed
Morse Code Translator
Convert text to Morse code and decode Morse back to text with audio playback support
NATO Phonetic Alphabet
Convert text to NATO phonetic alphabet (Alpha, Bravo, Charlie) for clear communication
Binary Text Converter
Convert text to binary representation and decode binary back to readable text
Hex Text Converter
Convert text to hexadecimal encoding and decode hex strings back to text
Octal Text Converter
Convert text to octal representation and decode octal sequences to text

← View all Text Encoding ToolsBrowse all 1,100+ tools →