Cipher & code

Letters to Numbers ConverterA=1, B=2 (A1Z26 Cipher)

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.

🔄 7 Styles – click Copy on any result

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.

How to Use This Generator

  1. 1

    Type a word or message to encode, or paste numbers to decode.

  2. 2

    Choose dashes, spaces or two-digit padding depending on how the puzzle expects it.

  3. 3

    Copy the row – the padded 01–26 format is the least ambiguous when numbers run together.

A1Z26 Reference Table

Every letter maps to one number; case does not matter. Spaces stay as separators between words.

  • 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
  • HELLO = 8-5-12-12-15 · SOS = 19-15-19 · LOVE = 12-15-22-5

Decoding Number Messages

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.

Phone Keypad and ASCII Codes

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.

Frequently Asked Questions

What is the A1Z26 cipher?

A substitution where each letter becomes its alphabet position: A=1, B=2 … Z=26.

How do I decode numbers to letters?

Paste the numbers (1–26, separated by dashes, spaces or commas) and read the “Numbers → letters” row.

What is A0Z25?

The same idea starting at zero (A=0 … Z=25), used in programming and in some puzzles.

Does it work with lowercase?

Yes – case is ignored when encoding; decoding produces lowercase letters.

Is the tool free?

Yes.

Create Unicode text in seconds – free, no sign-up.

20 font styles, 5000+ symbols and a full Unicode text editor. Everything runs in your browser and your text never leaves your device.