Home › Ciphers › Secret Code Maker

Secret Code Maker

Every code in the generator can be looked up — which means anyone with this site can read your message. A code you invent yourself cannot be looked up, because it exists in exactly two places: your notebook and your friend's. This page is the workbench: build a private alphabet from a keyword, a shuffle, or a set of symbols, test it, print it, and start writing messages that are yours alone.

In short

A secret code maker builds a substitution alphabet — your own private mapping from each letter to another letter or a symbol. Build one three ways: from a keyword (memorable, rebuildable from one word), by shuffling (maximum surprise), or with symbols (stars, moons and anchors instead of letters). The maker checks your alphabet for the one fatal flaw — a symbol used twice — and then encodes and decodes with it. A cipher wheel below turns any single shift into something you can hold.

Just want to use a standard code? The Generator sends, the Translator receives.

Build your alphabet

Write & read with your code

The cipher wheel

A wheel is a Caesar shift you can hold: the outer ring is the real alphabet, the inner ring is the code alphabet, and turning one against the other sets the shift. Slide to spin it.

How it works

Three ways to invent an alphabet

The keyword alphabet is the classic: write your keyword (repeated letters dropped), then follow it with the rest of the alphabet in order. ZEBRA gives Z-E-B-R-A, then C-D-F-G-H… The whole alphabet hangs on one memorable word — lose the chart and you can rebuild it from the word alone. Its weakness is the tail: after the keyword, letters sit in alphabetical order, and a codebreaker who guesses the system can unravel it from the end.

The shuffled alphabet has no pattern at all — the strongest arrangement and the hardest to remember, so it lives on paper: the chart is the key, and both friends need a copy. The symbol alphabet swaps letters for marks (★ ♥ ☂ ⚓…). Symbols feel more secret and are more fun to write, but obey the same law as letters, plus one practical rule the maker enforces for you: symbols are written as separate tokens with spaces, because run-together symbols become ambiguous the moment two of them resemble a third.

One law governs all three: every code token is used exactly once. If two letters share a symbol, the reader cannot tell them apart and the code is broken — not by an enemy, but by its own design. The builder watches for duplicates as you work and marks them amber; a valid alphabet always reports itself clean before you encode anything.

Origin & history

Invented alphabets, from queens to classrooms

The most famous homemade alphabet in history belonged to Mary, Queen of Scots, whose letters in the 1580s used a private cipher of invented symbols for letters and whole words. It did not save her: Thomas Phelippes, working for Walsingham, broke it by frequency analysis — counting which symbol appeared most and reasoning from there — a warning repeated below, because it applies to every alphabet the maker produces. The Pigpen grid was another invention that escaped its makers, passing from 18th-century Freemason records into general use; the keyword alphabet is the standard construction in Renaissance cipher manuals. Across five centuries the pattern is constant — inventing the alphabet is the easy, delightful part; living with its weaknesses is the education.

Reference

A finished alphabet: ZEBRA

This is the builder's keyword example, printed as a strip — the format to copy onto paper for both members of your code club. Read it as “A becomes Z, B becomes E…”:

The ZEBRA alphabet — plain letter → code letter

AZBECBDREAFCGDHFIGJHKILJMKNLOMPNQORPSQTSUTVUWVXWYXZY

Notice E→A and A→Z near the start (the keyword's doing) and the long orderly run from F onward (the keyword method's tell). A shuffled alphabet has no such run.

Worked examples

Your invention at work

Example 1 — the ZEBRA alphabet

HELLO WORLD → FAJJM VMPJR

H becomes F, E becomes A, L becomes J, O becomes M. The double L producing a double J is the alphabet's fingerprint — and, to a codebreaker, its first clue (see the limits below).

Example 2 — the symbol alphabet, in order

MEET AT NOON → ☂ ♠ ♠ ☕  ★ ☕  ☀ ☾ ☾ ☀

Using the maker's symbol set in its starting order (A is ★, B is ♥, and so on), M is an umbrella and T is a coffee cup. Shuffle the symbols in the builder and the same message looks entirely different — that shuffle is your key, and the printed chart is its only copy.

