The Knights Templar cipher is a pigpen-style substitution cipher built on the Maltese cross. Letters are placed into the segments of the cross, and the shape of each segment stands in for a letter. Because the alphabet has more letters than convenient segments, some segments hold two letters distinguished by a small dot. This tool converts text into that cell-and-dot notation.
Historical context
The cipher is attributed to the Knights Templar, the medieval Christian military order founded in the twelfth century and dissolved in the early fourteenth. Whether the Templars actually used a cross-based cipher of this type in practice is a matter of historical debate rather than established fact — the same uncertainty surrounds claims about many historical secret societies and codes. What is clear is that the cipher follows the structural logic of pigpen notation, a family of substitution ciphers that map letters to the shapes of cells in a grid or diagram. This particular variant became associated with the Templars in modern popular culture, particularly through puzzles, escape rooms, and historical-fiction media.
How it works
The 26 letters are distributed across the cross’s segments: typically two letters per segment for the first 24 letters (twelve segments), with the last two filling the remaining space. Within any shared segment, the first letter is drawn plain and the second carries a dot — the same trick classic pigpen uses to double the number of distinct symbols without adding new shapes.
To encode a letter you find its segment and note whether it is the first or second letter in that segment. The lines of the segment shape are identical for both letters in the pair; only the presence or absence of the dot changes.
Worked example
Encoding CROSS:
- C → segment 2, plain (third letter, first position in its segment)
- R → segment 9, dotted (second letter in its segment pair)
- O → segment 8, plain
- S → segment 10, plain
- S → segment 10, plain (repeated, same segment)
The output notation uses a trailing dot for dotted variants, so this encodes to
something like 2 9. 8 10 10. When drawing by hand, sketch the cross-arm lines
for the assigned segment and add a small dot near the centre only for second-
position letters.
Using it for puzzles and escape rooms
The Templar cipher appears frequently in puzzle design because it combines satisfying visual complexity with straightforward decoding logic. Each symbol looks ornate (it references a historical cross shape) but requires only two pieces of information to resolve: which arm or cell of the cross, and whether a dot is present. For puzzle setters, the key points are:
- The cipher is keyless — anyone who knows the standard layout can decode it.
- Adding a keyword (shifting the letter assignments) or a custom cross orientation can make it harder to crack without the key.
- Because it is a monoalphabetic substitution, letter frequency analysis will defeat it on any message longer than a few words.
Treat it as visual storytelling and atmosphere, not as genuine encryption.