Pigpen Cipher

Use this Pigpen cipher encoder and manual decoder to turn A–Z text into geometric symbols or translate a symbol message back into letters. Choose the Standard Masonic, Variant or Rosicrucian alphabet.

Input
0 chars · 0 bytes
Try:
Result
✓ Classic Masonic / Freemason geometric substitution ✓ No key required ✓ Visual output of grid and dot symbols ✓ Client-side processing only
Examples
Encode PIGPEN CIPHER
Variant: Standard (Masonic)
Input PIGPEN CIPHER

Standard variant: each letter becomes a grid or cross symbol. Spaces separate words.

Encode HELLO WORLD
Variant: Rosicrucian
Input HELLO WORLD

Rosicrucian variant: a single grid holds three letters per cell, told apart by dot position.

Encode SECRET MESSAGE
Variant: Variant (grid & cross)
Input SECRET MESSAGE

Alternating Variant: letters move through an undotted grid and cross, then repeat in dotted forms.

Create a Pigpen cipher puzzle
Variant: Standard (Masonic)
Input FIND THE HIDDEN KEY

A practical Standard-alphabet clue for a treasure hunt, escape room or classroom decoding activity.

Pigpen Cipher Encoder, Decoder and Translator

This online Pigpen cipher tool supports both directions of the Masonic cipher. To encode a message, choose an alphabet variant and type A–Z text; the matching grid, cross and dot symbols appear immediately. Word spaces are preserved, while digits, punctuation and non-Latin letters are skipped. You can download the rendered message as a PNG image.

To decode a message, select the variant used by the sender, switch to Decode and compare each mark with the on-screen Pigpen alphabet. Tap the matching symbols in order to build the plaintext, adding spaces between words when needed. This is a manual visual decoder: it does not upload images, scan handwriting or perform OCR.

No password or secret keyword is required. The selected alphabet layout acts as the key, so the sender and recipient must use the same Standard, Variant or Rosicrucian mapping. All encoding and decoding interactions run locally in your browser.

How the Pigpen Cipher Works

The Pigpen cipher—also known as the Freemason's cipher, Masonic cipher or, with an alternate spelling, Pigpen cypher—is a monoalphabetic substitution system. It replaces every letter with a geometric mark taken from a grid or X-shaped cross. The symbol records the letter's position rather than drawing the letter itself.

Because the selected mapping is fixed, repeated letters produce repeated symbols and word patterns remain visible. The outline identifies a position in a grid or cross, while a dot—or its position in the Rosicrucian layout—distinguishes letters that share the same outline.

Pigpen became closely associated with Freemasonry in the eighteenth century, although related geometric alphabets existed in different forms. Today it is best suited to puzzles, treasure hunts, escape rooms and classroom demonstrations—not secure communication.

How to Read the Pigpen Alphabet Reference

The reference below contains three complete but different Pigpen alphabets. Select the same alphabet used to create the message before encoding or decoding: a familiar-looking symbol may represent another letter under a different layout.

Standard (Masonic)

This is the best-known Freemason's cipher alphabet. A–I occupy an undotted 3×3 grid, J–R repeat the same grid shapes with centre dots, S–V use four undotted sections of an X, and W–Z repeat those X sections with dots.

Variant (grid & cross)

This alternating layout starts like Standard with A–I in an undotted grid, but assigns J–M to the undotted X. N–V then use the dotted grid and W–Z use the dotted X. The mappings therefore diverge from Standard at J and are not interchangeable.

Rosicrucian

This layout uses only a 3×3 grid and no X-shaped symbols. Each cell holds up to three consecutive letters; a dot placed on the left, centre or right identifies which letter in that cell is meant.

To read any chart, first match the symbol's outline to a cell or X section, then check whether a dot is absent, centred or offset. The letter printed beside that exact symbol is the plaintext value used by the manual decoder.

Pigpen Alphabet Reference

Standard (Masonic)

A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z

Variant (grid & cross)

A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z

Rosicrucian

A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
FAQ

The Pigpen cipher is a visual monoalphabetic substitution cipher in which each A–Z letter is represented by part of a grid or cross, with dots distinguishing a second set of symbols. It is also called the Masonic cipher or Freemason's cipher. “Pigpen cypher” is simply an alternate spelling of the same name.

All variants use the same geometric symbols but distribute the 26 letters differently. The Standard (Masonic) variant fills two grids (A–I, J–R with dots) and two crosses (S–V, W–Z with dots). The alternating Variant places nine letters in a grid, four in a cross, then repeats with dots. The Rosicrucian variant uses a single grid where each cell holds three letters, told apart by whether the dot is on the left, centre or right.

Select Standard, Variant or Rosicrucian, stay in Encode mode and type an English message using A–Z. The generator renders each supported letter as a Pigpen symbol and preserves spaces between words. Use Download PNG to save the visual result.

No. The Pigpen cipher is a simple monoalphabetic substitution: each letter always maps to the same symbol. It can be broken with basic frequency analysis just like any substitution cipher. Its value today is educational and recreational rather than for real security.

First identify the alphabet variant used in the message. Select that variant, switch to Decode and tap the on-screen symbol that matches each mark, using Space between words. The plaintext appears as you work. The decoder is manual and does not accept image uploads or automatically recognize symbols.

The encoder supports the 26 Latin letters A–Z and word spaces. Lowercase input is treated as uppercase. Digits, punctuation, accented letters and characters from other writing systems are skipped rather than converted.

It does not use a password or keyword. The alphabet layout is the key: both people must agree on the same Standard, Variant or Rosicrucian mapping. If the wrong layout is selected, identical-looking symbols will decode to different letters.

Yes. After encoding supported text, choose Download PNG to save the rendered symbols as an image. If PNG creation is unavailable in the browser, the tool falls back to an SVG download.

Yes. Short messages work well as treasure-hunt clues, escape-room codes and classroom exercises about substitution ciphers. Give solvers the correct Pigpen alphabet unless discovering the mapping is intended to be part of the puzzle.
Related tools

Morse Code

Morse code encoder, decoder, and audio player.

A1Z26 Cipher

Letter-to-number and number-to-letter conversion.

Bacon Cipher

Classical A/B encoding and text steganography with the Bacon cipher.

Anagram Solver

Online anagram solver with word finder, pattern search, multi-word mode, filters, and Scrabble scoring.