Coding-Decoding Questions: How to Crack Letter and Number Codes
Learn the common coding-decoding rules in reasoning tests, how to read letter shifts quickly, and how to decode words with the alphabet chart.

Coding-Decoding Questions: How to Crack Letter and Number Codes
Coding-decoding questions give an example such as "CAT is written as ECV" and ask how another word would be written in the same code. They look like puzzles but follow a small set of rules. This guide explains those rules, a fast way to spot them and how to practise with the free coding-decoding solver and trainer.
Know your alphabet positions
Speed depends on knowing letter positions without counting. A = 1, E = 5, J = 10, O = 15, T = 20, Y = 25: the word EJOTY anchors every fifth letter. From there, any letter is at most two steps away. Also learn the positions from the end (Z = 1, A = 26) and the opposite pairs: A–Z, B–Y, C–X, D–W, E–V, F–U, G–T, H–S, I–R, J–Q, K–P, L–O, M–N. Opposite letters always add up to 27.
Rule 1: equal shifts
Compare each letter of the word with its code letter. If every letter moves the same distance, it is a shift: CAT → ECV moves each letter 2 forward. Shifts wrap around, so Y + 3 = B.
Rule 2: opposite letters
If the shifts look random but each pair adds to 27, the code replaces each letter by its opposite: CAT → XZG.
Rule 3: reversal
If the code letters are the word's letters in reverse order, or reversed and then shifted, look at the last letter of the word and the first of the code. PAPER → REPAP is a plain reversal.
Rule 4: changing shifts
Shifts of +1, +2, +3, … (or −1, −2, −3) along the word, or alternating +2, −2, +2, are common in harder questions. Writing the shift for each letter makes these visible immediately.
Rule 5: number codes
Words may become numbers: positions (DOG = 4-15-7), positions from the end, or the sum of positions (CAT = 3 + 1 + 20 = 24). Sometimes the sum is multiplied by the number of letters.
A fast routine
- Write the word and code letters in two rows.
- Under each pair, write the shift (code position minus word position).
- Look for a pattern in the shifts: all equal, increasing, alternating.
- If there is none, check opposites and reversal.
- Apply the rule to the new word, letter by letter.
The solver's shift table does steps 1 to 3 for you. Use it to check your own table until reading shifts becomes automatic.
Decoding
Some questions give a code and ask for the word. Apply the rule backwards: for a +2 shift, move each letter 2 back. The tool decodes any code for rules that can be reversed.
Practice plan
Start with simple shifts and reversals, then opposites and number codes, then mixed rules and decoding. Ten questions a day for a week usually makes these questions quick marks.
Worked example
Suppose PAPER is coded as QCSIW. The shifts are P to Q (+1), A to C (+2), P to S (+3), E to I (+4) and R to W (+5), an increasing shift. Applying the same rule to MANGO gives M + 1 = N, A + 2 = C, N + 3 = Q, G + 4 = K and O + 5 = T, so MANGO becomes NCQKT. To decode NCQKT, subtract 1, 2, 3, 4 and 5 in turn. Writing the shift under each letter is what makes this pattern jump out; without it, QCSIW looks random.
Number and symbol codes
When the code is a number, first test the position sum: if CAT is 24, it is 3 + 1 + 20. If the number is much bigger, try multiplying the sum by the number of letters, or adding positions from the end. Symbol codes, where each letter is replaced by a sign, are solved by matching repeated letters with repeated symbols.
Limits
The solver knows the common rules described here. Exams sometimes use one-off rules, such as treating vowels and consonants differently or mapping whole words to other words in sentence codes, which you will need to work out by hand. These codes are puzzles and offer no real security.


