Skip to content

Letters to Numbers Converter

Turn words into alphabet positions for puzzles and classroom codes, with a choice of A = 1, A = 0 or reversed numbering, word sums, and a mode for spreadsheet column letters.

A1Z26: number = position in the alphabet (A = 1, B = 2 … Z = 26)

Have a number code to read? Use the numbers to letters converter.

Alphabet Position Chart

The same 26 letters under the three numberings the tool offers. A1Z26 is the one puzzle books and worksheets mean by default.

Each letter's number with A = 1, A = 0 and reversed numbering
LetterA = 1A = 0Z = 1
A1026
B2125
C3224
D4323
E5422
F6521
G7620
H8719
I9818
J10917
K111016
L121115
M131214
N141313
O151412
P161511
Q171610
R18179
S19188
T20197
U21206
V22215
W23224
X24233
Y25242
Z26251

Why 1 2 and 12 Decode Differently

Letters J to Z take two digits, so a code written without gaps can be read more than one way. ABC written as 123 could just as well be AW (1, 23) or LC (12, 3). Longer strings get worse quickly, and the solver has no way of knowing which reading you meant.

Pick a separator before you hand the code out. Spaces are easiest to read aloud, dashes survive being copied into a message without collapsing, and commas suit a worksheet. The tool marks word breaks with a slash so 8 9 4 5 / 20 8 5 can't be mistaken for one long word.

A puzzle that deliberately leaves the gaps out is a harder, different puzzle. If you go that way, check that your intended answer is the only real word among the possible readings.

Worked Example: A 4-Digit Padlock Clue

You're setting up a home escape room. The final box has a 4-dial combination lock, and you want the code to come from a word the players find on the last clue card.

Step 1: Each dial shows a single digit, so every letter must be A–I (1–9)

A B C D E F G H I = 1 2 3 4 5 6 7 8 9

Step 2: Choose a 4-letter word built only from those letters

BEAD, HIDE, CAFE, FADE, ACHE, DICE…

Step 3: Convert it

H I D E = 8 9 4 5 → lock code 8945

Set the lock to 8945 and print "A=1" somewhere in the room as the nudge. A word like KEY fails here: K is 11 and Y is 25, which won't fit on single-digit dials. If you want to use any word, give the lock the word's letter sum instead: KEY = 11 + 5 + 25 = 41, which works on a 2- or 3-digit lock (041).

Adding Up a Word's Letter Values

The table under the result adds each word's numbers together. Word sums come up in maths puzzles ("which animal is worth exactly 50?"), in classroom number practice, and in "what is my name worth" games. Some numerology systems use the same A1Z26 sums under the name simple English gematria, but there is no evidence those totals mean anything beyond arithmetic.

Letter sums of sample words using A = 1
WordLetter valuesSum
CAT3 + 1 + 2024
HELLO8 + 5 + 12 + 12 + 1552
OWL15 + 23 + 1250
PUZZLE16 + 21 + 26 + 26 + 12 + 5106
ALPHABET1 + 12 + 16 + 8 + 1 + 2 + 5 + 2065

Switching the numbering changes every sum. With A = 0 each word loses one point per letter (CAT becomes 21), and with Z = 1 each letter is worth 27 minus its usual value.

Starting at Zero for Shifts and Code

Programmers and cipher textbooks usually number from A = 0. In code the position is simply the character code minus 65 ('H'.charCodeAt(0) - 65 is 7), and a Caesar shift becomes clean modular arithmetic:

Shift each letter by k (A = 0 numbering)

encrypted = (position + k) mod 26

H shifted by 3

(7 + 3) mod 26 = 10 → K

X shifted by 3 wraps round

(23 + 3) mod 26 = 0 → A

With A = 1 the same wrap gives 26 mod 26 = 0, a number no letter has, so you'd need an extra "0 means Z" rule. ROT13 is the k = 13 case; try it on the ROT13 tool. The reversed Z = 1 numbering is the number form of the Atbash cipher, which swaps A with Z, B with Y and so on.

Spreadsheet Column Letters to Numbers

Excel and Google Sheets name columns A to Z, then AA, AB and on. That's a counting system with 26 digits and no zero, so a column's number isn't its letters run through A1Z26 one by one. Work through the letters left to right, multiplying by 26 each time:

XFD, Excel's last column

X = 24, F = 6, D = 4
(24 × 26 + 6) × 26 + 4 = 16,384
Spreadsheet column letters and their column numbers
ColumnNumberWhy it matters
Z26Last single-letter column
AA27First two-letter column
AZ5226 + 26
ZZ702Last two-letter column
AAA703First three-letter column
XFD16,384Excel 2007 and later: last column
ZZZ18,278Google Sheets column limit

In the sheet itself, =COLUMN(INDIRECT("XFD1")) returns 16384, and =SUBSTITUTE(ADDRESS(1,28,4),"1","") turns 28 back into AB. The column mode above accepts cell references like $C$7 too and ignores the row.

Accents, ß and Letters Outside A–Z

A1Z26 only covers the 26 basic Latin letters. With the accent option on, the tool strips accents before converting, so Café becomes 3 1 6 5 and über becomes 21 2 5 18. German ß becomes SS (19 19), the same as when it's written in capitals.

That suits English-style puzzles but not every language. Spanish counts Ñ as its own letter after N, so a Spanish puzzle setter numbering their own alphabet would give Ñ 15 and push O to Z up by one. Untick the option to keep ñ, é and the rest out of the conversion. Letters with no A–Z base, such as Ø, Æ, Greek or Cyrillic, are always left as typed and listed under the result so you can decide how to handle them.

Digits and punctuation in your text are dropped from the code so that a 3 in the original can't be confused with C.

Frequently asked questions

What number is the letter M?

M is 13 with A = 1, the midpoint of the alphabet. A to M are 1–13 and N to Z are 14–26.

Does uppercase or lowercase change the numbers?

No. A1Z26 has one number per letter, so Moon, MOON and moon all give 13 15 15 14.

What is AA as a number?

In a spreadsheet, column AA is 27. As A1Z26 letters it is simply 1 1. Use the Spreadsheet columns mode for the first meaning.

Is A1Z26 safe for hiding a password?

No. Anyone who sees the numbers can decode them in seconds. Use it for games and teaching only.

Sources