Cryptogram Generator
Encipher a message with a keyword-based substitution alphabet, and print the key beside the cipher text.
What this Cryptogram Generator does
Encipher a message with a keyword-based substitution alphabet, and print the key beside the cipher text.
The key alphabet starts with the distinct letters of your keyword and continues with the unused letters of the alphabet. Each plain letter is replaced by the key letter in the same position. Punctuation, spaces and digits are copied unchanged, and the case is not preserved because the cipher works on A-Z.
How to use it
Paste message to encipher into the box above, set Keyword, then press Run. The page recalculates from the values on screen and prints the rule it applied.
Worked example
Input:
Message to encipher = HELLO WORLD
Keyword = QUICK
Output:
Cipher text = DKHHM WMPHC
Key alphabet = QUICKABDEFGHJLMNOPRSTVWXYZ
Letters enciphered = 10
Why it runs in your browser
This page runs entirely in this tab: no value is posted to a server, no cookie or storage entry is written, and reloading the page discards everything. Static HTML and JavaScript only — the same source served to every visitor, with no network call and no server-side executor.
Cryptogram Generator: Encipher a message with a keyword-based substitution alphabet, and print the key beside the cipher text.
The key alphabet starts with the distinct letters of your keyword and continues with the unused letters of the alphabet. Each plain letter is replaced by the key letter in the same position. Punctuation, spaces and digits are copied unchanged, and the case is not preserved because the cipher works on A-Z.
Worked example: Message to encipher = HELLO WORLD, Keyword = QUICK gives Cipher text = DKHHM WMPHC; Key alphabet = QUICKABDEFGHJLMNOPRSTVWXYZ; Letters enciphered = 10.
How to use the Cryptogram Generator calculator
Paste message to encipher into the box above, set Keyword, then press Run. The page recalculates from the values on screen and prints the rule it applied.
This page runs entirely in this tab: no value is posted to a server, no cookie or storage entry is written, and reloading the page discards everything.
- Keyword — written text
The rule this page applies
The key alphabet starts with the distinct letters of your keyword and continues with the unused letters of the alphabet. Each plain letter is replaced by the key letter in the same position. Punctuation, spaces and digits are copied unchanged, and the case is not preserved because the cipher works on A-Z.
Static HTML and JavaScript only — the same source served to every visitor, with no network call and no server-side executor.
- Cipher text = DKHHM WMPHC
- Key alphabet = QUICKABDEFGHJLMNOPRSTVWXYZ
- Letters enciphered = 10
What to Expect
Best for
- Getting the cipher text quickly
- Checked arithmetic, printed with its rule
- Comparing two sets of inputs
Not ideal for
- Data this page does not carry
- A guarantee about the physical world
- Locales other than English
What this tool keeps
- Your inputs in this tab
- The rule, printed in full
- The same answer on every run
What may need cleanup
- A value the page refuses, which names the field instead of guessing
- A number outside the stated range, which is refused by name
Common errors
- A blank field is refused rather than read as zero
- A zero denominator is refused rather than printed as infinity
- A value outside the formula’s range is refused with the range named
Example use cases
- Checking a figure before you rely on it
- Homework and exam checking
- Comparing two options side by side
Sample input
Message to encipher = HELLO WORLD, Keyword = QUICK
Sample output
Cipher text = DKHHM WMPHC; Key alphabet = QUICKABDEFGHJLMNOPRSTVWXYZ; Letters enciphered = 10
Who this is for
- Anyone checking this figure by hand
- Students and teachers
Frequently asked questions
What does the Cryptogram Generator calculator do?
Encipher a message with a keyword-based substitution alphabet, and print the key beside the cipher text. It prints cipher text, key alphabet, letters enciphered.
How does this page work out the answer?
The key alphabet starts with the distinct letters of your keyword and continues with the unused letters of the alphabet. Each plain letter is replaced by the key letter in the same position. Punctuation, spaces and digits are copied unchanged, and the case is not preserved because the cipher works on A-Z.
Is anything uploaded or stored?
This page runs entirely in this tab: no value is posted to a server, no cookie or storage entry is written, and reloading the page discards everything.
Which inputs does the page read?
It reads Keyword. Every other value is derived from those.
Is this secure encryption?
No. It is a classical substitution cipher for puzzles and teaching; letter frequency defeats it quickly. Do not use it to protect anything.
Can I decipher with the same page?
Not here: the page only enciphers. The printed key alphabet is what a solver needs, and the reverse mapping is read from it by hand.
Does the keyword have to be a word?
Any letters work. Repeated letters are dropped, and a keyword with no letters is refused.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.