What is the A1Z26 Cipher?
The A1Z26 cipher, also known as the letter-number cipher or alphabetical number code, is one of the simplest substitution ciphers in existence. It converts each letter of the alphabet to its numerical position: A=1, B=2, C=3, and so on through Z=26. The name "A1Z26" is itself a description of the mapping -- A maps to 1, and Z maps to 26.
Despite its simplicity, the A1Z26 cipher has a rich history of use in puzzles, games, education, and even popular culture. It appeared prominently in the animated television series Gravity Falls, where it was used as one of the show's hidden codes. The cipher is a staple in geocaching puzzle caches, escape rooms, CTF (Capture the Flag) cybersecurity competitions, and classroom cryptography exercises.
The A1Z26 cipher is not designed for security -- its fixed, publicly known mapping makes it trivial to decode. Instead, its value lies in its simplicity and versatility as a puzzle element and teaching tool for introducing basic cryptographic concepts.
How to Use This A1Z26 Cipher Encoder Tool
Step 1: Enter Your Message
Type the text you want to convert into the input field. The tool accepts any text -- letters A-Z will be converted to numbers while other characters (spaces, punctuation, digits) are preserved as-is. The conversion happens in real time as you type.
Step 2: Choose a Separator
Select how you want the numbers separated in the output. Four options are available:
- Hyphen (-): The most common format, e.g.,
8-5-12-12-15for HELLO - Space: Numbers separated by spaces, e.g.,
8 5 12 12 15 - Comma (,): Comma-separated values, e.g.,
8,5,12,12,15 - Slash (/): Slash-separated, e.g.,
8/5/12/12/15
The separator prevents ambiguity. Without one, "812" could mean H-L (8, 12), H-A-B (8, 1, 2), or something else entirely.
Step 3: Copy the Result
The encoded output appears instantly in the right panel. Click the copy button to copy the result to your clipboard for pasting elsewhere.
How to Decode A1Z26 Cipher
To decode an A1Z26 message, use our A1Z26 Decoder. The decoder automatically detects which separator is used and converts each number back to its corresponding letter. Numbers outside the 1-26 range are flagged and preserved as-is.
A1Z26 Cipher in Puzzles and Pop Culture
The A1Z26 cipher is one of the most frequently encountered codes in puzzle-solving communities:
- Gravity Falls: The show used A1Z26 as one of its three cipher systems (alongside Caesar and Atbash) to hide messages in the end credits
- Geocaching: Many puzzle caches use letter-number substitution as one layer of a multi-step puzzle
- Escape Rooms: A1Z26 is popular because it can be solved without specialized tools -- just counting on your fingers
- CTF Challenges: Often appears as an introductory-level challenge or as one step in a more complex encoding chain
- Science Olympiad: Used in Codebusters events for competitive decoding practice
Mathematical Properties
The A1Z26 cipher has interesting mathematical properties:
- Complementary pairs: Each letter and its Atbash counterpart sum to 27 (A+Z=1+26=27, B+Y=2+25=27, etc.)
- Word values: The sum of a word's A1Z26 values (called its "word value" or "gematria") is used in numerology and word puzzles
- Modular arithmetic: A1Z26 values work naturally with mod 26 operations, connecting to Caesar cipher shifts
For interactive examples and practice exercises, visit our Examples page.