A1Z26 Cipher Decoder

Paste numbers such as 8-5-12-12-15 to read the letters at once, or type a message to write it in A1Z26 numbers.

Direction
Numbers with any separator, such as hyphens, spaces, commas, dots or slashes. For Letters to Numbers, type plain text.
Alphabet
Separator Between Numbers

Results

10 letters decoded

Letters

HELLO WORLD

Chart, A=1 to Z=26

  1. A1
  2. B2
  3. C3
  4. D4
  5. E5
  6. F6
  7. G7
  8. H8
  9. I9
  10. J10
  11. K11
  12. L12
  13. M13
  14. N14
  15. O15
  16. P16
  17. Q17
  18. R18
  19. S19
  20. T20
  21. U21
  22. V22
  23. W23
  24. X24
  25. Y25
  26. Z26

How to Use the A1Z26 Cipher Decoder

  1. Keep Numbers to Letters picked under Direction, then type or paste the numbers into Your Message. The letters appear as you type.
  2. Separate the numbers any way you like, with hyphens, spaces, commas, dots or slashes. Start a new word with a slash, two spaces, or a single space when the numbers inside a word are joined by hyphens or commas.
  3. Under Alphabet, keep A=1 to Z=26 for the usual cipher, or pick A=0 to Z=25 or the reversed alphabet, A=26 to Z=1, when the standard reading is nonsense.
  4. If the numbers have no separators, such as 85121215, the best guess is in the letters box and the other possible readings are in the panel under it.
  5. To write a message in numbers, pick Letters to Numbers, type your text and choose Hyphen, Space or Comma as the separator. Press Copy Text to copy the result exactly as shown.

Example of Decoding 8-5-12-12-15 23-15-18-12-4

The example message has ten numbers in two groups. In the A1Z26 alphabet 8 is H, 5 is E, 12 is L and 15 is O, so the first group is HELLO. The second group, 23, 15, 18, 12 and 4, is W, O, R, L and D. Hyphens are between the numbers in each word, so the single space between the groups means a new word, and the answer is HELLO WORLD.

Encoding is the same in reverse. With Letters to Numbers picked, Hello world becomes 8-5-12-12-15 23-15-18-12-4 with Hyphen, 8 5 12 12 15 / 23 15 18 12 4 with Space and 8,5,12,12,15 23,15,18,12,4 with Comma. With Space, there is a slash between words, so a reader can still see the word breaks.

A1Z26 Chart

The letters A to I have one-digit numbers, and the other 17 letters, J to Z, have two digits. In the A=0 column every number is one lower, and in the reversed column Z is 1 and A is 26.

LetterA=1 to Z=26A=0 to Z=25A=26 to Z=1
A1026
B2125
C3224
D4323
E5422
F6521
G7620
H8719
I9818
J10917
K111016
L121115
M131214
N141313
O151412
P161511
Q171610
R18179
S19188
T20197
U21206
V22215
W23224
X24233
Y25242
Z26251

Separators and Word Breaks

Any character that is not a digit counts as a separator, so the same message can be in many styles. Word breaks depend on the separators. A slash, a pipe, two spaces, a tab or a line break always means a new word. A hyphen, dash, comma, dot, colon or semicolon means the letters are in the same word. A single space means a new word only when the message also has one of those marks between numbers; in a message with single spaces alone, every space is just a separator.

NumbersStyleLetters
8-5-12-12-15 23-15-18-12-4Hyphens in words, a space between wordsHELLO WORLD
8 5 12 12 15 23 15 18 12 4Spaces in words, two spaces between wordsHELLO WORLD
8 5 12 12 15 / 23 15 18 12 4Spaces in words, a slash between wordsHELLO WORLD
8,5,12,12,15 23,15,18,12,4Commas in words, a space between wordsHELLO WORLD
8, 5, 12, 12, 15 / 23, 15, 18, 12, 4Commas and spaces in words, a slash between wordsHELLO WORLD
8.5.12.12.15 23.15.18.12.4Dots in words, a space between wordsHELLO WORLD
8 5 12 12 15 23 15 18 12 4Single spaces onlyHELLOWORLD

The last row has no word break because a single space is the only separator in it, so all ten letters are in one word. Characters such as ! ? and an apostrophe are kept where they are, so 8-5-12-12-15 23-15-18-12-4! becomes HELLO WORLD!.

Numbers Written Without Separators

A string such as 85121215 has more than one reading, because 1 and 2 can be A and B or the single number 12, L. Any run of three or more digits is read as numbers written with no separators. Every reading as numbers from 1 to 26 is counted, and readings that are English words are listed first, with the fewest words first. 85121215 has 13 possible readings, and these are the first six.

NumbersReadingAll Words
8 5 12 12 15HELLOYes
8 5 12 12 1 5HELL AEYes
8 5 12 1 21 5HELAUENo
8 5 12 1 2 15HELABONo
8 5 12 1 2 1 5HELABAENo
8 5 1 21 21 5HEAUUENo

