Skip to main content
CipherChronicle

Cipher methods Code

A1Z26 cipher (alphabet rank)

The A1Z26 cipher — also called the alphabet rank or letter to number code — is the most direct encoding: every letter is replaced by its position in the alphabet. A = 1, B = 2, …, Z = 26. It’s often the first “cipher” we teach children because it only requires one skill: counting.

What is the A1Z26 cipher?

The A1Z26 cipher is a simple letter-to-number substitution code where each letter of the alphabet is replaced by its position: A becomes 1, B becomes 2, C becomes 3, and so on up to Z = 26. It’s an encoding rather than a true cipher — the mapping is public, so anyone with the table can decode it instantly.

How do you decode an A1Z26 message?

To decode A1Z26, split the number sequence into pairs (or use the separators), then replace each number with its letter using the table A=1, B=2, …, Z=26. For example, 03 09 16 08 05 decodes to CIPHE. The leading zero on single digits (03 instead of 3) keeps the splitting unambiguous.

How does A1Z26 (alphabet rank) work?

The mapping is linear:

A=1  B=2  C=3  D=4  E=5  F=6  G=7
H=8  I=9  J=10 K=11 L=12 M=13 N=14
O=15 P=16 Q=17 R=18 S=19 T=20 U=21
V=22 W=23 X=24 Y=25 Z=26

To make decoding unambiguous, write numbers as two digits with a leading zero (03 instead of 3), or insert separators (3-9-16-8-5).

What does A1Z26 (alphabet rank)-encrypted text look like?

CIPHE03 09 16 08 05, or without separator: 0309160805.

Without padding or separators, 39168 5 is ambiguous (is it 3 9 16 8 5 or 3 9 1 6 8 5?). Hence the leading zero.

What are the variants of A1Z26 (alphabet rank)?

  • Reversed A1Z26Z = 1, Y = 2, …, A = 26, equivalent to Atbash followed by A1Z26.
  • ASCII code — same idea on a larger domain (A = 65, a = 97, etc.).
  • Greek / Hebrew alphabet rank — same mapping adapted to other alphabets.
  • Prime number substitution — each letter becomes a prime (A = 2, B = 3, C = 5, …).

What are the weaknesses of A1Z26 (alphabet rank)?

A1Z26 makes no cryptographic claim. It’s an encoding whose table is universally known. Its only “security” is hiding that text was written — a string of digits attracts less attention than a word.

It is however valuable as a building block: you combine it with other techniques (mathematical, geometric) to compose richer ciphers. Affine, Hill, Polybius, Vigenère — all rest on numeric representations of the alphabet.

In CipherChronicle

A1Z26 is the teaching gateway to numeric ciphers. It introduces the idea of representing text by numbers, a prerequisite for understanding Caesar, Affine or Vigenère afterwards.

Grid

0
3
0
9
1
6
0
8
0
5
Q
R
S
T
U
V
W
X
Y
Z
A
B
C
D
E
  1. 1

    Number stream

    A sequence of digits grouped in pairs, usually zero-padded on two positions.

  2. 2

    Pair splitting: 03, 09, 16, 08, 05

    Each number is an alphabet rank.

  3. 3

    Reading the table

    03 = C, 09 = I, 16 = P, 08 = H, 05 = E.

  4. 4

    Number-to-letter substitution

    Each number is replaced by its corresponding letter.

  5. 5

    Message revealed

    The word appears once all pairs have been decoded.