Skip to main content

Pigpen Cipher Translator

Type a message to write it in pigpen cipher, or tap the symbols you found to read them as letters. It starts on the classic Masonic key, and two other keys are in the Key menu.

translatemorsecode.com/codes/pigpen-cipher/Live

Pigpen

17 symbols
Image background

The key: Classic

A to I in a grid, J to R in a grid with dots, S to V in an X, W to Z in an X with dots.

Tap a letter to add it.

  • Text to pigpenThe symbols draw as you type
  • Pigpen keyboardTap each shape to read a message
  • Three keysClassic, Grid-X-grid-X and Alternating

How to use

  1. Type your message. The pigpen symbols draw as you type, and the key under the tool lights each letter as you type it.

  2. Pick another key from the Key menu if your puzzle uses one.

  3. Press PNG or SVG to download the message, Copy image to paste it, or Share link to send it.

  4. To print, press Worksheet, set the title and paper, and press Print worksheet. Print key prints the key alone.

  5. To read a message, switch to Pigpen to text and tap each shape on the symbol keyboard, with Space between words.

  6. Copy the letters. If they read as nonsense, change the key: the symbols stay and the letters change.

What it does

One pigpen cipher converter for both directions: an encoder that writes text as symbols, and a decoder that reads the symbols you tap.

  • Text to pigpen.

    A pigpen cipher generator for notes, invitations and escape-room clues, sharp at any size.

  • Pigpen keyboard (Pigpen to text).

    The pigpen cipher decoder is a keyboard laid out as the key itself, so you find a symbol by where it sits. Turn off Show letters to test yourself.

  • Three keys.

    Classic, Grid-X-grid-X and Alternating. Changing the key redraws your text, or re-reads the symbols you tapped.

  • The key chart.

    The pigpen cipher alphabet as drawn on paper. It lights each letter as you go, and Print key makes it a one-page chart.

  • Downloads.

    A double-resolution PNG, transparent or white, and an SVG that scales without blur, both in black ink.

  • Printable worksheet.

    A pigpen cipher worksheet with answers: the symbols with a line under each, a name line, a key strip and an answer key page, on A4 or US Letter. Save it as a PDF from the print dialog.

  • Share link.

    Holds the message (up to 500 characters), the key and the direction.

How it works

The grid rule

The pigpen cipher swaps each letter for a shape cut from a grid. Draw two tic-tac-toe grids and two large X’s. Write A to I in the first grid, left to right and top to bottom, and J to R in the second, with a dot in each cell. Put S to V in the first X and W to Z in the second, with dots. That is the classic key, as the Boy Scouts of America and Wikipedia give it. In Wikipedia’s key, S sits at the top of the first X, T on the left, U on the right and V at the bottom, and W to Z take the same places in the second.

Each letter is the lines around its place:

  • A grid letter draws the inside edges of its cell. A, top left, is a line down the right and one along the bottom. B is a box open at the top; E, the center, a closed box.

  • An X letter draws the two lines that meet at the center: S is a V, T an angle open to the left, U open to the right, V an upside-down V.

  • A letter from the second grid or X adds a dot inside.

The translator draws every symbol from this rule, not from a font, so the screen, files and printouts match.

Other keys

In the translator’s other two keys, the 26 shapes stay the same and only the letters move.

  • Grid-X-grid-X:

    A to I in the grid, J to M in the X, N to V in the dotted grid, W to Z in the dotted X.

  • Alternating:

    letters in pairs, A in a cell and B in the same cell with a dot, and so on. Puzzle sites give it as the key in the game Assassin’s Creed II.

  • Rosicrucian:

    one grid of nine cells with three letters in each (Y and Z share the last), and the dot’s place, left, center or right, picks the letter. Cornelius Agrippa described an early form in 1531. This translator does not draw it.

Where it comes from

Its true origin is unknown. Freemasons used it in the 18th century to keep their records private, which is why it is also called the Masonic cipher. It turns up on gravestones too. Thomas Brierley’s, carved with the Masonic compasses, appears to read that he “made his ingress July 16th 1785”, thought to mean the day he joined. One of the earliest stones in New York’s Trinity Church Cemetery reads “Remember death”. In the American Civil War, Union prisoners in Confederate prisons wrote in it. Today Cub Scouts learn it as a Wolf activity.

