Skip to content
D DocNectar

Free Bifid Cipher Encoder and Decoder

Encrypt or decrypt text with the Bifid cipher, combining a Polybius square with a coordinate-mixing step for extra diffusion.

100% Free No Signup Works on all devices

Built and fact-checked by the DocNectar team — see our editorial standards

Thanks for rating!

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.

  1. Enter mode.
  2. Enter text.
  3. Enter keyword (optional).
  4. 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.

Frequently asked questions

Yes, with no signup and no limit on how many conversions you run.
No — leave it blank to use the standard A-Z grid order, or enter a keyword to build a custom keyed grid, just like Playfair.
No — it's still a classical cipher breakable with modern computing and cryptanalysis techniques, though its diffusion property makes it noticeably harder than plain substitution.
I and J share the same grid cell, so J is treated as I throughout, the same as Playfair.

Get new calculators and guides in your inbox

No spam — just new tools like Bifid Cipher Tool and practical guides.

Favorites