No accounts. Names stay in your browser.

Pigpen Cipher

Type a message and see it in pigpen symbols. Print it, with the key if you like, for a puzzle or an escape-room clue.

0 letters
In pigpen symbols

Print

The short answer

Type a message and it appears in pigpen symbols. Each letter is drawn as the shape of its place in one of four grids: two tic-tac-toe grids and two X shapes, with a dot added in the second grid of each kind. Print the message, and the key if you want, for students to decode.

26 symbolsone for each letter
4 gridstwo tic-tac-toe, two X
Printthe message and the key
Freenothing to install

The pigpen key

A to I sit in the first tic-tac-toe grid and J to R in a second one with a dot in each space. S to V sit in an X, and W to Z in a second X with dots. Each letter is written as the lines around its space: E, in the middle of the first grid, is a closed square; A, in the top left corner, is just the lines on its right and below it.

How to decode a pigpen message

  1. Look at the shape: is it a corner, a square, an open box or a V?
  2. Check for a dot. A dot means the second grid or the second X.
  3. Find the space with the same lines on the key, and write its letter.

Some books and websites place the letters a little differently, for example with the X letters in another order. The key above is one commonly used version; print it with the message so everyone uses the same one.

Ideas for class

  • An escape-room clue on the board or taped under a desk, with the key hidden somewhere else in the room.
  • Spelling practice: write the week’s words in pigpen for partners to decode.
  • Let students draw the two grids and two X’s from memory, then write each other messages.

Related guides

Your messages stay with you

Everything happens in your browser. What you type is kept in this browser’s storage so it’s there next time, and it’s never sent to us.

Questions

What is the pigpen cipher?

The pigpen cipher is a code that swaps each letter for a symbol made of lines, sometimes with a dot. Each symbol is the shape of the letter’s space in one of four grids: two tic-tac-toe grids and two X’s, with a dot in the second grid of each kind.

How do you write a message in pigpen?

Draw the two tic-tac-toe grids and two X’s and fill in the letters: A to I in the first grid, J to R in the second with dots, S to V in the first X and W to Z in the second X with dots. Write each letter as the lines around its space, adding its dot if it has one, or type your message above and print it with the key.

What is the pigpen cipher used for?

It’s a puzzle code for secret messages and classroom games, such as an escape-room clue or the week’s spelling words for partners to decode. Anyone who knows the key can read it, so for a puzzle, print the message without the key and hide the key somewhere else in the room.

Final Takeaway

In the pigpen cipher, every letter becomes the lines around its space in a grid, sometimes with a dot. Type a message to see it in symbols and print it; to decode, students match each symbol’s shape and dot to the same space on the key.

Some versions arrange the letters a little differently, so print this key with the message, or, for an escape-room clue, hide it where students have to find it.

Main Sources