Pigpen Cipher Translator & Decoder

: Turn text into pigpen cipher symbols (the Masonic or Freemason's cipher) and decode it by clicking the symbols; classic and alternate layouts, the key chart, and SVG, PNG and print
Limits: .txt
Pigpen symbols
A–I in a grid, J–R in a grid with dots, S–V in an X, W–Z in an X with dots
Options
An answer key: each symbol with its letter.
The symbols appear here as you type.

Type a message and see it in pigpen cipher symbols, the grid-and-X code also called the Masonic or Freemason's cipher. To decode, switch to Decode and click the symbols you see; the letters appear as you go. Pick the classic or the alternate layout, keep the key chart beside you, and save the message as SVG or PNG or print it for a puzzle, a classroom or an escape room. It all runs in your browser.

  1. Choose Encode and type or paste your message into Text. The symbols are drawn as you type; spaces and line breaks are kept and long lines wrap between words.
  2. Pick the Layout: Classic (the usual one) or Alternate. The key chart under the message shows which shape stands for which letter.
  3. To decode, choose Decode and click the symbols on the keypad under the text box in the order they appear in the puzzle; Space and Backspace are there too. The result shows the plain text, ready to copy, and the symbols you entered so you can compare them with the puzzle.
  4. Under Options, set the Symbol size, the Symbols per row, and Letters under symbols to print an answer key.
  5. Download the message or the key as SVG (sharp at any size) or PNG, or press Print.

Each letter becomes the lines of its pen in the classic layout: a grid cell or a part of the X, with a dot for the second grid and the second X. The page draws these shapes.

Input
HELLO
Output
H: grid, bottom middle
E: grid, centre
L: grid, top right, with a dot
L: grid, top right, with a dot
O: grid, middle right, with a dot

How do I decode a pigpen cipher?

Choose Decode and click each symbol on the keypad in the order it appears; the plain text builds up in the result. If it reads as nonsense, switch Layout between Classic and Alternate.

What is the pigpen cipher alphabet?

In the classic layout A–I in a grid, J–R in a grid with dots, S–V in an X, W–Z in an X with dots. Each letter is written as the lines around it. The key chart on the page shows every letter with its symbol and can be saved or printed.

Is the pigpen cipher the same as the Masonic cipher?

Yes. Pigpen is the usual name today; it is also called the Masonic or Freemason's cipher because Freemasons used it in the 1700s.

Can I copy and paste pigpen symbols?

Not as text: Unicode has no pigpen characters. Download the message as PNG to paste it into a document or chat, or as SVG to print it at any size.

Is the pigpen cipher secure?

No. It replaces each letter with the same symbol every time, so anyone with the key, or with a little letter-frequency work, reads it at once. It is for puzzles, games and teaching.

Runs entirely in your browser. Nothing is uploaded.