Short runs have few readings: 123 has 3, AW, LC, ABC, and 1215 has 5. Longer runs have many more. 85121215231518124 has 312 readings, and HELLO WORLD is first because it is the only reading that is two words. Runs of one or two digits are read as one number, so 12 is always L. A leading 0 in a two-digit number is padding, so 05 is E.

Numbers Outside 1 to 26

A number with no letter in the chosen alphabet appears in the answer in square brackets, so 8-5-12-27-15 becomes HEL[27]O and 0-8-9 becomes [0]HI. The status line counts how many numbers are out of range. A 27 may be a typing error, and some encoders write a space between words as 0. A message full of 0s and no 26 may be in the A=0 alphabet instead, where 0 is A and 25 is Z.

What Is the A1Z26 Cipher

A1Z26 is a substitution cipher in which each letter is written as its place in the alphabet, from A=1 to Z=26, and the name is the first and last pair. Anyone who knows the trick can read it, since every letter always has the same number, so people use it in puzzles, escape rooms, geocaching mystery caches and puzzle hunts rather than for real secrets. Fans of the cartoon Gravity Falls know it from the end credits, where the season 1 cryptograms in episodes 14 to 19 are in A1Z26.

Puzzle solvers try A1Z26 first on any list of numbers between 1 and 26. If the letters are nonsense, the next things to try are the A=0 alphabet, the reversed alphabet, and a second cipher on top of the letters.

How Numbers Are Converted to Letters and Back

For Numbers to Letters, the message is read as runs of digits and the text between them. A run of one or two digits becomes one letter, or a number in square brackets when no letter has that number. The text between two numbers is a separator: a slash, pipe, backslash, two spaces, a tab or a line break means a new word, a hyphen, dash, comma, dot, colon, semicolon, underscore, plus or tilde means the same word, and a single space means a new word only when the message also has one of those marks. Line breaks are kept. Other characters, such as letters, ! ? and quotation marks, are kept as typed.

Every way to read a run of three or more digits as numbers in the chosen alphabet is counted. A two-digit number never has 0 as its first digit, except that 01 to 09 count as 1 to 9 when 0 is not a letter, so no two readings have the same letters. Words are checked against the ENABLE word list, a public domain list of about 168,000 English words of 2 to 15 letters, plus the one-letter words A and I. ENABLE is not the official Scrabble dictionary and includes rare words such as AE, a Scottish word for one. Readings that are all words are first, fewest words first, then those with more letters in common words, then the other readings in order. Up to eight readings are listed for each run, and the word list is downloaded only when a message has such a run.

For Letters to Numbers, accents are removed first, so é counts as E. Letters A to Z become numbers with the chosen separator between them. Spaces and the separator marks become one word break: a space for Hyphen and Comma, and a slash with a space on each side for Space. A message of one-letter words, such as U S A, has no hyphen or comma in it, so its word breaks are written as slashes. Digits in the text are left as they are, so write numbers in words if you want them as letters after decoding. The conversion is done in your browser, and nothing you type is sent anywhere.

FAQs

Q1. How Do You Decode an A1Z26 Cipher?

You decode an A1Z26 cipher by replacing each number with the letter at that place in the alphabet, so 1 is A, 2 is B and 26 is Z. Paste the numbers into the box and the letters appear at once, with word breaks taken from the slashes, double spaces or spaces between groups of numbers.

Q2. What Does a Number Bigger Than 26 Mean in A1Z26?

A number bigger than 26 has no letter in A1Z26, so it is shown in square brackets, as in HEL[27]O for 8-5-12-27-15. It may be a typing error, two numbers written with no separator between them, or a sign that the message uses a different cipher, such as letter values with an extra step on top.

Q3. How Do You Decode Numbers With No Spaces Between Them?

Numbers with no spaces between them can be read more than one way, because 12 may be L or the letters A and B. Paste the run of digits and every reading is counted, with the ones that make words listed first: 85121215 has 13 readings, and HELLO comes first.

Q4. What Is the Difference Between A1Z26 and A0Z25?

A1Z26 numbers the alphabet from A=1 to Z=26, whereas A0Z25 starts at A=0 and ends at Z=25, so every number is one lower. If a message has 0s in it and no 26, pick A=0 to Z=25 under Alphabet and the letters may make sense.

Q5. Which Ciphers Are Used in Gravity Falls?

The ciphers used in Gravity Falls season 1 are a Caesar cipher, the Atbash cipher and A1Z26, in the short coded message at the end of the credits of each episode. Episodes 1 to 6 use a Caesar cipher, 7 to 13 use Atbash, 14 to 19 use A1Z26, and episode 20 combines all three, so you can paste the numbers from the credits of episode 14 on straight into the decoder.

Q6. Is the A1Z26 Cipher Secure?

The A1Z26 cipher is not secure, because every letter always has the same number and anyone who guesses the method can read the message with the chart. It suits puzzles, party games and lessons on how codes work, and it is no protection for anything private.

Sources

ENABLE word list (public domain). Gravity Falls Wiki, List of cryptograms (the ciphers used in season 1 end credits). Puzzles Wiki, Alphanumeric Substitution Cipher (A1Z26 in puzzle hunts).