A1Z26 Cipher Encoder
Encode text with the A1Z26 cipher right in your browser, or switch to any other classical cipher.
Input
Output
Guide
What is the A1Z26 cipher?
The A1Z26 cipher turns each letter into its place in the alphabet. Its name sums up the whole rule: A is 1, B is 2, C is 3, and the count goes on to Z, which is 26. With no key and nothing to work out, it only fools someone who hasn't met it before. Puzzle makers use it in escape rooms, treasure hunts, geocaches and classroom games, often as one step of a longer puzzle.
Letters and their numbers
A B C D E F G H I J K L M
1 2 3 4 5 6 7 8 9 10 11 12 13
N O P Q R S T U V W X Y Z
14 15 16 17 18 19 20 21 22 23 24 25 26Each letter becomes its number. Hyphens join the numbers of one word, and the space between words stays a space. So Ice cream becomes 9-3-5 3-18-5-1-13: I is 9, C is 3 and E is 5.
Tool description
Enter a message in the Plain text box to see it as numbers in the Cipher text box, which updates with every key you press. Punctuation and line breaks stay where they were. There's nothing to set: the Key field says Not needed, since the numbers always follow the alphabet. Use Insert sample to try See you at the park at noon: it becomes 19-5-5 25-15-21 1-20 20-8-5 16-1-18-11 1-20 14-15-15-14. To turn numbers back into letters, use the A1Z26 Cipher Decoder, or press the swap button between the boxes, which moves the numbers into the input. The Cipher menu holds the other classical ciphers, among them the Polybius square, which writes letters as numbers too.
Examples
| Plain text | Cipher text |
|---|---|
Lemonade stand |
12-5-13-15-14-1-4-5 19-20-1-14-4 |
Meet me at the zoo |
13-5-5-20 13-5 1-20 20-8-5 26-15-15 |
Wow, what a goal! |
23-15-23, 23-8-1-20 1 7-15-1-12! |
Pizza night |
16-9-26-26-1 14-9-7-8-20 |
Crêpe |
3-18-5-16-5 |
Digits, accents and other characters
- Digits stay as they are, and nothing tells them apart from letter numbers.
Bake 12 piesbecomes2-1-11-5 12 16-9-5-19, which decodes asBAKE L PIES. Spell numbers out instead:Bake twelve piesgives2-1-11-5 20-23-5-12-22-5 16-9-5-19. - A digit right next to a letter runs into its number, so
2pmbecomes216-13, which can't be read back. - Accented letters count as their plain letters, so
êis 5, likee. Letters such asßand other alphabets stay as they are. - Case is lost, since
Aandaare both 1, and decoded text comes back in capitals.
Variants and tips
- Some puzzles put spaces or commas between the numbers and a slash between words. The A1Z26 Cipher Decoder reads those styles too.
- Some puzzles count backward, from Z = 1 to A = 26. That's Atbash and A1Z26 in one: run the message through the Atbash Cipher Encoder first, then paste the result here.
Picniccomes out as11-18-24-13-18-24that way. - The numbers are worked out right in your browser, and your message stays on your device.