KEYWORD
HELLO
FFOF1
Basic Trifid encryption example using English alphabet (J→I, two numeric pads).
Encrypt and decrypt text with the Trifid cipher — a classical fractionating cipher by Félix Delastelle that uses a keyed 3×3×3 Polybius cube to split letters into layer, row, and column coordinates.
KEYWORD
HELLO
FFOF1
Basic Trifid encryption example using English alphabet (J→I, two numeric pads).
KEYWORD
FFOF1
HELLO
Decryption using the same keyword and English alphabet.
KEYWORD
MEET ME AT NOON
CUAEQDTLOSNI
English Trifid example showing that spaces are ignored before the keyed 3×3×3 cube calculation.
PLAYFAIR
ATTACKATDAWN
CLBBPBPIW1VV
A longer English Trifid example showing how coordinate fractionation diffuses repeated letters across the ciphertext.
The Trifid Cipher is a classical fractionating cipher invented by Félix Delastelle, the same cryptographer who created the Bifid cipher. Instead of a 2D Polybius square, Trifid uses a 3×3×3 Polybius cube: each cell contains one alphabet symbol, and each plaintext letter is represented by three coordinates — layer, row, and column.
During encryption, the service builds the cube from your keyword, writes all layer coordinates first, then all row coordinates, then all column coordinates, and finally regroups that coordinate stream into new triples. Each new triple is read back from the cube to produce the ciphertext. Decryption reverses the process with the same keyword and alphabet, so both settings must match the original encryption.
Use this Trifid cipher tool to encode plaintext, decode Trifid ciphertext, compare keywords, and study how three-dimensional coordinate fractionation spreads information across a message. The form supports encryption and decryption, a required keyword, automatic alphabet detection, and explicit alphabet selection.
Supported alphabets are English, German, Spanish, French, Italian, Portuguese, and Turkish. English and Italian use a 25-letter grid with J merged into I plus two numeric padding positions; Spanish fits the cube naturally with ñ; German, French, Portuguese, and Turkish use language-specific merges so their alphabets fit exactly into 27 cube cells.
The tool strips spaces, punctuation, and unsupported characters before processing, then returns the result in uppercase. It is ideal for learning classical cryptography, checking hand calculations, preparing examples, and testing how keyword changes alter the Trifid cipher alphabet cube.
Classic letter-shift cipher with custom shift values.
Online monoalphabetic substitution cipher with a custom shuffled alphabet key.
Online XOR encryption and decryption with text or hex keys.
Classic digraph substitution cipher with keyword matrix encryption.
Classical reciprocal cipher based on a keyword.
Vigenere-style classical cipher that uses a numeric key.