Hello world!
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!
Turn letters into numbers, or numbers back into letters, as you type. A = 1 to Z = 26 by default, plus A = 0, reverse, numerology, phone keypad and ASCII.
02Reference chart
Every letter with its number. Tap a letter to add it to the converter, or download a printable copy.
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
| 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 |
| 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 25 | 24 | 23 | 22 | 21 | 20 | 19 | 18 |
| 17 | 16 | 15 | 14 | 13 | 12 | 11 | 10 | 9 |
| 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 |
| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 |
|---|---|---|---|---|---|---|---|---|
1 | 2 | 3 |
4 | 5 | 6 |
7 | 8 | 9 |
* | 0space | # |
03Guide
Each system gives every letter a number by one fixed rule. Use the one your puzzle, code or worksheet uses.
The standard alphabet to numbers code. Each letter becomes its position in the alphabet, so A is 1, M is 13 and Z is 26. Case doesn’t matter, and words are usually split with a slash or a wider gap.
HELLO WORLD = 8 5 12 12 15 / 23 15 18 12 4
To decode, reverse the lookup: 1 is A, 2 is B, up to 26 for Z. Keep a separator between numbers, because “1 2” (AB) and “12” (L) are different. Any number above 26 can’t be a letter in A1Z26.
20 8 1 14 11 19 = THANKS
Common in programming and modular-arithmetic ciphers such as Caesar and Vigenère, where letters are counted from 0. Every value is one less than in A1Z26.
HELLO = 7 4 11 11 14
The alphabet numbered backwards. A letter’s reverse value is 27 minus its A1Z26 value.
HELLO = 19 22 15 15 12
Numbers 1 to 9 repeat across the alphabet: A, J and S are 1, and I and R are 9. Add the values of a name, then add the digits of the total until a single digit remains. 11, 22 and 33 are traditionally kept as master numbers.
JOHN = 1 + 6 + 8 + 5 = 20, 2 + 0 = 2
Letters take the digit of the key they are printed on: ABC is 2, DEF is 3, through WXYZ on 9. To decode multi-tap text, count presses: 2 is A, 22 is B, 222 is C.
1-800-FLOWERS = 1-800-356-9377
Computers store each character as a code. Uppercase A is 65 and lowercase a is 97 in ASCII, the same values in binary (01000001) or hexadecimal (41). Spaces and punctuation have codes too.
Hi = 72 105 = 01001000 01101001 = 48 69
04Code
Copy-ready formulas and functions for spreadsheets and scripts.
=CODE(UPPER(A1))-64
=CHAR(A1+64)
=LET(c,CODE(MID(UPPER(A1),SEQUENCE(LEN(A1)),1))-64,TEXTJOIN(" ",TRUE,FILTER(c,(c>=1)*(c<=26))))
=CONCAT(CHAR(TEXTSPLIT(A1," ")+64))
=COLUMN(INDIRECT(A1&"1"))
import string
def letters_to_numbers(text: str, start: int = 1) -> list[int]:
"""'Hello' -> [8, 5, 12, 12, 15]. Non-letters are skipped."""
return [ord(c) - ord("A") + start for c in text.upper() if c in string.ascii_uppercase]
def numbers_to_letters(numbers: str, start: int = 1) -> str:
"""'8 5 12 12 15' -> 'HELLO'. Accepts spaces, commas or hyphens."""
tokens = numbers.replace(",", " ").replace("-", " ").split()
return "".join(
chr(int(t) - start + ord("A")) if start <= int(t) < start + 26 else "?"
for t in tokens
)
print(letters_to_numbers("Hello")) # [8, 5, 12, 12, 15]
print(numbers_to_letters("8 5 12 12 15")) # HELLO
import string
ALPHABET_TO_NUMBER = {c: i for i, c in enumerate(string.ascii_uppercase, start=1)}
print(ALPHABET_TO_NUMBER["Z"]) # 26
const lettersToNumbers = (text, start = 1) =>
[...text.toUpperCase()]
.filter((c) => c >= 'A' && c <= 'Z')
.map((c) => c.charCodeAt(0) - 65 + start);
const numbersToLetters = (input, start = 1) =>
input
.split(/[\s,-]+/)
.filter(Boolean)
.map(Number)
.map((n) => (n >= start && n < start + 26 ? String.fromCharCode(65 + n - start) : '?'))
.join('');
console.log(lettersToNumbers('Hello')); // [8, 5, 12, 12, 15]
console.log(numbersToLetters('8 5 12 12 15')); // "HELLO"
05FAQ
In the standard A1Z26 cipher A = 1 and Z = 26, which is what most puzzles, escape rooms and printable charts use. Programmers often count from zero (A = 0, Z = 25) because array indexes start at 0. Choose A0Z25 in the converter if your code uses 0.
Switch the converter to Numbers to letters and paste numbers separated by spaces, hyphens or commas: 8 5 12 12 15 becomes HELLO. Use a slash or a double space between words. Numbers written without separators, such as 8512, are ambiguous, so add a separator between each number.
Pythagorean numerology repeats 1 to 9 across the alphabet: A, J, S = 1; B, K, T = 2; C, L, U = 3; D, M, V = 4; E, N, W = 5; F, O, X = 6; G, P, Y = 7; H, Q, Z = 8; I, R = 9. Add the numbers of a name, then add the digits of the total until one digit is left.
Replace each letter with the key it is printed on: ABC = 2, DEF = 3, GHI = 4, JKL = 5, MNO = 6, PQRS = 7, TUV = 8 and WXYZ = 9. For example, 1-800-FLOWERS dials as 1-800-356-9377. Choose Phone keypad (T9) in the converter to do it automatically.
Yes. Pick a chart (A1Z26, A0Z25, reverse, numerology or phone keypad) and choose Download Printable PDF for a one-page US Letter sheet, or Download Chart (PNG) for slides and worksheets. Both are free for personal and classroom use.
06Blog
Welcome to WordPress. This is your first post. Edit or delete it, then start writing!