SimplyCalculated.org

A1Z26 Cipher Translator

Convert each letter of your message into its alphabet position — A becomes 1, B becomes 2, Z becomes 26 — and back again. The simplest letter-number code there is, and a staple of puzzles and treasure hunts everywhere. Type on either side to transform instantly. Everything runs locally in your browser.

100% private: everything is processed in your browser's memory — nothing you enter is uploaded to a server, logged, or stored.

A1Z26 Cipher

Each letter becomes its alphabet position (A = 1 … Z = 26), numbers within a word separated by spaces and words by /. Decoding accepts spaces, dashes, or commas between numbers. Non-letters are skipped when encoding; each number must be a whole value from 1 to 26.

What Is the A1Z26 Code?

A1Z26 is the simplest letter-to-number code in existence: each letter of the alphabet is replaced by its position in the alphabet, with A = 1, B = 2, and so on up to Z = 26. The name spells out the rule — "A to Z, 1 to 26." It is not a cipher in the modern sense of the word; it has no key and no secrecy, because the mapping is completely public and every letter keeps its identity. What it is, instead, is a compact and durable notation that has been used to hide messages in plain sight for centuries.

Its strength is versatility. Numbers are easier to write in some contexts than letters — chiseled into stone, tapped out on a surface, typed on a numeric keypad — and they can be disguised as dates, coordinates, or other innocuous values. That is why A1Z26 (and its close relative, the Polybius square) shows up so often in puzzles, escape rooms, geocaching clues, and children's secret-code books: it is easy to explain, easy to apply by hand, and easy to recognize once you know the trick.

How A1Z26 Works

Encoding is a simple lookup: A = 1, B = 2, C = 3, and so on through Z = 26. Decoding reverses the lookup: 1 = A, 2 = B, and so on. This tool follows a formatting convention shared with the Morse translator: numbers within a word are separated by single spaces, and words are separated by a slash with spaces (/):

Direction Rule Example
Encode Each letter → its alphabet position HELLO → 8 5 12 12 15
Decode Each number 1–26 → its letter 8 5 12 12 15 → HELLO

Because there is only one code per letter and one letter per code, A1Z26 is unambiguous in both directions — a rare convenience among simple codes. The decoder is also forgiving about formatting: it accepts spaces, dashes, or commas between numbers, and treats / (with or without surrounding spaces) as a word boundary.

Step-by-Step Example

Encode "HELLO WORLD". Count each letter's position in the alphabet:

Plain H E L L O W O R L D
Number 8 5 12 12 15 23 15 18 12 4

H is the 8th letter of the alphabet, E the 5th, L the 12th, O the 15th, and so on. Joining the two words with the slash separator gives 8 5 12 12 15 / 23 15 18 12 4 — exactly what the tool produces. Paste those numbers into the Numbers box and the phrase HELLO WORLD reappears on the left.

The A1Z26 Alphabet Table

Letter # Letter # Letter #
A1 J10 S19
B2 K11 T20
C3 L12 U21
D4 M13 V22
E5 N14 W23
F6 O15 X24
G7 P16 Y25
H8 Q17 Z26
I9 R18

The pattern is easy to internalize: A–I are 1–9, J–R are 10–18, and S–Z are 19–26. Once you know those three bands, you can encode and decode A1Z26 entirely in your head.

Where You'll Meet A1Z26

A1Z26 is everywhere in the puzzling world. Geocaching coordinates and hint pages frequently hide text as A1Z26 numbers. Escape rooms use it in everything from chalkboard messages to the clues on a combination lock. Children's code books have taught it for generations, and it is the first code many people ever learn — before they even hear the word "cipher." It also sits at the foundation of historical book ciphers: the Beale cipher, one of the most famous unsolved codes in American history, encodes words by the number of their position in a book, and A1Z26 is the same idea applied to the alphabet. Understanding A1Z26 makes all of those systems click.

Related Codes

Two relatives are worth knowing so you can tell them apart. The Polybius square arranges the alphabet in a 5×5 grid and encodes each letter as its row-and-column pair (two digits), which was designed for signaling over noisy channels. Bacon's cipher encodes each letter as a five-bit pattern of two symbols (historically A and B), trading compactness for steganography — the ability to hide a message inside innocuous text. A1Z26 is the simplest of the three, and the one most people meet first.

Troubleshooting & Common Mistakes

My numbers fail to decode

Every value must be a whole number from 1 to 26. A 0, a 27, a decimal like 5.5, or stray text will produce an explicit error naming the offending token. The decoder does accept spaces, dashes, and commas as separators, so check that your values themselves are in range.

My decoded text is missing characters

