▶ TrainingGet Pro

Pigpen Cipher

In pigpen, every letter becomes a little shape taken from a grid. This tool draws your message for you and helps you read pigpen back.

Open the Pigpen Cipher tool ↗

Opens Unscramble Words 4U, our free word-puzzle site, in a new tab. Free, with no sign-up.

What it does

The key is built from four diagrams: two hash grids like a noughts-and-crosses board and two diagonal crosses shaped like an X. A–I occupy the first grid and J–R occupy the second, each with a dot; S–V go in the first X, and W–Z go in the second X, again with dots. You write a letter by drawing the lines that surround its space, adding a dot when it has one. A full key is shown below the tool for reference.

Type a message and the pigpen symbols appear as you go. The Save as picture button downloads the drawing as an image, ideal for printing on a clue card, a birthday card or a worksheet. To read a pigpen message, use the on-screen keypad: tap the symbol that matches each shape in order, adding Space between words, and the letters build up. Pigpen is often linked with Freemasons, who used it in the 1700s, which explains its other name, the Freemasons' cipher.

Screenshot of the Pigpen Cipher on Unscramble Words 4U, ready to use
The Pigpen Cipher as it first appears on Unscramble Words 4U.Tip: Some books lay the letters out differently in the grids. When a message refuses to make sense, its author may have followed a different layout.

How to use it

  1. Type your message into the box to see it drawn in pigpen straight away.
  2. Use "Save as picture" to keep the drawing as an image file, or Clear to start again.
  3. To decode, look at the first shape in the coded message and tap the matching symbol on the keypad.
  4. Carry on symbol by symbol, using Space to separate words and Delete for any slip.
  5. Read the decoded letters as they appear beneath the keypad.
Screenshot of the Pigpen Cipher showing results for the example “Secret”
Example: we entered “Secret” to show the kind of result you get.Tip: Let children draw the four diagrams from memory before they start; once they can, they rarely need the key again.

More tips

Ideas for the classroom and home learning

Questions

Why the name pigpen?

Each letter sits in a small enclosure, and the grids are said to look like animal pens.

Can I print a message?

Yes. Save it as a picture and print that image like any other.

Is there one official key?

No. The layout used here, which begins A, B, C across the top row of the first grid, is the one you will meet most often, but other arrangements exist.

Does pigpen keep messages secret?

No. A letter's symbol never changes, which lets anyone crack it with the same pattern-spotting used on cryptograms.

Open the Pigpen Cipher tool ↗

Opens Unscramble Words 4U, our free word-puzzle site, in a new tab. Free, with no sign-up.

Pigpen is a puzzle cipher, not real security. Keep coded messages to games and learning, never personal details.

Related

← All word games and codes