Understanding the numbers to letters converter — concept and principle
This converter decodes the A1Z26 cipher: each number becomes the letter at that position in the alphabet, 1 = A, 2 = B … 26 = Z. It can also use 0 = A … 25 = Z, outputs capitals or small letters, and marks any number outside the alphabet range with "?" so typing mistakes stand out.
How it is calculated
Letter = alphabet position n (1 = A … 26 = Z), or n + 1 with the 0 = A numbering
Numbers in a word may be separated by spaces, commas, full stops or hyphens
A slash "/", vertical bar or new line starts a new word
Anything that is not a whole number in range (such as 0, 27 or a stray letter) becomes "?"
Counts: numbers converted and numbers out of range
The principle
A1Z26 is the simplest substitution cipher: each letter's position in the alphabet is its code. Decoding reverses the substitution, using the shared order of the basic Latin alphabet in ASCII and Unicode. Separators matter because the code is not self-delimiting: without them, "12" could mean L or the pair A, B. Marking out-of-range values helps spot errors rather than silently ignoring them.
Worked example
Default inputs: "8-5-12-12-15 / 23-15-18-12-4", 1 = A numbering, capitals.
- First word: 8 = H, 5 = E, 12 = L, 12 = L, 15 = O → HELLO.
- Second word: 23 = W, 15 = O, 18 = R, 12 = L, 4 = D → WORLD.
- Result: HELLO WORLD.
- Numbers converted = 10.
- Numbers out of range = 0.
How to read the result
If the output contains "?", check that number: it may be a typo, a different numbering scheme or a separator issue. If the message looks like nonsense, try the other numbering (0 = A) or consider that it may be a different cipher, such as a Caesar shift applied after numbering.
Common mistakes
- Decoding with a different numbering than was used to encode.
- Omitting separators so that two-digit numbers become ambiguous.
- Expecting punctuation to be preserved; only numbers are decoded.
Frequently asked questions
What does 8-5-12-12-15 mean?
HELLO in the A1Z26 cipher.
Why do I see a question mark?
That number is outside 1–26 (or 0–25), or not a number.
How do I separate words?
Use a slash, a vertical bar or a new line.
Can it decode other ciphers?
Only the A1Z26 family; other ciphers need their own tools.
Sources: ISO basic Latin alphabet letter order (ISO/IEC 646; Unicode Basic Latin block, U+0041–U+005A)