Encoding skips anything that is not a Latin letter — digits, punctuation, emoji, accented letters. Word boundaries survive via the slash separator, but within a word, only letters become numbers. If you encoded "Hello, World!" the comma simply vanishes.

Do I need to type leading zeros?

No. "08" and "8" both decode to H, and the encoder always writes the plain number without padding. Zero-padded input is accepted so that codes pasted from other tools work without cleanup.

How This Cipher Compares to Other Classical Ciphers

A1Z26 is one of several classical ciphers covered on this site, though technically it is an encoding rather than a cipher — it has no key and offers no real secrecy. The table below shows how it differs from every genuine cipher here.

Cipher Mechanism What Makes It Different
Caesar Cipher Substitution Shifts every letter by one fixed number (the key) through the alphabet — the simplest classical substitution cipher.
Atbash Cipher Substitution (fixed) A special case of substitution with no key at all — it always mirrors the alphabet (A↔Z, B↔Y, ...).
Vigenère Cipher Polyalphabetic substitution Repeats a keyword to shift each letter by a different amount, defeating simple frequency analysis that breaks Caesar.
Beaufort Cipher Polyalphabetic substitution (reciprocal) A variant of Vigenère's idea that is self-reciprocal — the same operation both encrypts and decrypts.
Playfair Cipher Digraph substitution Encrypts letters two at a time using their positions in a 5×5 key square — the first practical digraph cipher (1854).
Affine Cipher Mathematical substitution Encrypts using a linear function (ax + b mod 26) with two keys instead of one shift value.
ROT47 Substitution (extended range) Applies a Caesar-style shift across the full printable ASCII range, not just letters — used to obfuscate text online (e.g. spoilers), not for security.
Rail Fence Cipher Transposition Rearranges letter order in a zigzag pattern instead of substituting letters — a fundamentally different technique from every cipher above.
A1Z26 (this page) Encoding (not a cipher) Simply maps each letter to its position number (A=1...Z=26) — a puzzle/encoding convention, not intended for real secrecy.
NATO Phonetic Alphabet Encoding (not a cipher) Replaces each letter with a spoken code word (Alfa, Bravo, Charlie…) for reliable voice transmission on noisy radios — built for clarity, not secrecy.

Frequently Asked Questions

Is A1Z26 a secure cipher?
No — it is a simple letter-to-number code, not a cipher with any security. The mapping is completely public (A = 1 … Z = 26), has no key, and preserves the exact structure of your message, so anyone can decode it instantly. Its value is as a compact, human-friendly notation: easy to write by hand, easy to communicate verbally, and a standard building block in puzzles, escape rooms, and children's codes.
What is the difference between A1Z26 and the Polybius square?
A1Z26 maps each letter to a single number from 1 to 26 — one symbol per letter. The Polybius square arranges the alphabet in a 5×5 grid (usually merging I and J) and encodes each letter as a pair of digits — its row and column. So H is "8" in A1Z26 but "23" in a standard Polybius square. Polybius was designed to be transmitted over noisy channels using just five distinct signals; A1Z26 is a direct counting code.
Why do some letters disappear when I encode text?
A1Z26 only has codes for the 26 Latin letters, so anything that is not a letter — digits, punctuation, spaces between words, emoji — is skipped when encoding. For example, "Hi! 5+3" encodes to "8 9": the digits and symbols have no letter equivalent. Word boundaries are kept with a "/" separator, so "HELLO WORLD" becomes "8 5 12 12 15 / 23 15 18 12 4". If you need digits in the output, use a code like Polybius or a custom scheme instead.
Can I decode numbers that use dashes or commas?
Yes. The decoder accepts spaces, dashes, or commas between numbers, so "8-5-12-12-15", "8, 5, 12, 12, 15", and "8 5 12 12 15" all decode to HELLO. Zero-padded values like "08" also work. The only requirement is that each value is a whole number from 1 to 26 — anything else produces a clear error rather than a silent wrong answer.
Where is A1Z26 actually used?
It is one of the most common codes in recreational puzzling. Geocaching clues, escape-room puzzles, treasure hunts, and children's secret-code books all use it, and it appears in novels, movies, and games whenever a simple letter-number code is called for. It also underpins more advanced systems: the famous Beale cipher, for instance, works by numbering the words of a book, and A1Z26 is the plainest example of that "counting positions" idea.
Does this tool handle non-English text?
Only the 26 basic Latin letters have A1Z26 codes, so accented letters (é, ñ), umlauts, and non-Latin scripts are skipped during encoding. Decoding always produces plain uppercase English letters. If your source text contains accents, normalize them (é → e) before encoding if you want them represented.

Formula last verified August 22, 2026 against our published methodology .