Skip to content
clickidy
🎯 ALL GAMES
CODES · TRANSLATOR

A1Z26 Cipher Decoder

Letters as numbers - A is 1, Z is 26.

Letters as numbers - A is 1, Z is 26.

ENCODING →
A1Z2615 14 5 / 13 15 18 5 / 3 12 9 3 11

THE HISTORY ◢

The A1Z26 cipher swaps each letter for its position in the alphabet: A is 1, B is 2, on up to Z at 26. It needs no key and hides plain words inside strings of numbers, which makes it a staple of puzzle hunts and escape rooms.

THE LONG ANSWER ◢

A1Z26 has no key. A is 1, Z is 26, and that's the entire specification, which means it hides nothing from anybody who can count. Calling it a cipher is generous.

What it does is more useful than that. It's the step that turns letters into numbers, and until you've done that you can't do arithmetic on a message at all. Any shift cipher is doing this arithmetic whether or not it writes the numbers down, though most implementations count from zero rather than one.

Key Takeaways

  • A is 1 through Z is 26. No key, so nothing to guess.
  • It's an encoding, not a cipher. It changes representation, not readability.
  • A Caesar shift is A1Z26 plus one sum: add the shift, wrap at 26.
  • Suetonius records Caesar's shift as three, which in these numbers is just "+3".
  • Wrapping at the end of the alphabet is modular arithmetic, which is the notation real cryptography is written in.

What does A1Z26 actually do?

Numbers the alphabet, in order, and stops. Type into the box above and each letter comes back as its position.

CLICK becomes 3 12 9 3 11.

There's no rule to learn beyond the alphabet you already know, and no secret component. That's the whole reason it can't protect anything: the sender knows nothing the reader doesn't.

It does have one real weakness, and you'll hit it the first time you use the box above. 1 12 is A-L. Drop the spaces and 112 could be A-A-B, A-L or K-B, and nothing in the encoding tells you which. The numbers only work with separators, which is a problem the letters never had.

Then why does it matter?

Because a cipher can't do arithmetic on a letter. It has to have a number first.

Watch the Caesar cipher with this in mind and it stops looking like letter-substitution and starts looking like addition. Britannica defines it exactly that way - "each letter of the text to be encrypted is replaced by a letter a fixed number of positions away in the alphabet" - and its own worked example, a right shift of four turning CIPHER into GMTLIV, is arithmetic with the numbers left out. Suetonius records Caesar's key as substituting D for A, which is a shift of three. In A1Z26 terms:

Letter A1Z26 +3 Wraps to Result
F 6 9 9 I
U 21 24 24 X
Z 26 29 3 C
Z 26 29 3 C
Y 25 28 2 B

FUZZY becomes IXCCB. The cipher is one addition per letter, and A1Z26 is the part that makes the addition possible.

That word is chosen deliberately: three of its five letters run off the end of the alphabet, so the wrap column actually does something. Encode CLICK the same way and every value stays under 26, which is why a shift table built on it looks like plain addition and teaches you nothing about the interesting part.

That's the honest description of what this page is for: it's not a code, it's the ruler.

What happens at Z?

You wrap around to A, and that wrap is more interesting than it looks.

Add 3 to Y, which is 25, and you get 28. There's no 28th letter, so you subtract 26 and land on 2, which is B.

One pedantic note, since this page is about the arithmetic being visible. Numbering A as 1 makes the wrap-around slightly awkward: when a shift carries you past Z you cannot simply take the remainder after dividing by 26, because that would send Z to 0 rather than back to A. You have to step down to a zero-based count, wrap, and step back up. Numbering A as 0 removes that off-by-one entirely, which is why the zero-based version is the one usually written down - and why A1Z26, which starts at 1 because people count from 1, is the friendlier of the two to read and the fiddlier to calculate with.

It matters because modulo is the notation real cryptography is written in. The wrap itself is not what makes anything hard: modular addition is undone by subtracting, and a shift cipher falls to 25 guesses.

The difference is the operation, not the wrap. Swap addition for exponentiation, and 26 for a number hundreds of digits long, and undoing it stops being subtraction and becomes the discrete logarithm problem - for which no efficient method is known on the computers we actually use. That last clause matters: Shor's algorithm solves it efficiently on a quantum computer, so the difficulty is a fact about current hardware rather than a law of arithmetic. That is our reading of the family resemblance, not a claim that this page is doing cryptography.

Is A1Z26 ever the right tool?

For hiding a message, no. For three other things, yes.

  • Teaching. It makes the arithmetic under a cipher visible, which in our experience is why it tends to be the first thing anyone is shown.
  • Puzzles. A string of numbers under 27 is a recognisable shape, and we read the appeal as the noticing rather than the cracking.
  • Reading other people's ciphers. Once you see letters as numbers, a shift becomes an interval you can measure rather than a substitution you have to guess.

If you want the version with no key that at least looks scrambled, that's Atbash. If you want the smallest thing that has a key at all, that's Caesar. This page is what both of them are standing on.

Frequently asked questions

What is the A1Z26 cipher?

A letter-to-number encoding: A is 1, B is 2, through to Z is 26. It has no key, so it is not really a cipher. It changes how a message is written down rather than who can read it.

Is A1Z26 secure?

No. There is no key and no secret, so anyone who can count to 26 can read it instantly. Treat it as a puzzle format or a teaching tool.

How is A1Z26 related to the Caesar cipher?

A Caesar shift is A1Z26 plus one sum. Convert each letter to its number, add the shift, wrap at the end of the alphabet, and convert back. Suetonius records Caesar's shift as three, which in these numbers is just "+3" - on the modern 26-letter alphabet, since the Latin one ran to about 23 letters.

What happens when you go past Z?

You wrap to A. Y is 25, so adding 3 gives 28, and subtracting 26 gives 2, which is B. That is arithmetic modulo 26, offset by one because this alphabet starts at 1 rather than 0.

Why does A1Z26 need spaces between the numbers?

Because the numbers are variable length. Without separators 112 could be A-A-B, A-L or K-B, and nothing in the encoding says which. Letters never had that problem, and it is the one thing A1Z26 is worse at than the alphabet it replaces.

Type a word into the box above and read the numbers. Then go and add three to each one by hand, and you'll have done what Caesar did.

Sources