Pigpen Cipher Translator (SVG & PNG)
Turn text into pigpen (Freemason) cipher symbols drawn as a crisp SVG and a PNG, with a printable key chart for decoding. Two common layouts, size and colour.
The pigpen cipher replaces each letter with a fragment of a tic-tac-toe grid or an X, with or without a dot. It was used by the Freemasons in the 18th century, which is why it is also called the Freemason’s cipher, and it is still a favourite for escape rooms, scouting and treasure hunts. This translator draws your message as clean vector symbols (SVG) and a PNG image, and gives a key chart so the recipient can decode it.
How to use this tool
- Type the message; letters A–Z are drawn, spaces start a new word.
- Pick the key layout your puzzle uses and the symbol size.
- Choose colours and whether to write the letters underneath (handy for checking).
- Download the SVG for printing at any size, the PNG for sharing, and the key chart.
Formula
Symbol = the lines that enclose the letter’s cell (grid) or wedge (×), plus a dot for the second grid and second ×.
In the most common layout, A–I fill the first grid in reading order, J–R the dotted grid, S–V the four wedges of the first × (top, left, right, bottom) and W–Z the dotted ×. E, in the middle of the grid, is a closed square; N, the middle of the dotted grid, is a square with a dot. Other books arrange the figures differently, which is why the key chart is included.
Example
In layout 1, A (top-left cell) is drawn as a right and a bottom line — like a backwards L turned over — E is a full square, N is a square with a dot and S is a V. "abc" at 40 px gives a 172 × 72 px image: three symbols with 10 px between them and a 16 px margin.
Frequently asked questions
How do I decode pigpen?
Symbols cannot be typed, so decode by eye: print the key chart, find each symbol’s shape (which lines, and whether there is a dot) and read the letter in the same place on the chart. The table under the result lists every letter’s cell.
Why does my puzzle book use a different key?
There is no single official layout. Some put J–M in the first ×, others use the second grid first, and some variants place the letters differently. Pick the layout that matches, or share the key chart with your message.
Can pigpen encode numbers?
No; it has 26 symbols. Digits and punctuation are skipped (the page lists them), so write numbers as words.
Is pigpen a secure cipher?
No. It is a simple substitution with drawn symbols, so anyone with the key chart — or a little frequency analysis — can read it. It is meant for games and puzzles.
Last updated:
Page address with these inputs: https://kakao.mobile/tools/pigpen-cipher-tool/
Cite or embed this tool
kakaoCalc. (2026, November 8). Pigpen Cipher Translator (SVG & PNG). https://kakao.mobile/tools/pigpen-cipher-tool/
“Pigpen Cipher Translator (SVG & PNG).” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/pigpen-cipher-tool/.