Coding and decoding tests measure your ability to understand and apply substitution rules. You'll be given a key that maps letters or symbols, then asked to encode or decode words using that system.
The generator ships 17 cipher systems across four tiers: substitution (letter-to-number, number-to-letter, Atbash, Caesar shift, symbol substitution, vowel-consonant mapping, keyboard shift), transposition (reverse word, skip cipher, rail fence), polyalphabetic (variable shift, Vigenère, ROT13), and special encodings (Polybius square, phone keypad, binary). Combined ciphers at expert difficulty chain two methods.
All codes are generated locally in your browser. Your progress and answers are stored only on your device — we never collect personal data.
Key Patterns & Formats
Letter-to-Number Codes
Each letter is replaced by its position in the alphabet.
A=1, B=2, C=3, ... Z=26Number-to-Letter Codes
Decode numbers by converting each to its corresponding letter.
1=A, 2=B, 3=C, ... 26=ZAtbash Cipher
Each letter is replaced by its mirror in the alphabet (A to Z, B to Y, etc.).
A to Z, B to Y, C to X, D to W, E to V, F to U, G to T, H to S, I to R, J to Q, K to P, L to O, M to NCaesar Cipher
Each letter is shifted by a fixed number of positions in the alphabet.
Shifted letter = (Original position + Shift) mod 26. With shift=3: A→D, B→E, C→F, ..., X→A, Y→B, Z→CSymbol Substitution
Letters are replaced with symbols according to a given key.
A=@, B=#, C=$, etc. (as specified in key)Combined Codes
Multiple coding rules are applied in sequence.
Apply Rule 1 to get intermediate result, then apply Rule 2 to get final resultPolybius Square
Letters are encoded as coordinate pairs from a 5x5 grid.
Grid: Row 1 (ABCDE), Row 2 (FGHIK), Row 3 (LMNOP), Row 4 (QRSTU), Row 5 (VWXYZ). A=11, B=12, ... I/J=24, ... Z=55Variable Shift Cipher
Each letter shifts by its position number (1st +1, 2nd +2, etc.).
Letter at position N shifts forward by N positions. Position 1: +1, Position 2: +2, Position 3: +3, etc.Vowel-Consonant Code
Vowels and consonants follow different shift rules.
Vowels (A,E,I,O,U) shift by X positions. Consonants shift by Y positions.Keyboard Cipher
Letters shift along their QWERTY keyboard row.
Top row: QWERTYUIOP, Middle row: ASDFGHJKL, Bottom row: ZXCVBNM. Shift right within each row.Reverse Word
The word is spelled backwards (transposition, not substitution).
Read letters from right to left. WORD -> DROWSkip Cipher
Letters are rearranged by taking alternating positions.
Take positions 1,3,5... then 2,4,6... Example: WATER (W1,A2,T3,E4,R5) -> WTR + AE = WTRAESolving Strategies
- Numbers 1-26 (no numbers higher than 26)
- Pattern follows alphabetical position
- Often separated by hyphens or spaces
- Given numbers, asked to find the word
- Numbers are between 1 and 26
- Decode by finding the letter at each position
- Each letter maps to its 'mirror' position
- A always becomes Z, Z always becomes A
Common Pitfalls
- Confusing letter positions (common: J=10, not 11)
- Forgetting alphabet order mid-word
- Not recognizing double-digit numbers (12 is L, not 1-2)
- Confusing high numbers (is 20 T or U?)
- Not recognizing common patterns (15=O, 5=E)
- Mixing up single and double digit parsing