A1Z26 is a substitution cipher that assigns every English letter its alphabet position so A becomes 1, B becomes 2 and the sequence continues through Z as 26. The cipher has no key, no shifting and no randomization, which is exactly what makes it useful for word games, classroom exercises and lightweight puzzles where the encoding rule must be obvious to anyone reading the result. The trick that turns raw numbers into a reversible format is the separator grammar: hyphens join letters inside a word, while a single slash marks every word boundary, so HELLO WORLD becomes 8-5-12-12-15 / 23-15-18-12-4 instead of an ambiguous chain like 8 5 12 12 15 23 15 18 12 4. That slash matters because spaces between every number cannot tell a decoder where one word ends and the next begins, which is why any reliable A1Z26 implementation makes the boundary explicit. The A1Z26 Cipher Translator applies this rule in both directions so encoding and decoding always agree, and the conversion runs entirely in the browser without uploading your text.

What the A1Z26 Cipher Actually Maps
The mapping behind A1Z26 is just an offset applied to ASCII uppercase letters. The code point for uppercase A is 65 and the code point for uppercase Z is 90, as listed in the Unicode Basic Latin chart; subtract 64 from each code point and you get the range 1 to 26 that defines the cipher. Because the offset is fixed, the encoding step has no language dictionary, no word segmentation model and no mutable lookup dataset behind it. Lowercase input is normalized to uppercase first, so hello and HELLO encode to the same number sequence and decoding always returns uppercase letters.
The mapping deliberately does not handle accented characters, Greek or Cyrillic letters, digits or punctuation. Those inputs are rejected rather than transliterated, because language-dependent transliteration would make the simple number relationship misleading. For example, é is not treated as E, and Greek or Cyrillic characters are not forced into the 26-letter English alphabet. If capitalization carries meaning in a puzzle, record it separately, since the numeric sequence contains no case information at all.
How to Encode Text into A1Z26 Numbers
To convert ordinary English text into the explicit A1Z26 puzzle format, follow the encode path on the A1Z26 Cipher Translator.
- Open the translator and choose Letters to numbers at the top of the page.
- Type or paste your English text into the input box. Use only ASCII letters A through Z and whitespace between words; punctuation, digits and accented characters will be rejected so the encoded output cannot silently drop information.
- Click the run or translate button. The translator uppercases every letter, replaces each letter with its alphabet position and joins letters in a word with hyphens.
- Read the output. Each word of your original text appears as a hyphen-separated group such as 8-5-12-12-15, and the group for the next word is separated from the previous one by a single slash, so a two-word input reads as 8-5-12-12-15 / 23-15-18-12-4.
- Copy the result exactly as shown. Every slash and hyphen in the output is part of the grammar that lets the decoder reverse the transformation without guessing where word boundaries fall.
Repeated spaces, tabs and line breaks are normalized into word separators during encoding rather than reproduced exactly, so two spaces between words still produce exactly one slash in the encoded output.
How to Decode A1Z26 Numbers Back to Letters
The reverse direction is just as strict. Switch the mode to Numbers to letters, paste a sequence that uses hyphens between letters and a slash between words, and read the uppercase letters the translator prints back. Each integer you supply must fall inside the 1 to 26 range; the value 0, the value 27, decimal numbers such as 12.5, signed numbers such as -3 and alphabetic tokens are all reported as errors with the offending token named rather than silently wrapped or coerced.
Whitespace within a word is accepted alongside hyphens, so 8 5 12 12 15 decodes the same as 8-5-12-12-15, but the slash remains required whenever you need a space in the decoded text. Empty groups between two slashes, such as 8-5 / / 19-20, are rejected so the tool never invents a phantom word out of a missing token. Decoding always returns uppercase letters regardless of how the original input was capitalized, which keeps the round trip deterministic.
Why a Slash Between Words Solves the Boundary Problem
A1Z26 is sometimes written with spaces alone between every number, and that representation cannot distinguish a letter boundary from a word boundary unless another convention is added. A flat string such as 8 5 12 12 15 23 15 18 12 4 could be split as one ten-letter word, two five-letter words, or anything in between, and a decoder would have to guess. Introducing a second separator removes the guesswork entirely: hyphens live inside a single word and slashes live between words, so 8-5-12-12-15 / 23-15-18-12-4 is unambiguous and reversible.
The A1Z26 Cipher Translator applies that rule on both sides of the conversion, which is why paste-and-decode round-trips work even for ordinary multiword English sentences. Without the slash, the decoder would need a dictionary or a segmentation model to recover spacing, and the cipher would no longer be the simple fixed mapping its name implies. The slash marker is what keeps A1Z26 strictly a number cipher rather than a half-finished text recovery system.
Common A1Z26 Formats Compared
Different communities write A1Z26 in different shapes, and the format matters because only some of them are reversible without outside knowledge.
| Format | Example for HELLO WORLD | Boundary marker | Reversible without a dictionary |
|---|---|---|---|
| Hyphens plus slash (this tool) | 8-5-12-12-15 / 23-15-18-12-4 | Hyphen for letters, slash for words | Yes |
| Hyphens only | 8-5-12-12-15-23-15-18-12-4 | None | No, word boundary lost |
| Spaces between every number | 8 5 12 12 15 23 15 18 12 4 | None | No, word boundary lost |
| Commas between numbers | 8,5,12,12,15,23,15,18,12,4 | None | No, word boundary lost |
The slash variant is the only one of the four that survives a round trip, which is why the translator's grammar is explicit instead of relying on a separator that looks like whitespace. The tool deliberately avoids optional variants such as reverse alphabet numbering, zero-based indexes, keyword alphabets, punctuation escapes or automatic cryptogram solving, since those are different ciphers or puzzle rules.
Where A1Z26 Helps and Where It Doesn't
A1Z26 has no secrecy. The mapping is fixed, immediately recognizable and preserves both word lengths and letter repetition, so anyone who sees 8-5-12-12-15 / 23-15-18-12-4 can read the message by hand in seconds. It has no key, no randomized state, no integrity check and no authentication, which makes it the wrong tool for passwords or confidential communication. Where it does help is anywhere the goal is shared visibility: scavenger hunt clues, classroom cryptogram warm-ups, geocache logs, escape room puzzles and CTF warm-up stages where the solver is expected to recognize the format on sight.
Two operational limits are worth knowing before you paste a long passage. The translator processes up to 200,000 Unicode code points per submission, which is well above ordinary puzzle text but prevents an accidental oversized paste from freezing the page. Every translation runs locally in the browser, so nothing is uploaded when you paste a phrase. Empty or whitespace-only input produces an error instead of an empty result, which forces you to notice when you have hit the run button by accident rather than guessing why the output box is blank.
If you want a step up from A1Z26 without leaving the substitution family, a Caesar shift adds a single numeric key while still using the same A through Z positions, and the guide on decoding a Caesar cipher without guessing the shift walks through the next layer of puzzle.