Pigpen Cipher Translator
Turn text into pigpen cipher symbols, the grid-and-dot alphabet of the Freemasons, and download them as an image, or click the symbols of a message to decode it back into letters.
Input
Output
Guide
What is the pigpen cipher?
The pigpen cipher, also called the Masonic or Freemason's cipher, swaps every letter for a small symbol made of lines and dots. The letters are written into two tic-tac-toe grids and two X shapes, the second grid and X with a dot in each place, and each letter's symbol is the shape of the lines around its place. Freemasons used it in the 18th century to keep their records private, and it's still a favorite of geocaches, escape rooms, treasure hunts and secret notes between friends.
Tool description
Type or paste a message, and it appears in pigpen symbols right away. Spaces stay as gaps between words, and long messages wrap onto new lines. Letters with accents are written as their base letters, and digits and punctuation, which pigpen has no symbols for, stay as they are.
To decode a pigpen message, click its symbols one after another on the symbol keypad. Each key types its letter into the text box, so the message appears in plain letters as you go, and the preview shows the symbols you picked to check them against the original.
Set the size of the symbols, how many fit on a line, and the colors of the symbols and the background, then download the message as a PNG, JPG, WebP or SVG image to print or share.
The pigpen key
- A to I: the nine places of a tic-tac-toe grid, read row by row. A is the top left corner, so its symbol is a line on its right and one below it.
- J to R: the same grid with a dot in each place.
- S to V: the four arms of an X: S at the top, T on the left, U on the right and V at the bottom. S looks like a V.
- W to Z: the same X with a dot in each place.
Some puzzle books use other layouts, such as the letters in another order or the X shapes between the grids. This tool uses the classic one above, the one most often taught.
Tips
- Download the message as SVG for printing: it stays sharp at any size.
- A keypad key shows its letter under its symbol, so the keypad doubles as a key for decoding on paper.
- To keep words apart in the decoded text, click Space between them.
Features
- Encodes text into pigpen symbols as you type, with spaces and line breaks kept
- Decodes by clicking symbols on a keypad
- Symbol size, line length and colors to choose
- Downloads as PNG, JPG, WebP or SVG
- Runs in your browser, so your messages never leave your device