Breaking it

Honest weaknesses of a homemade code

  • Frequency survives disguise. Whatever E becomes — a letter, a star, a drawing of a duck — it will still be the commonest token in a long message, and that is how Phelippes read a queen's mail. Homemade alphabetic codes are for fun and privacy-from-siblings, never for real secrets.
  • Word patterns leak. A double letter in your message is a double token in code; a word like “NOON” keeps its shape (two same in the middle). Short messages leak least.
  • The keyword tail. Keyword alphabets end in a long alphabetical run. If you love the keyword method, pick a long keyword with scattered letters — or shuffle just the tail.
  • Losing the chart is losing the code. Shuffled and symbol alphabets cannot be rebuilt from memory. Print two copies, keep them apart, and agree what to do if one goes missing (answer: invent a new code — it takes a minute, and it is half the fun).
The safe-sharing note. Share your alphabet the way you would share a house key: in person, to named people, never posted publicly with your messages. If a coded message and its alphabet ever appear in the same place, the code is a decoration, not a secret. And agree as a club: codes are for games and surprises — never for messages that would hurt someone if read aloud.
Variants

Ways to make it yours

TwistWhat changes
Keyword + shuffleBuild from a keyword, then shuffle the tail — memorable start, no tell-tale run
Symbols of your ownReplace the maker's symbols with your drawings — initials, doodles, emoji you both know
Numbers as symbolsUse 27–52, or two-digit numbers with a twist, for an alphabet that looks like data
A wheel instead of a chartPrint the wheel, cut two discs, pin the centres — a shift code you operate with your hands
Code of the monthClubs rotate alphabets; old messages become archaeology, and losing one chart stops mattering
Uses & culture

The classroom workflow

Teachers: the maker runs a complete lesson arc. Day one, pairs invent an alphabet (keyword method, so it can be rebuilt) and exchange charts. Day two, pairs exchange messages — spelling suddenly matters, because one wrong token jams the decode. Day three, the turn: pairs swap messages without charts and attack each other's codes with letter frequency — the class discovers Phelippes' method by needing it. The same arc works for a code club or a family: invent together, write carefully, then break gleefully.

Practice

Decode the inventor's example

Practice — read the ZEBRA strip backwards

FAJJM VMPJR

Using only the printed ZEBRA strip in the reference section — read it in reverse, code letter back to plain letter — what does this say? Then rebuild the alphabet in the tool from the keyword and check yourself with the Decode button.

Reveal the answer

“HELLO WORLD” — F→H, A→E, J→L, M→O. Notice you decoded with the strip alone: a substitution alphabet is its own key, in both directions, which is why the chart's safekeeping matters more than the method's cleverness.

FAQ

Frequently asked questions

What makes a good keyword?

Long, with letters scattered across the alphabet and few repeats: ZEBRA, JUMPED, WALTZING. Avoid words whose letters cluster (BANANA is nearly useless) and your pet's name — the first thing a sibling-codebreaker tries.

Can I use emoji as my symbols?

Yes, with the token rule: one emoji per letter, written with spaces between them, and beware look-alikes (☀ and 🌞 in the same alphabet will cause tears). The maker's set is chosen to be distinct at a glance; your own set should pass the same squint test.

How do I print my alphabet and wheel?

Print this page: the print layout keeps the reference strip and templates and drops the tools. For the wheel, print, cut two circles, and pin them through the centre so the inner disc turns — set your shift and read across the rings.

My friend lost their chart. Can the site recover our code?

Only if it was a keyword alphabet — rebuild it from the keyword. Shuffled and symbol alphabets exist only on the charts you printed; nothing is stored or sent anywhere by this page, which is the point of a secret, and occasionally its price.

Is a homemade code stronger than the standard ones?

Against a casual reader, yes — it cannot be looked up or run through the translator. Against a determined codebreaker with a long message, no substitution alphabet survives frequency analysis, whoever invented it.

Next steps