November 9, 2026

A1Z26 Cipher

The A1Z26 cipher is the simplest code a child can invent and one of the most useful for puzzle makers: replace each letter with its position in the alphabet, so A is 1, B is 2, C is 3 and Z is 26. Messages become strings of numbers, which look meaningless until you know the key, and the code is easy to explain in a single sentence — which is exactly why it shows up in treasure hunts, escape rooms, puzzle hunts and classroom activities. This tool encodes text into numbers and decodes numbers back into text, with a choice of separators so the output suits your puzzle: dashes between numbers are the classic style, spaces work well in worksheets, and commas suit spreadsheets. Numbers, punctuation and spaces in the original are preserved as far as possible, so decoding a well-formed code returns clean readable text.

Quick Answer: Type text to get its A1Z26 numbers (A=1 to Z=26), or paste numbers to decode them back into letters, choosing dashes, spaces or commas as separators.

Free Online Tool

A1Z26 Cipher



How to Use the A1Z26 Cipher

  1. Choose Encode to turn letters into numbers, or Decode to turn numbers into letters.
  2. Type or paste your text or number code into the input box.
  3. Pick a separator: dash, space or comma between numbers.
  4. Press Convert and read the result in the output box.
  5. Copy the result for your puzzle, worksheet or message.

Key Features

  • Both directions: letters to numbers and numbers to letters
  • Three separator styles: dash, space or comma
  • Decoding accepts mixed separators and ignores extra spaces
  • Preserves word breaks so decoded text stays readable
  • Instant conversion entirely in your browser

Best Practices and Tips

  • Dashes are the classic puzzle style and make long codes much easier to read aloud.
  • When decoding, make sure every number is between 1 and 26 — anything else is ignored and flagged.
  • Keep a separator between every pair of numbers: without one, 12 could mean L or A followed by B.
  • For escape-room clues, encode only the key word and leave the rest of the sentence plain.
  • Combine A1Z26 with a second simple code, such as Atbash, to raise the difficulty a notch.

Common Mistakes to Avoid

  • Writing numbers without separators, which makes decoding ambiguous and often impossible.
  • Using 0 for A: the standard is A=1, and starting at 0 shifts every letter by one.
  • Forgetting that spaces between words matter — without them, decoded words run together.
  • Expecting the code to hide anything serious: it is a puzzle encoding, not encryption.

Frequently Asked Questions

What is the A1Z26 cipher?

A1Z26 is a substitution code that replaces each letter with its position in the alphabet: A=1, B=2, C=3, through to Z=26. It is widely used in puzzles, treasure hunts and teaching because it needs no key beyond knowing the alphabet order.

How do I decode A1Z26 numbers?

Split the code at its separators, then turn each number back into its letter: 8-5-12-12-15 becomes HELLO. This tool does it automatically — paste the numbers, choose Decode, and read the text.

Which separator should I use?

Dashes (8-5-12-12-15) are the traditional puzzle format and the easiest to read. Spaces suit worksheets, and commas suit data files. The decoder accepts all three, and even a mixture, so it rarely matters for decoding.

What happens to numbers already in my text?

When encoding, digits are left as they are, which can make a code slightly ambiguous. For clean puzzles, avoid digits in the original message or spell them out as words first.

Is A1Z26 secure?

No. Anyone who recognises number sequences as letter positions can decode the message by hand. It is a puzzle and teaching device, not a security tool.

Related Tools