Skip to content
D DocNectar

Free Trifid Cipher Encoder and Decoder

Encrypt or decrypt text with the Trifid cipher, extending Bifid's fractionation from a 2D grid to a 3D cube.

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 Trifid cipher, also invented by Félix Delastelle, extends the Bifid cipher's idea one dimension further — instead of a 2D grid giving each letter a row and column, a 3D cube gives each letter a layer, row, and column.

This tool encrypts or decrypts text using a Trifid cipher, with an optional keyword to customize the underlying cube.

How it works

The 26 letters plus a filler symbol ("+", to make exactly 27 characters) fill a 3x3x3 cube, giving each character a layer, row, and column number (1-3). All the layer numbers are written first, then all the row numbers, then all the column numbers, forming one long sequence — this is re-read in new groups of three, and each group becomes one ciphertext character. Decryption reverses this process to recover the original layers, rows, and columns.

  1. Enter mode.
  2. Enter text.
  3. Enter keyword (optional).
  4. Click Calculate to see your results.

Examples

Keyword "PLAYFAIR"

"HELLOWORLD" encrypted with the keyword "PLAYFAIR" produces a scrambled sequence that may include the "+" filler character — this is expected and part of the cipher's 27-character alphabet.

Who should use it

  • Puzzle and escape-room style word games, including cryptography competitions.
  • Teaching advanced fractionation and diffusion concepts in classical ciphers.

Industry applications

  • Cryptography education
  • Games and puzzles

Advantages

  • Even stronger diffusion than Bifid, since each letter influences three coordinate streams instead of two.
  • A natural next step after Bifid for exploring fractionation-based ciphers.

Limitations

  • Offers no real security against modern cryptanalysis or computing.
  • More complex to work through by hand than Bifid, due to the extra dimension.

Common mistakes to avoid

  • Using a different keyword for decryption than the one used to encrypt — the cube must match exactly.
  • Stripping out the "+" character before decrypting — it's a meaningful part of the ciphertext, not a stray symbol.

Best practices

  • Use the Trifid cipher for puzzles or to explore how extending fractionation to 3 dimensions increases diffusion compared to Bifid.

Tips

  • If you've already tried Bifid, Trifid is the natural next cipher to explore — same core idea, one more dimension.

Frequently asked questions

Yes, with no signup and no limit on how many conversions you run.
The cube needs exactly 27 cells for 26 letters plus one filler character, and "+" fills that 27th slot. It can appear in output just like any other character in the cube.
No — leave it blank to use the standard A-Z+ order, or enter a keyword to build a custom keyed cube.
No — it's a classical cipher breakable with modern cryptanalysis, though its 3-way fractionation gives even more diffusion than Bifid.

Get new calculators and guides in your inbox

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

Favorites