The number to letter cipher replaces each letter with its position in the alphabet: A = 1, B = 2, and so on to Z = 26. To decode, swap each number for its letter, so "8 5 12 12 15" reads HELLO. This is the A1Z26 cipher. Variants start at 0 (A0Z25), run backwards (A = 26), or add a shift key, which turns it into a Caesar cipher written in numbers.
The decoder above handles all 4 variants in both directions. Separate words with "/", "|", or a new line. The cipher wheel shows the full key for the chosen variant and lights up every letter in your message.
How number to letter cipher calculator works?
To decode a number to letter cipher, the number to letter cipher calculator reads each number as a position in the alphabet. The calculator splits the message at spaces and slashes, maps each number to its letter with the chosen variant (A1Z26, A0Z25, or reverse) and shift key, and rebuilds the words. 20 8 5 decodes to THE.
- Split the message
Spaces separate letters. A slash, a bar, or a new line separates words.
20 8 5 / 11 5 25 - Apply the variant
A1Z26 starts at A = 1, A0Z25 at A = 0, and reverse at A = 26.
A1Z26 - Apply the shift key
A shift of k moves every letter k places, the Caesar cipher step.
shift 0 - Map and rebuild
Each number becomes its letter. Numbers with no letter show as ?.
THE KEY
Encoding runs the same map backward: each letter becomes its number, joined by the separator you pick (space, hyphen, comma, or none).
Number to letter cipher formula
The number to letter cipher formula for A1Z26 is letter = alphabet[n − 1] and n = position(letter). A shift key k turns A1Z26 into a Caesar-shifted code: n = ((p + k) mod 26) + 1.
Formula
Where
- p
- plain letter index, A = 0 to Z = 25
- n
- cipher number
- k
- shift key from 0 to 25 (0 = plain A1Z26)
Worked example
Julius Caesar used a shift of 3 on letters. The shift key above applies the same shift before the letter becomes a number.
Number to letter cipher conversion chart
The number to letter cipher conversion chart pairs all 26 letters with their A1Z26, A0Z25, and reverse numbers. A = 1, M = 13, N = 14, and Z = 26 in A1Z26.
| Letter | A1Z26 | A0Z25 | Reverse (A = 26) | Shift 3 |
|---|---|---|---|---|
| A | 1 | 0 | 26 | 4 |
| B | 2 | 1 | 25 | 5 |
| C | 3 | 2 | 24 | 6 |
| D | 4 | 3 | 23 | 7 |
| E | 5 | 4 | 22 | 8 |
| F | 6 | 5 | 21 | 9 |
| G | 7 | 6 | 20 | 10 |
| H | 8 | 7 | 19 | 11 |
| I | 9 | 8 | 18 | 12 |
| J | 10 | 9 | 17 | 13 |
| K | 11 | 10 | 16 | 14 |
| L | 12 | 11 | 15 | 15 |
| M | 13 | 12 | 14 | 16 |
| N | 14 | 13 | 13 | 17 |
| O | 15 | 14 | 12 | 18 |
| P | 16 | 15 | 11 | 19 |
| Q | 17 | 16 | 10 | 20 |
| R | 18 | 17 | 9 | 21 |
| S | 19 | 18 | 8 | 22 |
| T | 20 | 19 | 7 | 23 |
| U | 21 | 20 | 6 | 24 |
| V | 22 | 21 | 5 | 25 |
| W | 23 | 22 | 4 | 26 |
| X | 24 | 23 | 3 | 1 |
| Y | 25 | 24 | 2 | 2 |
| Z | 26 | 25 | 1 | 3 |
| Letter | A | B | C | D | E | F | G | H | I | J | K | L | M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A1Z26 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| A0Z25 | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| Reverse | 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 | 17 | 16 | 15 | 14 |
| Letter | N | O | P | Q | R | S | T | U | V | W | X | Y | Z |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| A1Z26 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| A0Z25 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| Reverse | 13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
How to decode a number to letter cipher
- Split the numbers. Spaces, hyphens, or commas separate letters; slashes or bigger gaps separate words.
- Check the range. Numbers from 1 to 26 point to A1Z26. A 0 in the message means A0Z25.
- Swap each number for its letter. 20 8 5 = THE.
- Try a variant if the text is unreadable. Switch to reverse, or step the shift key from 1 to 25 until words appear.
Joined digits such as "1225" are ambiguous: they read as 1-2-2-5 (ABBE), 12-25 (LY), or 1-22-5 (AVE). Ask for separators or use 2-digit padding (01 02 … 26).
Is the number to letter cipher secure?
No. The A1Z26 cipher has no secret key, so anyone with the chart reads the message in seconds. Adding a shift gives 25 possible keys, which a person can test by hand in a few minutes. For puzzles, escape rooms, and geocaches that is the point. For real secrets, use a modern encryption tool.
Frequently asked questions
What is 1 2 3 in the number to letter cipher?
1 2 3 is ABC in A1Z26.
What number is Z in the cipher?
Z is 26 in A1Z26, 25 in A0Z25, and 1 in the reversed alphabet.
What is the A1Z26 cipher called?
It is called the A1Z26 cipher, the letter number cipher, or the alphabet position cipher.
How do I write a word in the number cipher?
Replace each letter with its position: CAT is 3 1 20. Use the Encode tab to do it for a whole message.
What is the formula for the A1Z26 cipher?
The A1Z26 formula is number = position of the letter in the alphabet, so A = 1 and Z = 26. Decode with letter = alphabet[number − 1].
What is 8 5 12 12 15 in the number cipher?
8 5 12 12 15 decodes to HELLO in A1Z26.
How does a shift key change the number cipher?
A shift key moves each letter forward before it becomes a number. With shift 1, A becomes 2 and Z becomes 1.
More number and letter tools