Built and fact-checked by the DocNectar team — see our editorial standards
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 Bifid cipher, invented by Félix Delastelle around 1901, combines a Polybius square with a coordinate-mixing (fractionation) step, so that changing one letter of the plaintext can affect several letters of the ciphertext.
This tool encrypts or decrypts text using a Bifid cipher, with an optional keyword to customize the underlying grid.
How it works
Each letter is first converted to a Polybius square row/column coordinate (I and J share a cell). All the row numbers are written first, then all the column numbers, forming one long sequence — this sequence is then re-read in new pairs, and each new pair becomes one ciphertext letter. Decryption reverses this: each ciphertext letter's coordinates are found, the combined sequence is reconstructed, then split back into the original rows and columns.
- Enter mode.
- Enter text.
- Enter keyword (optional).
- Click Calculate to see your results.
Examples
Keyword "PLAYFAIR"
"HELLO" encrypted with the keyword "PLAYFAIR" produces a short scrambled sequence where changing even one input letter changes several output letters — this spreading effect is called diffusion.
Who should use it
- Puzzle and escape-room style word games, including cryptography competitions.
- Teaching the concept of fractionation and diffusion in classical ciphers.
Industry applications
- Cryptography education
- Games and puzzles
Advantages
- Demonstrates real diffusion — one changed input letter can affect multiple output letters.
- Historically notable and still commonly featured in cryptography puzzles and competitions.
Limitations
- Offers no real security against modern cryptanalysis or computing.
Common mistakes to avoid
- Using a different keyword for decryption than the one used to encrypt — the grid must match exactly.
- Confusing Bifid with Playfair — Bifid fractionates single letters across positions, while Playfair substitutes whole letter pairs directly.
Best practices
- Use the Bifid cipher for puzzles or to explore how fractionation (splitting and recombining coordinates) creates diffusion in a cipher.
Tips
- Try the Trifid cipher next — it extends the same fractionation idea from a 2D grid to a 3D cube for even more diffusion.