Letters to Numbers Converter (A1Z26)
The A1Z26 cipher is the first code most of us ever cracked as children: A is 1, B is 2, and so on all the way to Z at 26. This converter runs it in both directions, quickly and without fuss — type a word or phrase and get its numbers, or paste a string of numbers and watch the letters come back — for puzzles, classroom codes, geocaching clues, escape-room props and every secret note or treasure trail that deserves better than plain sight.
The Cipher and Its Conventions
A1Z26 is a substitution so direct it barely qualifies as a cipher: each letter is replaced by its ordinal in the alphabet. The conventions this converter follows are the community's standard ones — numbers hyphenated within a word (8-5-12-12-15), words separated by spaces, case ignored (the alphabet has one case for counting purposes), and punctuation skipped rather than encoded. Decoding accepts the forgiving superset: hyphens, commas or plain spaces between numbers all parse, because numbers arrive from puzzle pages in every separator ever typeset. What the scheme deliberately lacks is ambiguity management: run the numbers together without separators (3120) and no decoder on earth can tell CAT (3-1-20) from C-A-T's rivals (31-20 is invalid, but 3-12-0 fails too while 3-1-2-0 …) — the separators are not decoration, they are the difference between a code and a riddle, and this page's outputs always carry them.
Worked Example: HELLO, Both Ways
The default input runs the cipher's most traditional word. H is the 8th letter, E the 5th, L the 12th (twice), O the 15th: HELLO → 8-5-12-12-15. Flip the direction and the same string returns HELLO — the round trip being the converter's built-in self-test, worth performing on any cipher tool before trusting it with a message that matters. A second example for the classroom wall: CAT → 3-1-20, and 23-15-23 decodes to WOW. Note the two-digit boundary the examples straddle: letters A–I produce single digits (1–9) and J–Z produce pairs (10–26), which is precisely why unseparated strings collapse into ambiguity — the digit stream carries no width information, and every clean A1Z26 implementation, this one included, refuses to pretend otherwise.
Where A1Z26 Actually Gets Used
The cipher's habitats are more numerous than its simplicity suggests. Puzzle hunts and escape rooms use it as the gateway cipher — hard enough to feel like a code, fair enough to crack by insight. Geocaching hides coordinates and hints in it across a million listings. Classrooms teach place value, ordinality and the idea of encoding itself through it (the alphabet chart on the wall is the codebook). Crosswords and cryptograms use the numbers as a checking layer. And the scheme has one genuinely practical cousinhood: any system that labels positions by letters — spreadsheet columns (where the numbering goes bijective past Z: AA is 27), seating plans, version suffixes — lives nearby, though the spreadsheet's flavour differs at the boundary, as the FAQ explains. A converter that runs both directions without fuss is the whole toolkit the cipher ever needs.
Letters Beyond Z: The Boundary Cases
Three honest limitations belong on the page. Letters beyond Z have no A1Z26 numbers — other alphabets (accented letters, non-Latin scripts) are skipped by this converter, since any mapping for them is a local convention, not the cipher. Digits inside text are likewise passed over in encoding (a "B2" becomes just 2 for the B), because A1Z26 encodes letters, and the digit was already a digit. Security is nil and always was: a monoalphabetic substitution with a public key of "the alphabet, in order" is an encoding, not an encryption — delightful for puzzles, worthless for secrets, and no judgement is passed on anyone who has used it for both, as long as the secrets were the kind a sibling might keep.
The Mirror Cousin: Atbash
One neighbouring scheme deserves its paragraph because puzzle sources mix them freely. Atbash mirrors the alphabet instead of counting it: A trades with Z, B with Y, and so on — in numbers, position n becomes 27 − n. HELLO under Atbash becomes SVOOL (H=8 → 19=S, E=5 → 22=V, L=12 → 15=O, O=15 → 12=L) — a letter cipher rather than a number one, but its arithmetic lives on the same positions this converter computes, and a string of A1Z26 numbers that decodes to gibberish is worth one Atbash attempt before despair. The two schemes are the twin doors of classical substitution: count the alphabet, or fold it.
A Classroom Rehearsal
The cipher at work, start to finish, the way it is actually used. A teacher hides the week's spelling word as a warm-up: 6-15-18-20 goes on the board. The class counts fingers along the alphabet — F is 6, O is 15, R is 18, T is 20 — and FORT emerges, groans and all. An older group gets the encoding direction for their own messages and immediately discovers the separator problem the boundary section described (two pupils encode JAM as 10113 and spend a happy break arguing over the decodings). No software was needed for any of it, which is the deepest argument for the scheme's survival across centuries: this converter is a convenience layered on a cipher whose true medium is a pencil, an alphabet chart, and five spare minutes between lessons.
Encoding Etiquette
Three courtesies make A1Z26 messages readable rather than merely decodable, and this converter observes all of them so its output can be imitated by hand. Hyphenate within words — the ambiguity section's whole argument. Break lines at word boundaries, never mid-word, so a wrapped message does not manufacture phantom letters at the seams. Send a check word: one known word at the start (the recipient decodes HELLO, confirms the convention, and proceeds in confidence) — the handshake that catches the A0Z25 dialect clash of the FAQs before it garbles the payload. Codes are communication before they are concealment; the etiquette is the difference between a puzzle someone enjoys solving and a mess someone quietly gives up on.
Related Tools
More from the Other Calculators hub: the ASCII Converter Calculator — the computer's own letter numbering, one level deeper — and the Password Entropy Calculator for codes that actually keep secrets properly, as this one cheerfully does not.
Frequently Asked Questions
What number is each letter?
Its alphabet position: 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 — the complete key, small enough to memorise in a single sitting and use for the rest of your life. The converter applies the table in both directions; the chart above is the entire key, which is rather the point of A1Z26 — the world's most shareable secret.
How do I decode numbers without separators, like 3120?
Carefully, and sometimes not at all: 3120 must be CAT (3-1-20) because its rivals break the 1–26 rule (31 is too big, and 0 is not a letter) — but a string like 111 can be AAA, AK or KA, and no amount of staring decides between them. Where a source gives bare digits, the decoding is a small logic puzzle of segmentations (this is genuinely how some puzzle hunts intend it); where you are the encoder, always emit separators, as this page does, and spare your reader the ambiguity.
Is A1Z26 the same as the ASCII codes?
No — cousins, not twins. ASCII numbers letters by their computing code points (A=65 … Z=90, a=97 … z=122), a standard from teleprinter engineering; A1Z26 numbers them by alphabet position (1–26), a puzzle convention. The ASCII converter on this hub translates the engineering dialect; converting between the two systems is a fixed offset for capitals (subtract 64) — a fact that has unlocked more than one puzzle box where the numbers ran suspiciously in the sixties-to-nineties range.
What about A=0 instead of A=1?
A minority convention (A0Z25, beloved of programmers whose arrays start at zero) exists and will silently garble messages exchanged with the A1Z26 majority — HELLO becomes 7-4-11-11-14. The defence is the one this page embodies: the convention is printed on the converter's face, and any received message should be test-decoded on a known word before its bulk is trusted. When two parties disagree about where counting starts, they are not using the same cipher, whatever either calls it.
Can this convert whole sentences?
Yes — the encoder handles full text, preserving word boundaries (wide gaps in the number output) and skipping punctuation, numbers and symbols it has no mapping for. Long inputs stay legible because the hyphen-and-space convention scales. For a page of prose the output runs to about twice the characters of the input; the cipher was never compact, only clear — its lasting virtues are teachability and instant reversibility, both of which this converter preserves faithfully at any length of message.
Why do spreadsheets call column 27 AA instead of continuing the numbers?
Because spreadsheet columns use a bijective base-26 system (no zero digit): A–Z are 1–26, then AA–AZ are 27–52, BA is 53, and so on — the letters themselves do the carrying. It is a different scheme from A1Z26 (which never needs a 27th value), and the two meet only at the single letters. Trivia with teeth: the largest classic Excel column, XFD, computes in that system to 16,384 — a number fact this page leaves as the reader's verification exercise.