Transform your text into the mysterious Masonic cipher — download as PNG or PDF.
The Pigpen cipher (also known as the Masonic cipher or Freemason's cipher) is a geometric substitution cipher that replaces letters with symbols derived from a grid pattern, used by Freemasons since at least the 18th century.
Each letter is replaced by the fragment of a grid that surrounds it. The cipher uses two grids and two crosses — the position of each letter within its grid determines its symbol.
Beyond its use by Freemasons, the pigpen cipher was used during the American Civil War by Union prisoners in Confederate camps. Its visual nature made it easy to learn without memorizing complex tables.
No — it's a simple substitution cipher easily broken by frequency analysis. It's best for fun and educational use, not secure messaging.
The traditional Pigpen cipher covers only the 26 English letters. Numbers and special characters stay unchanged.
The name comes from the grid structures used to create it, which resemble animal pens or enclosures.
Download as PNG or PDF and share it via email or messaging apps. The recipient will need a Pigpen cipher reference chart to decode it.