Examples

HELLO in the classic key, to check against the chart:

How each letter of HELLO is drawn in the classic key
LetterWhere it sitsLines drawnDot
HFirst grid, bottom middleTop, left, rightNo
EFirst grid, centerAll four sidesNo
LSecond grid, top rightLeft, bottomYes
LSecond grid, top rightLeft, bottomYes
OSecond grid, middle rightTop, left, bottomYes

Tap those five shapes in Pigpen to text and they read HELLO. Switch the key to Alternating and the same symbols read OIFFL.

Type Meet at 3:30, OK? and the letters become symbols while “3:30,” and “?” stay as plain characters, with one notice.

Good questions

Frequently asked questions.

About the pigpen cipher

How do you read (decode) a pigpen cipher?

Match each shape to its place in the key. A box or corner comes from a grid, a V or angle from an X, and a dot means the second grid or X. Here, switch to Pigpen to text and tap each shape. If the letters make no sense, try another key: the symbols are re-read at once.

What is the key to the pigpen cipher?

Two tic-tac-toe grids and two X’s: A to I and J to R in the grids, S to V and W to Z in the X’s, with dots in the second of each. Each letter is the lines around its place. The chart under the translator draws it, and Print key puts it on one page.

Why is it called the pigpen or Masonic cipher?

The letters sit in the cells like animals in pens: the shapes look like pens, and the dots like small pigs. It is called the Masonic or Freemason’s cipher because Freemasons used it so much in the 18th century to keep their records private. Cub Scouts know it as the pigpen code.

Does the pigpen cipher have numbers?

Not in the classic key. It has symbols for the 26 letters only. Variants with digits exist, but this translator doesn’t draw them. It keeps digits and punctuation in place as plain characters in lighter text and shows one notice, so nothing disappears. If a puzzle needs numbers, spell them out: THREE instead of 3.

Is there a pigpen cipher font, or can I copy and paste the symbols?

Not as text you can paste anywhere. Unicode has no pigpen characters, so the symbols some sites let you copy are look-alikes. Free pigpen fonts exist, but a font only changes how letters look: a reader without it installed, or anyone who copies the text, sees your plain message. Use Copy image, download a PNG or SVG for a document or slide, or press Share link to send the page with your message in it.

What is the Rosicrucian secret code?

An older form of pigpen with a single grid. Each of its nine cells holds three letters (Y and Z share the last), and a dot placed left, center or right inside the cell picks the letter. Cornelius Agrippa described an early form in 1531. This translator doesn’t draw it: its three keys all use two grids and two X’s.

Is the pigpen cipher hard to crack?

No. Each letter always becomes the same symbol, and anyone who knows the key reads it as easily as the person it was meant for; Wikipedia notes it offers little security. For a puzzle that takes longer, use the Grid-X-grid-X or Alternating key and tell only your reader which.

Trust and limits

The pigpen cipher translator runs in your browser and uploads nothing. A share link carries the message after the # in the address, which never reaches our server.

How results are checked: automated tests check the classic key against the layout the Boy Scouts of America and Wikipedia give, check that all three keys use 26 different shapes and read back to the same letters, and check that HELLO reads HELLO in the classic key and OIFFL in the Alternating key, as in the Examples above.

Messages are cut at 2,000 characters (or 2,000 symbols on the keyboard), and a share link holds 500. Digits and punctuation stay as plain characters; é is written as E; other alphabets and emoji show as a ? box, and a notice counts them. Swap carries only letters and word gaps into the keyboard. There is no Rosicrucian key, numbers key or photo decoding, and a message you found may use a key not listed here. Maintained by Translate Morse Code (independent site); last updated October 2026.

An outside opinion

Ask your favorite AI
about Translate Morse Code.

Already have an AI you turn to? Let it help you decide if this is the right Morse code tool for you.

Opens your chosen AI. Sign-in and prompt support vary; you can copy the question below.

What are we asking?
The question

I'm thinking about using Translate Morse Code (https://translatemorsecode.com/) to translate and learn Morse code. What does it do well, what are its limits, and is it a good fit for me? Please look at the site itself before answering.

AI can get details wrong. The quickest check is the translator itself: it is free and needs no sign-up.