What is the Pigpen cipher?
Pigpen, also called the Masonic cipher, replaces each letter with a drawing. Letters are laid out in two grids of nine cells and two crosses of four sectors. The symbol of a letter is the outline of its cell.
The four families of signs
A to I are pieces of the first grid. J to R are the same with a dot. S to V are the four angles of a cross. W to Z are those angles with a dot. Other layouts exist: make sure your correspondent uses the same one.
Writing and decoding
Type your message: the symbols appear, and you can download them as a PNG or SVG image for a puzzle or a treasure hunt. To read a message found elsewhere, tap the symbols of the keyboard in order. The “Show the letter under each key” box turns the keyboard into a key table, which you can hide.
A game, not a secret
Each letter always has the same symbol: the message can be broken by counting signs, and the table is well known. It has amused people for centuries but protects nothing.
What the tool does not draw
Only the 26 letters have a symbol. Accents are removed; digits and punctuation stay as they are in the drawing.
Frequently asked questions
Where does the name “pigpen” come from?
From the shape of the cells, which look like small pens.
Did Freemasons really use it?
Some lodges did, notably in the 18th century, hence its other name.
May I use the images in a game?
Yes, the drawings you create here are yours to use.
Is my message sent anywhere?
No. The drawings are made in your browser.
How can I hide the message further?
Combine two methods: first encrypt the text with a Caesar shift, then draw the result in Pigpen. Whoever receives the puzzle has to recognise the symbols and then find the shift. It makes a good game, with no security value.