Convert letters to numbers with the A1Z26 cipher (A=1 … Z=26) and back again, plus phone-keypad codes and ASCII values – the classic first cipher in puzzles, escape rooms and geocaching.
A1Z26 (dashes)
A1Z26 (dashes): Hello
A1Z26 (spaces)
A1Z26 (spaces): Hello
A1Z26 padded (01–26)
A1Z26 padded (01–26): Hello
A0Z25
A0Z25: Hello
Numbers → letters
Numbers → letters: Hello
Phone keypad (T9)
Phone keypad (T9): Hello
ASCII codes
ASCII codes: Hello
Styled letters are Unicode characters, not fonts – screen readers may read them letter by letter and search engines don't match them to plain words, so keep essential details in plain text. Learn more
The letter-to-number cipher, usually called A1Z26, replaces each letter with its position in the alphabet: A=1, B=2 … Z=26. It is the first “code” most people learn, the standard substitution in puzzle hunts, escape rooms, geocache clues and treasure-hunt birthday cards, and the basis of numerology-style name calculations.
Type text and every letter becomes its number, separated by dashes (8-5-12-12-15) or spaces. Paste a row of numbers between 1 and 26 and the “Numbers → letters” row decodes it. Two related codes are included: the phone keypad code, where letters become the digit you press (and how many times), and ASCII, the computer character code where A is 65 and a is 97.
Type a word or message to encode, or paste numbers to decode.
Choose dashes, spaces or two-digit padding depending on how the puzzle expects it.
Copy the row – the padded 01–26 format is the least ambiguous when numbers run together.
Every letter maps to one number; case does not matter. Spaces stay as separators between words.
If the numbers are separated by dashes, spaces, commas or dots, paste them as they are and read the decode row. If they are run together (85121215) the message is ambiguous – 8-5 or 85? – so try inserting separators by hand; puzzle setters usually pad with zeros (08 05 12 12 15) to avoid this, which is what the padded row produces. Numbers above 26 are left unchanged, which is a hint that a different cipher (perhaps ASCII, or a Caesar shift) is in play.
The T9 keypad row writes each letter as the digit on an old phone keypad, repeated for its position on the key: “hi” is 44 444. ASCII gives the code a computer stores for each character (A=65, a=97, space=32) and is the bridge to the binary and hex converters. All three codes appear regularly in ARGs and CTF puzzles.
A substitution where each letter becomes its alphabet position: A=1, B=2 … Z=26.
Paste the numbers (1–26, separated by dashes, spaces or commas) and read the “Numbers → letters” row.
The same idea starting at zero (A=0 … Z=25), used in programming and in some puzzles.
Yes – case is ignored when encoding; decoding produces lowercase letters.
Yes.
20 font styles, 5000+ symbols and a full Unicode text editor. Everything runs in your browser and your text never leaves your device.