1. Home
  2. Writing & text tools
  3. Pigpen Cipher

Pigpen Cipher

Create Pigpen-cipher clues for an escape room, treasure hunt or classroom, or decode a Pigpen message by clicking the matching symbols.

Free, no sign-up. Runs in your browser: nothing is uploaded.

How to use Pigpen Cipher

  1. Type the message.
  2. Adjust line weight and layout.
  3. Download a PNG or SVG, or switch to decode mode.

Features

  • Standard key: grids and X with and without dots
  • PNG and SVG download for printing
  • Optional answer key letters under symbols
  • Click-to-decode symbol keyboard
  • Printable key
  • This is a classical cipher for puzzles, games and teaching. It does not protect real secrets.

Supported formats

Input

  • Typed or pasted text

You get

  • PNG
  • SVG

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Pigpen Cipher is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • A classical cipher for puzzles and teaching: it can be broken quickly and must not be used to protect real secrets.
  • Several Pigpen keys exist; this one uses the common modern layout.

Guide

Writing and reading the Pigpen cipher

The Pigpen cipher replaces every letter with a small geometric symbol: the shape of the “pen” the letter sits in on a grid. It is quick to draw, looks mysterious, and is easy to teach, which makes it a favourite for escape rooms, treasure hunts, scout activities and classroom code-breaking. This tool draws Pigpen messages ready to print and helps you decode them.

The key

Two tic-tac-toe grids and two X shapes hold the alphabet. The first grid holds A to I, row by row; the second holds J to R and has a dot in each cell. The first X holds S, T, U and V in its top, left, right and bottom wedges; the second X holds W, X, Y and Z, again with dots. Each letter is written as the lines around its cell: E, in the middle of the first grid, is a closed square; A, in the top-left corner, is the two lines on its right and bottom. The key image on this page can be printed and handed out with a puzzle.

Writing a message

Type the message and it is drawn immediately, one symbol per letter, with a gap between words. Adjust the line weight to suit the print size, and the number of symbols per line to fit a card, a poster or a slide. Turn on the letters under the symbols to make an answer key for yourself or for younger players.

Downloading and printing

Download a PNG to drop into a document, slide or worksheet; it is rendered at three times screen resolution so it stays sharp. Download the SVG for large prints such as posters or escape-room props: it is a vector drawing that can be scaled to any size without blurring, and it opens in Word, Inkscape, Illustrator and design tools such as Canva.

Decoding

Switch to “Read Pigpen” to decode a message. The symbol keyboard shows all 26 symbols; click them in the order they appear in the message, with Space between words, and the letters build up below. Back removes the last letter. It is much faster than looking each symbol up in a table.

Variants

The layout used here, with the dotted grid and dotted X for the second half of the alphabet, is the most common modern form. Historical versions used by Freemasons and others arranged the letters differently, for example filling the grids column by column or placing the dots in other positions. If a puzzle’s symbols do not decode sensibly, it may use another key.

Not a secret cipher

Pigpen is a simple substitution: anyone who knows it, or counts symbol frequencies, can read it. Its value is in the fun of decoding.

A worked example

The word HELP is drawn as four symbols: H is the bottom-middle cell of the first grid, a shape open at the bottom; E is the centre cell, a closed square; L is the top-right cell of the second grid, two lines on the bottom and left with a dot; and P is the bottom-left cell of the second grid, two lines on the top and right with a dot. In decode mode, clicking those four symbols in order writes HELP.

Try other puzzle codes with the Tap Code Translator, the Caesar Cipher Solver or the Bacon Cipher, or translate into dots and dashes with the Morse Code Translator.

Checked against the current version of the Pigpen Cipher on .

Troubleshooting

The download did not start

Look for your browser’s download bar or icon. Some browsers ask once before a site may download files; allow it and click the button again.

Frequently asked questions

How do I read a Pigpen symbol?

Look at its shape and whether it has a dot. A square-sided shape comes from a grid: find the cell with those sides. A V-shape comes from an X. A dot means the second grid or the second X.

Are numbers and punctuation supported?

No. The Pigpen key covers the 26 letters only, so digits and punctuation are left out of the drawing. Write numbers as words if they belong in the message.

Can I write the Pigpen message by hand instead?

Yes. Print the key from this page, then draw each letter’s pen shape. Pigpen is designed to be quick by hand: every symbol is a few straight lines and sometimes a dot.

Are there different versions of the Pigpen cipher?

Yes. The common modern key puts A–I in a grid, J–R in a grid with dots, S–V in an X and W–Z in an X with dots. Historical Masonic versions arrange the letters differently, so check which key a puzzle uses.

Can I print the symbols large for an escape room?

Download the SVG: it is a vector image, so it prints sharp at any size. The PNG is rendered at three times screen resolution for documents and slides.

Keep working with the result

After you download, choose “Save to Workstand” to keep the result in a folder on your computer, attach it to a project and create a follow-up task. It is saved by your browser, not uploaded.