Build your retirement plan for free.Explore Plan Builder →

A1Z26 Cipher Tool

Enter text to encode it into A1Z26 numbers, or paste numbers to decode them back to letters. Includes letter count, sum of values, word segmentation, and a full A–Z reference table.
Luis GonzalezCreated by Luis GonzalezLast updated:

How to Use This Calculator

  1. 1

    Select the mode and enter your input

    Choose 'Encode (Text → Numbers)' to convert letters into A1Z26 numbers, or 'Decode (Numbers → Text)' to reverse. Type your text or numbers into the input field.

  2. 2

    Review your results

    The calculator shows the encoded or decoded output, letter count, sum of values, word count, average letter value, and the cipher key. The Insights panel provides interpretation of the numeric patterns.

Example Calculation

A puzzle enthusiast wants to encode 'SECRET MESSAGE' using the A1Z26 cipher.

Mode

Encode (Text → Numbers)

Text to Encode

SECRET MESSAGE

Results

Encoded Output

19-5-3-18-5-20 / 13-5-19-19-1-7-5

Letters Encoded

13

Sum of Values

139

Words

2

Avg Letter Value

10.7

Tips

The default 'HELLO WORLD' has a sum of 124 and average of 12.4 — below the alphabet midpoint of 13.5

H(8)+E(5)+L(12)+L(12)+O(15)+W(23)+O(15)+R(18)+L(12)+D(4) = 124. Average 124/10 = 12.4. This tells you the text leans toward the first half of the alphabet. A text using mostly letters N–Z (values 14–26) would push the average above 13.5.

Use / to separate words when decoding

In encoded output, words are separated by /. For example, '8-5-12-12-15 / 23-15-18-12-4' decodes to 'HELLO WORLD'. Without the /, the decoder treats all numbers as a single word.

Non-letter characters pass through unchanged

Numbers, punctuation, and symbols in your input are not encoded — only A–Z letters get converted. This means 'HELLO 123!' encodes as '8-5-12-12-15 123!' with the numbers and punctuation preserved.

How the cipher works

For encoding, each letter's value is its position in the alphabet. The sum adds those values, and the average divides the sum by the letter count. Decoding reverses the mapping for valid 1–26 values.

value(letter) = alphabet position (A=1, B=2 … Z=26)
Sum = total of all letter values
Average = Sum / letter count

With the default input HELLO WORLD, the letter values are 8, 5, 12, 12, 15 and 23, 15, 18, 12, 4. The encoded result is 8-5-12-12-15 / 23-15-18-12-4; the sum is 8 + 5 + 12 + 12 + 15 + 23 + 15 + 18 + 12 + 4 = 124, and the average is 124 / 10 = 12.4.

Common word encodings

Word Encoded Letters Sum Average
HELLO 8-5-12-12-15 5 52 10.4
WORLD 23-15-18-12-4 5 72 14.4
SECRET 19-5-3-18-5-20 6 70 11.7
MESSAGE 13-5-19-19-1-7-5 7 69 9.9
CIPHER 3-9-16-8-5-18 6 59 9.8

Words with letters later in the alphabet (like WORLD with W=23) have higher averages. Words with early-alphabet letters (like MESSAGE with A=1, E=5) have lower averages.

Average value by text type

Encoding "HELLO WORLD" with different words substituted.

Text Letters Sum Average Skew
ABC 3 6 2.0 Strong A-side
HELLO WORLD 10 124 12.4 Slight A-side
MIDDLE 6 47 7.8 A-side
PYTHON 6 98 16.3 Z-side
ZZZZZ 5 130 26.0 Maximum Z-side

When to use a different calculator

Frequently Asked Questions

What is the A1Z26 cipher?

The A1Z26 cipher is a simple substitution cipher where each letter is replaced by its position in the alphabet: A=1, B=2, up to Z=26. It is used in puzzles and geocaching, not for security.

How does the tool handle spaces and punctuation?

Spaces between words become / in the encoded output. Punctuation and digits pass through unchanged. When decoding, use / to mark word boundaries and dashes, commas, or spaces to separate numbers within a word.

Is the A1Z26 cipher secure?

No. It is a direct one-to-one mapping that is trivially reversible. It is used for recreational puzzles, not for protecting sensitive information.

What does the average letter value tell me?

The average value indicates where your text sits in the alphabet. The midpoint is 13.5 (halfway between A=1 and Z=26). An average below 13.5 means the text skews toward earlier letters (A–M); above 13.5 means it skews toward later letters (N–Z).

Can I decode numbers outside the 1–26 range?

Numbers outside 1–26 appear as '?' in the decoded output. The tool counts these as unrecognized values and reports the total in the insights panel.