Pigpen is a cipher you draw rather than calculate. Every letter becomes a little symbol, and every symbol is just a piece of a tic-tac-toe board or a big X. It is often called the Freemason's cipher, because Freemasons used versions of it in the 1700s to keep records private.
Because the key is fixed, there is nothing to guess. Solving Pigpen is reading, and the skill is knowing the key so well that you do not need to look.


How it works
Draw two tic-tac-toe boards (#) and two big Xs. Write the alphabet into the spaces, then rub out the letters and keep only the lines around each one. That outline is the symbol.
- Board 1, no dots: A B C across the top, D E F in the middle, G H I along the bottom.
- Board 2, with a dot in each space: J K L, M N O, P Q R.
- X 1, no dots: S on top, T on the left, U on the right, V at the bottom.
- X 2, with dots: W on top, X on the left, Y on the right, Z at the bottom.
Memory trick: the four parts start at A, J, S and W. Say "A Jolly Sailor Waves" and you can rebuild the whole key.
A worked example
To read a symbol, ask two questions. Is there a dot? No dot means the first board or X, a dot means the second. Where are the lines? Try this three-symbol word with no dots:
- A right-angle corner at the bottom left is the top right space of the board, so C.
- A right-angle corner at the bottom right is the top left space, so A.
- A cup shape, open at the top, is the top middle space, so B.
The word is CAB. Add a dot to the second symbol and it becomes J instead of A. That dot is the only difference between A and J, or between S and W, and forgetting it is the most common mistake. A full box is the middle of a board: E with no dot, N with a dot.
Solving tips
- Check for the dot first.
- A word with one symbol is almost always A or I, and three-symbol words are often THE or AND.
- The same symbol twice in a row is often LL, EE, SS, OO or TT.
- When a word is half read, stop and guess: SEC_ET is SECRET.
Tap a symbol, then type the letter you read. With Auto fill letters on, every copy of that symbol fills in at once. The Show translation table switch controls the key under the board, so turn it off to test your memory. The other Display options are Show letter frequencies, Highlight frequencies, Highlight multiple letters and Highlight errors when complete. Stuck? Reveal a letter is at the top of Options, and Text Size makes the symbols bigger. Print / share prints the message in Pigpen symbols with room to write underneath, without the key, so keep a key handy for paper practice.
Practise with flashcards
Open Reference & Flashcards and pick the Pigpen deck: 26 cards, the symbol on one side and its letter on the other. Flip them, swipe into Know or Still learning (with undo), then try the multiple-choice Test.
Is it on the Codebusters test?
Pigpen is not one of the ciphers in the 2027 Science Olympiad Codebusters rules for Division C (high school). It does turn up in Division A, the elementary-school version some states run, and rules change by year and by event, so check yours. Either way it is a great first cipher before moving to Dancing Men or Knights Templar.


