Converter Tools
A1Z26 Cipher
Encode text to A1Z26 numbers and decode A1Z26 numbers back to text in your browser. A=1, B=2, through Z=26 with configurable separators.
Settings
Pick a direction. Encode turns letters into numbers; decode turns numbers back into letters.
A1Z26 reference table
Each Latin letter maps to a number 1 to 26 based on its position in the English alphabet.
What is the A1Z26 cipher?
A1Z26 is a simple substitution cipher that replaces each letter of the English alphabet with its position number. A is 1, B is 2, and so on through Z = 26. It is sometimes called the letter-to-number cipher or the alphabet-position cipher. Because the mapping is one to one, the cipher is easy to encode and decode by hand, which is why it shows up in puzzle books, escape rooms, beginner cryptography lessons, and capture-the-flag challenges.
Tips for clean ciphertext
- Use a clear separator between letters (dashes or commas work best). Concatenating digits with no separator turns "cab" into "312" which can also read as a single number.
- Pick a different separator between words so the decoder can tell where each word ends. Slashes and new lines are common choices.
- The decoder is forgiving: it splits on any non-digit, so "3 1 2", "3-1-2", "3,1,2", and "03 01 02" all decode to "cab".
- Numbers outside the 1 to 26 range cannot map to a letter and are replaced with a question mark in the output.
How to use
- Pick a direction: Encode turns plain text into A1Z26 numbers; Decode turns A1Z26 numbers back into letters.
- For encoding, choose the separator between letters, the separator between words, and how non-letters should be handled.
- For decoding, choose whether the output should be uppercase, lowercase, or preserve the source case (decoder default is uppercase).
- Type or paste your input. The output updates as you type. Use Copy to copy the result or Use as input to round-trip and verify.
- Click Load plain sample or Load cipher sample to see a worked example, or use the A=1 through Z=26 reference grid below for a quick lookup.
About this tool
A1Z26 Cipher is a free in-browser encoder and decoder for the letter-to-number substitution cipher, also known as the alphabet-position cipher. Each Latin letter is replaced with its position in the English alphabet, so A becomes 1, B becomes 2, and Z becomes 26. The mapping is one to one, so the cipher is fully reversible by hand. The encoder lets you pick the character that separates the numbers inside a single word (dash, space, comma, period, pipe, or none) and a separate character that separates whole words (slash, double space, new line, comma plus space, or single space) so the cipher is unambiguous to read back. You can also choose whether non-letter characters like spaces, punctuation, and digits should be kept verbatim, dropped, or replaced with a single space. The decoder is forgiving: it splits on any non-digit so values like 3-1-2, 3 1 2, 3,1,2, and 03 01 02 all decode to cab, and you can ask for the output in uppercase, lowercase, or preserved case (preserved falls back to uppercase because the cipher does not carry case information). Integers outside the 1 to 26 range are surfaced as warnings and replaced with a question mark in the output so you can see where the bad value sat. A reference grid shows the full A=1 through Z=26 mapping for quick lookup. Useful for escape rooms, puzzle books, capture-the-flag challenges, beginner cryptography lessons, and any time you need to translate between letters and their alphabet positions. Everything runs in your browser; the text you paste is never uploaded.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
Caesar Cipher Encoder / Decoder
Encode, decode, or brute-force Caesar shift ciphers with ROT13 and frequency ranking.
Open tool
ConverterROT13 Encoder Decoder
ROT13, ROT5, ROT18, and ROT47 rotations with a live mapping view.
Open tool
ConverterVigenere Cipher Encoder / Decoder
Encode or decode Vigenere ciphers with standard, Beaufort, and autokey variants.
Open tool
ConverterMorse Code Translator
Bidirectional morse translator with audio playback and a full reference chart.
Open tool
ConverterBinary Translator
Bidirectional text and binary translation with UTF-8 byte breakdown.
Open tool
ConverterNATO Phonetic Alphabet Translator
Bidirectional NATO phonetic translator with digit modes and a reference chart.
Open tool