Vigenère Cracker

Crack Vigenère cipher text online without knowing the key. The tool estimates the key length with the Index of Coincidence, recovers candidate keys with frequency analysis, and ranks decryptions with language scoring. Supports English, Russian, Spanish, Portuguese, Turkish, French, German, and Italian alphabets.

Input
0 chars · 0 bytes
Try:
Result
✓ Automatically cracks Vigenère without a known key ✓ Multiple alphabets supported ✓ We never store your messages ✓ Processed on our server
Examples
Key: KEY
Input SX UKW RRI ZOWR YJ RSQCC MR GEQ DLC GSPCX MP XGWIQ SX UKW RRI YQI MP AGCHMW MR GEQ DLC KKC YJ DYSJSWFXIQC MR GEQ DLC OTMML MP FCVMCP MR GEQ DLC OTMML MP MLMVCNYJSXW

Key KEY (3 letters), Dickens "A Tale of Two Cities" — 129 letters. The cracker will detect key length 3 and recover KEY.

Key: LEMON
Input QSGF FNSDS NYH ESIPR KSNCW MUB ZYD TNELQFF MVAITSX RCEEL AB GSME QBYXUBRYX M BRH RMHVZR OCANIUJRO MZ ZVMIDHL LRP RROMOOGPH FC GSI BFBASEWGTSZ HULX MZY XIZ OEP GDSNEIP SDFEX

Key LEMON (5 letters), Gettysburg Address — 143 letters. The cracker will detect key length 5 and recover LEMON.

Key: SECRET
Input LS DV SK FSV KS UW XJRX BK XJV UNWWVZSG OLGKLXJ XKJ RHTPGI MG LLG DMGV XQ JYYXIT KLX KPKEKL SRF RVKGAU FJ HMXTRKXGYU WSKLYPV SK LS VROX SVOJ EZSMPJX T KIC FJ MJSWSPXK

Key SECRET (6 letters), Shakespeare "Hamlet" — 133 letters. The cracker will detect key length 6 and recover SECRET.

Key: ORBIT
Input KV IWER KIMLS KSCMVJ UW US JFTY SMJLXBK UPTH RMT FSE BZX QIFIMSU FYNOC UPTH KIMR OIF MGRFXMW PP UPXWI DZXOKPZ PWKI KXFKBQG IEBTBSEBJES IJOAHJ UPTH RNWGU KIMLS RSM EWWF TBPVSBR OEE BAS GVZLIZU WY VRQXBBVTA

Key ORBIT (5 letters), Declaration of Independence excerpt — 182 letters. The ciphertext was generated with the Vigenère tool and the cracker recovers ORBIT automatically.

How Vigenère cracker works

The Vigenère cracker is an automatic cryptanalysis tool for text encrypted with the classic repeating-key Vigenère cipher. You paste the ciphertext, choose an alphabet or leave it on auto, and the service tries to recover the keyword and readable plaintext without requiring the original key.

Step 1 — key length estimation: the tool checks candidate key lengths from 1 to 20. In automatic mode it limits the search so each key column has enough letters for analysis. For every candidate length it computes the average Index of Coincidence (IC). When the guessed length matches the real period, the ciphertext is split into Caesar-like columns whose statistics look closer to natural language.

Step 2 — key recovery: for each column, the cracker tries every possible alphabet shift and uses χ² frequency analysis to find the best matching plaintext distribution. This creates an initial keyword candidate.

Step 3 — candidate ranking: for supported alphabets, the service refines the keyword with bigram language scoring and hill climbing, then ranks up to five candidate decryptions. The best result is shown first, with the recovered key, key length, IC value, confidence score, and decrypted text.

When to use the Vigenère cracker

Use this Vigenère cipher solver when you have ciphertext but do not know the keyword. It is useful for classroom cryptography, CTF challenges, puzzle solving, historical cipher practice, and checking whether a message was encrypted with a standard repeating-key Vigenère method.

The cracker works best on natural-language text with enough letters for statistics. English, Portuguese, French, and Italian usually become reliable at about 100 letters; German and Turkish need about 125; Spanish about 150; Russian about 200. Very short ciphertext can still return candidates, but the page marks the result as less reliable.

You can leave the alphabet on auto or choose English, Russian, Spanish, Portuguese, Turkish, French, German, or Italian manually. Auto mode detects the most likely alphabet from character coverage; if the text uses only basic Latin letters, selecting the intended language can improve results.

How to read the results

The first result is the most likely plaintext according to the scoring model, but the full candidate table is important. If the best candidate looks partially readable, compare the other rows: a nearby key length or a lower-confidence keyword can sometimes produce a better human-readable message, especially when the ciphertext is short or contains unusual vocabulary.

The key length column shows the detected keyword period. The key column shows the recovered Vigenère keyword. The IC value helps explain why that length was considered plausible, and the confidence bar compares candidate decryptions against each other. Use the key and plaintext together: a meaningful plaintext with a clean keyword is usually the strongest signal.

FAQ

The service can try short inputs, but reliable automatic cracking needs enough letters for frequency and bigram statistics. English, Portuguese, French, and Italian generally need about 100 letters; German and Turkish about 125; Spanish about 150; Russian about 200. Longer keys also need longer ciphertext because each key position is analyzed as its own column.

The Index of Coincidence (IC) measures how often two randomly chosen letters from a text are the same. Natural language has a higher IC than random text. In a Vigenère cipher, the correct key length splits the ciphertext into columns that behave like separate Caesar ciphers, so their average IC becomes closer to the expected value for the language.

Accuracy drops when the ciphertext is short, the plaintext is not ordinary prose, the message mixes languages, the alphabet is wrong, or the original key is longer than 20 characters. Proper names, abbreviations, code words, and heavily formatted text can also distort frequency statistics. If the top row looks wrong, inspect the other ranked candidates or set the expected key length manually.

Yes. The key length setting can stay on auto or be fixed from 1 to 20. Manual length is useful when you already know the keyword length from a puzzle clue, repeated-pattern analysis, or a previous failed attempt. Fixing the length narrows the search and can improve results on borderline ciphertext.

No. This cracker targets the standard repeating-key Vigenère cipher. It is not designed for Beaufort, Variant Beaufort, Autokey Vigenère, Gronsfeld, one-time pad, or custom alphabets with non-standard rules. Those systems can look similar but use different transformations.

Try selecting the exact alphabet instead of auto, set a suspected key length manually, remove unrelated symbols or headers, and add more ciphertext if you have it. Also compare all candidate rows: the best statistical score is usually right, but human readability still matters for short or unusual texts.
Related tools

Vigenere Cipher

Keyword-based polyalphabetic encryption and decryption.

Frequency Analysis

Analyze text frequencies and compare them with known language patterns for cryptanalysis.

Caesar Brute Force

Caesar cipher solver that tries every shift and highlights the most likely plaintext.

Letter Frequency

Online letter frequency analyzer with heatmap, letter counts, and language comparison.

Affine Cipher Solver

Affine cipher solver that tries all valid key pairs and ranks likely plaintext.