Home › Text Tools › Pigpen Cipher Translator

Pigpen Cipher Translator

Type a message and see it drawn in pigpen cipher symbols instantly. Download it as a crisp PNG or SVG, print it with the key for a treasure hunt, or decode a pigpen message by clicking the symbols you see.

Last updated:

Pigpen key

Letters A–I sit in a tic-tac-toe grid, J–R in a grid with dots, S–V in an X and W–Z in an X with dots. Each letter is drawn as the shape of its pen.

Advertisement
Advertisement

How to use the Pigpen Cipher Translator

  1. Type your message in the box. Each letter is drawn as its pigpen symbol right away.
  2. Adjust the look: symbol size, line weight, ink color and how many symbols fit on a line.
  3. Download or print: save a PNG or SVG, or print the message with the key on the page.
  4. To decode, open Pigpen → text and click the matching symbol for each shape you see; press Space between words.
  5. Copy the decoded text or send it back to be drawn again.

The pigpen symbols at a glance

Each symbol is the outline of a letter's cell in the key. A dot means the letter comes from the second grid or the second X.

LettersKey figureShape of the symbols
A B CTop row of the gridOpen at the top: A = right + bottom lines, B = U shape, C = left + bottom lines
D E FMiddle row of the gridD = open on the left, E = full square, F = open on the right
G H IBottom row of the gridOpen at the bottom: G = top + right, H = upside-down U, I = top + left
J – RGrid with dotsSame shapes as A – I, each with a dot inside (J = A shape + dot, N = square + dot)
S T U VThe XV-shaped wedges: S opens up (V), T opens left (>), U opens right (<), V opens down (Λ)
W X Y ZThe X with dotsSame wedges as S – V, each with a dot

Ideas for using pigpen messages

  • Treasure hunts and escape rooms: print the clue without letters and hide the key somewhere else in the room.
  • Classroom code-breaking: give students the key chart and a short sentence; ask them to make their own key with a different letter order.
  • Party invitations and cards: download the PNG and drop it into a card, with the answer printed on the back.
  • Worksheets: switch on "Show letters under symbols" to make an answer key that matches the puzzle exactly.

A little history

Grid-and-dot ciphers like pigpen have been around since at least the 1700s. Freemasons used them for private records, which is why the system is often called the Masonic cipher, and versions appear on gravestones and in letters from the American Civil War era. Today it is one of the most popular first ciphers for kids because the key is easy to draw from memory.

Frequently asked questions

What is the pigpen cipher?

The pigpen cipher replaces each letter with a symbol taken from the lines around it in a key diagram: two tic-tac-toe grids and two X shapes, one of each with dots. Because the letters sit in compartments like pigs in pens, it is called pigpen. It is also known as the Freemason's or Masonic cipher, since Freemasons used it in the 1700s.

How does the pigpen key work?

In the most common version, A–I fill a tic-tac-toe grid row by row, J–R fill a second grid where each cell has a dot, S–V go into the four wedges of an X (top, left, right, bottom) and W–Z into a second X with dots. A letter's symbol is the outline of its cell: E in the middle of the grid is a full square, A in the top-left corner is just a right and bottom line, and N is a full square with a dot.

How do I decode a pigpen message?

Match each symbol to the shape of a cell in the key. Check whether it has a dot (second grid or second X), then whether it is a box shape (grid) or a V shape (X). In this tool, open the Pigpen → text tab and click the symbol that looks the same; the letters appear in the box as you go.

Are there different versions of the pigpen cipher?

Yes. Some versions place the letters in a different order, for example filling the grids down the columns, putting the X letters in another order, or using a dotted grid with letters alternating between the plain and dotted pens. If a message does not decode, ask for or look for the key that came with it. This tool uses the widely taught version: A–I, J–R with dots, S–V, W–Z with dots.

Does the pigpen cipher have numbers?

The classic pigpen key only covers the 26 letters. Numbers are usually spelled out or written normally. This translator can keep digits and punctuation as ordinary characters, or drop them if you untick the option.

Is the pigpen cipher secure?

