StringMash.com

A1Z26 cipher

A is 1, Z is 26. The simplest number cipher there is.

Conversion
13 characters
Updates as you type
Hyphens between letters

Show the steps
  1. Swap each letter for its position in the alphabet: A is 1, Z is 26.
  2. G is the 7th letter: 7
  3. R is the 18th letter: 18
  4. A is the 1st letter: 1
  5. V is the 22nd letter: 22
  6. I is the 9th letter: 9
  7. T is the 20th letter: 20
  8. Y is the 25th letter: 25
  9. F is the 6th letter: 6
  10. The other 4 letters follow the same rule.

Put this converter on your site

Paste this into your page's HTML. The converter keeps the pair and settings it has now, and it runs in your reader's browser like it does here.

The credit line under the frame is optional. We'd be grateful if you kept it. How embedding works

Printable chart

Using the A1Z26 tool

Each letter becomes its number, with spaces left between words. Between letters switches the separator from hyphens to spaces or full stops. With spaces, a slash marks each word break instead.

Decoding is forgiving. Hyphens, spaces and full stops all work, so a string copied out of a puzzle decodes whichever way it was written. If only spaces sit between the numbers, a slash, a double space or a new line starts a new word. Numbers outside 1 to 26 are listed under the output rather than guessed at.

What it does and doesn't hide

Each letter is replaced by its position in the alphabet. There's no key, so anyone who recognises the scheme can read it immediately. Calling it a cipher is generous.

It survives because it composes. Numbers can be added to, shifted or fed into another cipher, and a message in digits looks unlike text, which is enough to make a puzzle feel like a puzzle. Word boundaries stay visible, so letter counts leak: a run of three numbers at the start of a sentence is often "the".

A-Z

Letters and their numbers

A1
B2
C3
D4
E5
F6
G7
H8
I9
J10
K11
L12
M13
N14
O15
P16
Q17
R18
S19
T20
U21
V22
W23
X24
Y25
Z26

The Gravity Falls cryptograms

The cipher is a fixture of puzzle hunts and alternate reality games, and the clearest recent example is Gravity Falls, which ran on Disney Channel and then Disney XD from 2012 to 2016. Every episode ended with a cryptogram over the credits.

The show rotated its ciphers on a schedule. The first season ran six episodes of Caesar shifts, seven of Atbash and then A1Z26, and the season finale stacked all three.

In a hunt, A1Z26 is the first thing to try when a page of numbers appears and none of them go past 26.

Related conversions

The Polybius square also turns letters into digits, but as grid coordinates, so nothing goes above 5. Tap code does the same over sound.

For the numbering computers actually use, where A is 65 and a is 97, see ASCII.

In the classroom

Ages 6 and up, about 15 minutes. Students write their name as numbers, add the numbers up, and compare totals: whose name scores highest? It mixes spelling with addition, and the word value calculator checks the sums.

Take it further: set a challenge to find a word worth exactly 50, or the highest-scoring word in a spelling list. Older students can try messages where the numbers are hidden in sums, such as 3 × 4 for L.

Questions

What is the A1Z26 cipher?

A substitution that replaces each letter with its position in the alphabet, so A is 1 and Z is 26. It has no key.

How do you decode A1Z26?

Split the numbers on whatever separates them and count that far into the alphabet. Paste them above and swap the boxes to do it here.

How do you tell A1Z26 from other number ciphers?

Nothing goes above 26. If you see 65 or 97, it's probably ASCII. If nothing goes above 5, it's probably a Polybius square.

Is A1Z26 secure?

Not at all. There's no key to guess, so recognising the scheme is the same as breaking it.

Sources

Added . Last updated and reviewed . What's new