Letters to Numbers Converter
In the A1Z26 cipher, CAB becomes 3 1 2, because C is the 3rd letter, A the 1st, and B the 2nd. This letters to numbers converter translates text into alphabet positions and back again. It keeps word boundaries with a / separator, ignores case and punctuation, and decodes number lists separated by spaces, commas, or dashes.
Quick answer
Each letter maps to its position in the alphabet: A=1, B=2, through Z=26.
Output
8 5 12 12 15 / 23 15 18 12 4
Letters
10
What this tells you
- •Each letter maps to its position in the alphabet: A=1, B=2, through Z=26.
- •The scheme is called A1Z26, one of the simplest substitution ciphers.
- •Decoding reverses the map, so 8 9 becomes HI.
- •Case does not matter, and anything that is not a letter or number is skipped.
How to Use
- 1Pick the direction, letters to numbers or numbers to letters.
- 2Type or paste your text or number list.
- 3Numbers can be separated by spaces, commas, or dashes. Use / to mark word breaks.
- 4Read the converted output and the letter count.
How It Works
Formula
number = alphabet position (A=1 ... Z=26)The alphabet has 26 letters, and A1Z26 numbers them in order. Encoding looks up each letter's position, so HELLO becomes 8 5 12 12 15. Decoding turns each number from 1 to 26 back into its letter. Numbers outside that range have no letter and are rejected rather than guessed.
Calculation note: values are processed in the order shown above, using the current input units.
Worked Examples
Encode a word
C is the 3rd letter, A the 1st, B the 2nd.
Decode a message
8 is H and 9 is I.
Encode a phrase
The / keeps the word boundary visible in the number stream.
A1Z26 Alphabet Table
Every letter and its number in the cipher.
| Letters | Numbers |
|---|---|
| A B C D E F | 1 2 3 4 5 6 |
| G H I J K L | 7 8 9 10 11 12 |
| M N O P Q R | 13 14 15 16 17 18 |
| S T U V W X | 19 20 21 22 23 24 |
| Y Z | 25 26 |
Common mistakes
- Reading multi-digit numbers as digit pairs. In A1Z26, 12 is L, not AB. Separators between numbers remove the ambiguity.
- Starting the count at 0. A is 1 in this cipher. Zero-based variants exist but are rare in puzzles.
- Expecting numbers above 26 to decode. The alphabet stops at Z=26, so 27 and up are rejected.