No. Each letter always maps to the same symbol and the key is widely published, so anyone who recognizes it can read the message. It is perfect for escape rooms, scavenger hunts, classroom code-breaking and secret notes between friends, not for real secrets.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Bacon CipherEncode and decode Baconian A/B code (24 or 26 letters) and hide messages in letter case.Polybius Square CipherEncode and decode Polybius square coordinates with a standard or keyword 5×5 or 6×6 grid.Atbash CipherEncode and decode Atbash ciphers (A↔Z, B↔Y) in Latin or Hebrew, with a live letter mapping table.Morse Code TranslatorTranslate text to Morse code and back, then play it as sound or a blinking light, or save a WAV.Word CounterCount words and characters and clean up text.Character CounterCount characters with and without spaces, words, lines and bytes, with live limit bars.Online Word ProcessorFree browser word processor with headings, lists, tables and images. Autosaves; export DOCX or PDF.Grammar CheckerCheck grammar, spelling and punctuation with clickable suggestions and one-click fixes.Word Count to PagesHow many pages is 1,000 words? Estimate pages by font, size, spacing and margins.Remove Line BreaksStrip line breaks and extra spaces, keep paragraphs if you want.Sort Lines AlphabeticallySort a list A-Z, Z-A, numerically, naturally or by length, or shuffle it.Case ConverterConvert text to UPPERCASE, lowercase, Title Case, camelCase and more.Citation GeneratorCreate APA, MLA and Chicago citations for books, websites and articles.MLA Format GeneratorBuild an MLA 9 heading, title page layout and Works Cited entries.Bibliography GeneratorBuild an alphabetized bibliography in APA 7, MLA 9, Chicago or Harvard style.Essay Length & Reading TimeWords to reading time, speaking time and handwritten or typed pages.Lorem Ipsum GeneratorGenerate placeholder text as paragraphs, words or lists, with HTML.Instagram Caption FormatterKeep line breaks and spacing in Instagram captions and bios.Instagram Bio GeneratorCreate Instagram bios with templates, fancy fonts and emojis.X Post Character CounterCount X (Twitter) post characters and split long text into a thread.TikTok Caption CounterCount TikTok caption characters and hashtags against the 2,200 limit.Speech Length CalculatorPaste a speech to see how long it takes to say at any speaking speed.Text to SpeechTurn text into natural-sounding speech.Fancy Text GeneratorTurn text into cool Unicode fonts for bios.Reverse Text GeneratorWrite text backwards, reverse words or lines, mirror or flip it upside down.Upside Down Text GeneratorFlip text upside down with Unicode characters, or turn it back to normal.Text RepeaterRepeat any text or emoji up to 100,000 times with custom separators.YouTube Title Length CheckerCheck YouTube title length, preview truncation and score it for clicks.YouTube Description & Chapters GeneratorBuild a YouTube description with chapters, links and hashtags from templates.Text CompareFind the differences between two texts.AI Prompt GeneratorBuild better prompts for ChatGPT, Midjourney and more.Email Signature GeneratorBuild HTML email signatures for Gmail and Outlook.Flashcard MakerMake flashcard decks and study them with flip cards and spaced repetition, saved in your browser.Find and Replace TextFind and replace words or regex patterns in any text, with match highlighting and undo.YouTube Tag GeneratorGenerate YouTube tag ideas from your title and keywords and fit them in the 500-character limit.Quiz MakerMake a multiple-choice quiz, take it with instant scoring and share it with a link.Add Line NumbersNumber every line of your text with custom start, step, padding and separator, or remove numbers.Add Prefix and Suffix to LinesAdd text to the start and end of every line: quotes, commas, bullets or SQL lists.Persian KeyboardType Persian (Farsi) online with the standard ISIRI layout or Finglish typing, then copy.Greek KeyboardType Greek online with the standard Greek layout or Greeklish, accents included, then copy.Hebrew KeyboardType Hebrew online with the standard Israeli layout or phonetic typing, with niqqud.Korean KeyboardType Korean Hangul online with the 2-set Dubeolsik keyboard; jamo combine automatically.Ukrainian KeyboardType Ukrainian online with the ЙЦУКЕН keyboard or Latin translit, incl. ї, є, ґ and ʼ.Bulgarian KeyboardType Bulgarian online with the BDS or phonetic keyboard or Latin typing, then copy.Bengali KeyboardType Bengali (Bangla) online with InScript or phonetic typing, then copy your text.Tamil KeyboardType Tamil online with the InScript layout or phonetic (Tanglish) typing, then copy.Thai KeyboardType Thai online with the standard Kedmanee keyboard layout, then copy your Thai text.Gujarati KeyboardType Gujarati online with InScript or phonetic English typing, then copy your text.Punjabi KeyboardType Punjabi (Gurmukhi) online with InScript or phonetic typing, then copy your text.Armenian KeyboardType Armenian online with the phonetic keyboard or Latin typing, then copy your text.Acrostic Poem GeneratorTurn any name or word into an acrostic poem by theme, edit the lines and save it as an image.Amharic KeyboardType Amharic online in Ge’ez script (ፊደል): consonant + vowel phonetic typing, then copy.Antonym FinderFind opposites of any word: direct antonyms, near antonyms and definitions, click to copy.Apology Letter GeneratorWrite a sincere apology letter, email and text for a customer, friend, boss or teacher.Authorization Letter GeneratorCreate an authorization letter to let someone collect documents, act for you or pick up a child.Birthday Message GeneratorGet funny, heartfelt or formal birthday wishes for friends, family, partners and coworkers.Book Title GeneratorGenerate book title ideas for fantasy, romance, mystery, sci-fi or nonfiction books.British to American Spelling ConverterConvert UK spelling to US spelling and back (colour/color, organise/organize) with highlights.Paragraph to Bullet Points ConverterSplit paragraphs into bullet points by sentence or clause, with your choice of bullet style.Burmese KeyboardType Burmese (Myanmar Unicode) online with the standard layout, then copy your text.Random Character GeneratorGenerate story characters with name, looks, traits, flaw, motivation and backstory hook; lock any field.Compare Two ListsFind items only in list A, only in list B, in both lists, or in either, with copy and sort.Complaint Letter GeneratorWrite a clear, formal complaint letter or email to a company, with a reply deadline.Compliment GeneratorGet kind, funny or professional compliments for friends, coworkers, partners or family, with their name.Czech KeyboardType Czech online with č, ř, š, ž, ě, ů and á using the Czech QWERTZ layout or shortcuts.Discord Colored Text GeneratorColor, bold and underline text for Discord with ANSI code blocks and a live preview.Discord Font GeneratorFancy fonts for Discord names and bios, plus ready-made Discord markdown formatting.DOCX to Text ConverterExtract plain text from Word .docx files, in batch, with list markers, tables and .txt download.
See all 459 Text Tools →