Tools
English

Neogie Pigpen · Word games

Pigpen (Masonic) Cipher: Encode and Decode

Type a message to draw it in symbols, or tap the symbols to decipher it.

The drawn message

The drawing will appear here.

Decode a message

Tap the drawings in order: the letters are written in the “Your message” box.

Everything happens in your browser: nothing you type is sent.

What is the Pigpen cipher?

Pigpen, also called the Masonic cipher, replaces each letter with a drawing. Letters are laid out in two grids of nine cells and two crosses of four sectors. The symbol of a letter is the outline of its cell.

The four families of signs

A to I are pieces of the first grid. J to R are the same with a dot. S to V are the four angles of a cross. W to Z are those angles with a dot. Other layouts exist: make sure your correspondent uses the same one.

Writing and decoding

Type your message: the symbols appear, and you can download them as a PNG or SVG image for a puzzle or a treasure hunt. To read a message found elsewhere, tap the symbols of the keyboard in order. The “Show the letter under each key” box turns the keyboard into a key table, which you can hide.

A game, not a secret

Each letter always has the same symbol: the message can be broken by counting signs, and the table is well known. It has amused people for centuries but protects nothing.

What the tool does not draw

Only the 26 letters have a symbol. Accents are removed; digits and punctuation stay as they are in the drawing.

Frequently asked questions

Where does the name “pigpen” come from?

From the shape of the cells, which look like small pens.

Did Freemasons really use it?

Some lodges did, notably in the 18th century, hence its other name.

May I use the images in a game?

Yes, the drawings you create here are yours to use.

Is my message sent anywhere?

No. The drawings are made in your browser.

How can I hide the message further?

Combine two methods: first encrypt the text with a Caesar shift, then draw the result in Pigpen. Whoever receives the puzzle has to recognise the symbols and then find the shift. It makes a good game, with no security value.

Similar tools

Neogie BrailleBraille Translator: Text to Braille and BackType text to see it in braille, or paste braille signs to read them. Neogie A1Z26Letters to Numbers Converter (A=1, Z=26)Type words to get numbers, or paste numbers to read the words. Neogie SemaphoreSemaphore Flag Alphabet: Encode and DecodeType a message to see the flag positions, or tap the drawings to read it. Neogie AffineAffine Cipher: Encode and Decode OnlineChoose a and b, or paste an unknown message: the most likely keys are suggested. Neogie BaconBacon's Cipher: Encode and Decode (A and B)Five signs per letter: write a message or paste A and B groups to read it. Neogie CaesarCaesar Cipher: Encode and Decode OnlinePick a shift, or paste an unknown message and read all 25 attempts, ranked from the most to the least likely. Neogie PlayfairPlayfair Cipher: Encode and DecodeEnter a keyword: the square is drawn and the message is encrypted two letters at a time. Neogie VigenereVigenère Cipher: Encode, Decode and Find the KeyWith the key, the message reads at once; without it, the tool suggests the most likely keys. Neogie SubstitutionSubstitution Cipher and Frequency AnalysisEncrypt with your own alphabet, or rebuild the alphabet of an unknown message letter by letter. Neogie TranspositionRail Fence and Scytale Transposition CipherThe letters do not change, they change places: pick the method and the key. Neogie AtbashAtbash Cipher: the Reversed Alphabet OnlinePaste your text on either side: the same operation encodes and decodes. Neogie MorseMorse Code Translator with SoundType a message to see and hear it in Morse, or paste dots and dashes to read them. Neogie SyllablesOnline syllable counter: poems, haiku, textsType or paste a text: syllables are counted as you go, line by line and word by word. Neogie RhymesRhyming Dictionary: Find Words That RhymeType a word and see the words that rhyme with it, for a poem, a song or a game. Neogie AnagramAnagram generator: all the words from a set of lettersType some letters: all the words you can form with them, from longest to shortest. Neogie IdentifyCipher Identifier: Which Code Is This?A mysterious message? Paste it: leads are listed from the most to the least likely. Neogie TilesBest words from letter tiles, with pointsEnter the letters on your rack: the possible words, ranked from most to least profitable. Neogie ROT13ROT13 and ROT47: Encode and Decode OnlineThe same operation encodes and decodes: paste your text on either side. Neogie GuessWord of the Day Solver: right and wrong letter positionsEnter your guesses and their colours: the tool keeps only the words that are still possible. Neogie CrosswordCrossword and arrow puzzle solver by known lettersType the letters you have and one question mark per empty cell: the matching words appear.