Letter to Number Converter (A1Z26)
Convert letters to numbers (A = 1 to Z = 26) and numbers back to letters. Decode the A1Z26 cipher with dashes, spaces or commas. Free, runs in your browser.
How it works
The A1Z26 cipher replaces each letter with its position in the alphabet: A is 1, B is 2 and so on up to Z, which is 26. Upper and lower case give the same number. When converting letters to numbers, the numbers of one word are joined with the separator you choose, and words are separated by a space, or by a slash when the separator is a space. Digits and punctuation in your text are kept as they are. When converting numbers to letters, the numbers 1 to 26 become A to Z; a number outside that range becomes a question mark. Words can be separated by a slash, two spaces or a new line, and with dashes inside words, a single space also starts a new word. Some puzzles count from zero, A = 0 to Z = 25: switch the numbering option for those.
Example: HELLO WORLD becomes 8-5-12-12-15 23-15-18-12-4, and 3-1-20 becomes CAT.
Letter to number chart
| Letter | A = 1 | A = 0 |
|---|---|---|
| A | 1 | 0 |
| B | 2 | 1 |
| C | 3 | 2 |
| D | 4 | 3 |
| E | 5 | 4 |
| F | 6 | 5 |
| G | 7 | 6 |
| H | 8 | 7 |
| I | 9 | 8 |
| J | 10 | 9 |
| K | 11 | 10 |
| L | 12 | 11 |
| M | 13 | 12 |
| N | 14 | 13 |
| O | 15 | 14 |
| P | 16 | 15 |
| Q | 17 | 16 |
| R | 18 | 17 |
| S | 19 | 18 |
| T | 20 | 19 |
| U | 21 | 20 |
| V | 22 | 21 |
| W | 23 | 22 |
| X | 24 | 23 |
| Y | 25 | 24 |
| Z | 26 | 25 |
Words in numbers
| Word | A1Z26 |
|---|---|
| HELLO | 8-5-12-12-15 |
| LOVE | 12-15-22-5 |
| CAT | 3-1-20 |
| SECRET | 19-5-3-18-5-20 |
| GRAVITY FALLS | 7-18-1-22-9-20-25 6-1-12-12-19 |
Frequently asked questions
What number is each letter?
A 1, B 2, C 3, D 4, E 5, F 6, G 7, H 8, I 9, J 10, K 11, L 12, M 13, N 14, O 15, P 16, Q 17, R 18, S 19, T 20, U 21, V 22, W 23, X 24, Y 25, Z 26.
How do I decode numbers to letters?
Choose Numbers to letters and paste the numbers. Dashes, spaces and commas between numbers all work. Each number from 1 to 26 becomes its letter.
What is the A1Z26 cipher?
It is the name puzzle fans use for writing letters as their alphabet positions. It appears in escape rooms, geocaches and TV show puzzles. It has no key.
Why do some puzzles start from 0?
Programmers often count from zero, so A = 0 and Z = 25. The same numbering is used inside the Caesar and Vigenère ciphers. Choose A = 0 in the options for these puzzles.
What happens to spaces and punctuation?
When converting letters to numbers, punctuation stays next to the number of the last letter, for example Hi! becomes 8-9!. Spaces separate words.
Is my text sent to a server?
No. Everything runs in your browser and the text you type is not sent anywhere.
More text tools
Cipher Decoder and Identifier
Morse Code Translator
Binary Translator
ASCII Converter
Hex to Text Converter
Leet Speak Translator
Caesar Cipher Encoder and Decoder
Vigenere Cipher Encoder and Decoder
Atbash Cipher Encoder and Decoder
Word Counter and Character Counter
ROT13 Decoder and Encoder
Playfair Cipher Encoder and Decoder
Rail Fence Cipher Encoder and Decoder
Braille Translator
Pigpen Cipher Translator
Bacon Cipher Encoder and Decoder
Tap Code Translator
Polybius Square Cipher
The English alphabet of 26 letters is used.