Pigpen Cipher
Turn letters into the geometric grid-and-X symbols of the Pigpen cipher, or decode a message with the clickable visual alphabet.
Plaintext Input
Pigpen Output
A–I are undotted grid symbols; J–R repeat the same shapes with dots; S–V and W–Z use the four X-shaped wedges.
Reference view — switch to Decode to make the symbols clickable.
Read the source from left to right. Use the dot to distinguish J–R and W–Z from their undotted partners.
Cipher Properties
Type: Symbol Substitution
Alphabet: 26 Letters
Key Shapes: Grid + X
Security: Very Weak
Also Called: Masonic Cipher
Active Mode: Encode
Using This Tool: Guide & Notes Show guide
Pigpen replaces each letter with a geometric symbol taken from two grid-shaped keys and two X-shaped keys. This tool can draw those symbols from text or help you reconstruct plaintext by clicking the matching alphabet symbols.
How to use it
- Choose Encode to type ordinary text and see the Pigpen symbols appear immediately.
- Choose Decode when you have a visual Pigpen message, then click the matching symbols in the alphabet in reading order.
- Use the decoder controls to add spaces, line breaks, or punctuation and to correct the most recent selection.
- Copy decoded text, or export an encoded symbol message as SVG or high-resolution PNG.
Options and settings
- Preserve spaces keeps word gaps visible; turning it off produces a continuous symbol stream.
- Keep punctuation and numbers carries non-letter characters into encoded output instead of removing them.
- Letter hints place the matching A–Z character beneath each symbol for learning and checking the key.
- Compact spacing, symbol size, and line weight change presentation only; they do not change the cipher mapping.
- Lowercase decoded text changes the letter case of decoded output without altering the selected symbols.
Notes
- Pigpen is a monoalphabetic substitution cipher, so repeated letters always produce repeated symbols and frequency patterns remain visible.
- Historical and puzzle sources sometimes arrange the letters differently. Always compare the source key with the complete alphabet shown by the tool.
- Pigpen is useful for puzzles and teaching, but it does not provide modern cryptographic security.
Related Article
Pigpen Cipher: The Alphabet Hidden Inside a Grid
How corners, wedges, and dots turned ordinary letters into one of history’s most recognisable secret alphabets.