Number to Letter

Number to Letter › Number to letter cipher

Number to letter cipher

Result
Cipher wheelA1Z26

Outer ring: plain letters. Inner ring: the cipher number for each letter. Letters used in the message turn red.

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.

  1. Split the message

    Spaces separate letters. A slash, a bar, or a new line separates words.

    20 8 5 / 11 5 25
  2. Apply the variant

    A1Z26 starts at A = 1, A0Z25 at A = 0, and reverse at A = 26.

    A1Z26
  3. Apply the shift key

    A shift of k moves every letter k places, the Caesar cipher step.

    shift 0
  4. 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

n = ((p + k) mod 26) + 1
p = ((n − 1 − k) mod 26)
reverse: n = 26 − p

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

Plain word CAT, k = 3C: p = 2 → ((2 + 3) mod 26) + 1 = 6A: p = 0 → 4, T: p = 19 → 23CAT → 6 4 23 (Caesar shift 3, written as numbers)

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.

LetterA1Z26A0Z25Reverse (A = 26)Shift 3
A10264
B21255
C32246
D43237
E54228
F65219
G762010
H871911
I981812
J1091713
K11101614
L12111515
M13121416
N14131317
O15141218
P16151119
Q17161020
R1817921
S1918822
T2019723
U2120624
V2221525
W2322426
X242331
Y252422
Z262513
LetterABCDEFGHIJKLM
A1Z2612345678910111213
A0Z250123456789101112
Reverse26252423222120191817161514
LetterNOPQRSTUVWXYZ
A1Z2614151617181920212223242526
A0Z2513141516171819202122232425
Reverse13121110987654321

How to decode a number to letter cipher

  1. Split the numbers. Spaces, hyphens, or commas separate letters; slashes or bigger gaps separate words.
  2. Check the range. Numbers from 1 to 26 point to A1Z26. A 0 in the message means A0Z25.
  3. Swap each number for its letter. 20 8 5 = THE.
  4. 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.