Letters to Numbers Converter
In A1Z26, HELLO WORLD becomes 8 5 12 12 15 / 23 15 18 12 4. This letters to numbers converter changes each letter into its alphabet position and can also turn a number string back into readable text. Enter a word, phrase, or clue to encode, or enter values from 1 to 26 to decode, and the tool returns the converted result plus the number of letters processed. Use it for puzzle clues, classroom practice, escape room notes, geocaching hints, or quick checks when you do not want to map every character by hand. The converter ignores letter case during encoding, removes punctuation from the letter stream, keeps space-separated words apart with a slash token, and accepts spaces, commas, or dashes between numbers when you decode.
Quick answer
A1Z26 is a direct alphabet code where A=1, B=2, C=3, and so on until Z=26.
Output
8 5 12 12 15 / 23 15 18 12 4
Letters
10
What this tells you
- •A1Z26 is a direct alphabet code where A=1, B=2, C=3, and so on until Z=26.
- •When you encode text, the tool uppercases the input, splits it into words by spaces, removes non-letter characters inside each word, and then maps every remaining letter to a number.
- •When you decode, the tool reads each whole number token, so 12 means L, not 1 followed by 2.
- •Spaces, commas, and dashes can separate numbers during decoding, which helps when a clue is written as 20-5-19-20 or 20,5,19,20.
- •A slash token stands for a word break during decoding, so 8 9 / 20 8 5 18 5 becomes HI THERE.
- •Only integers from 1 to 26 are valid on the way back to letters, and decoded output is shown in capital letters.
How to Use
- 1Choose the direction first. Pick Letters to numbers if you have text, or Numbers to letters if you have an A1Z26 code to read.
- 2Enter your content in the input field. You can paste a single word, a full phrase, or a list of numbers from a worksheet or puzzle clue.
- 3If you are decoding, separate values with spaces, commas, or dashes. Put a slash between word groups if you want the output to keep visible word breaks.
- 4Run the conversion and review the main output. The secondary result shows how many letters were successfully processed.
- 5If a decode fails, check for values outside 1 to 26, missing separators between multi-digit numbers, or a slash that is attached to digits instead of standing on its own.
How It Works
Formula
letter number = alphabet position from A=1 to Z=26The encoding rule is simple: convert each letter to uppercase, find its position in the English alphabet, and output that number. In code terms, A maps to 1 because its uppercase character code is 65, so the tool subtracts 64 to get the alphabet index. Decoding does the reverse by taking each integer from 1 through 26 and converting it back to the matching uppercase letter. The implementation also treats a standalone slash as a word space during decoding, while any number below 1, above 26, or not written as a whole integer is rejected instead of guessed.
Calculation note: values are processed in the order shown above, using the current input units.
Worked Examples
Encode a short word
This result is correct because C is the 3rd letter, A is the 1st, and B is the 2nd. The converter outputs each value as its own token, which keeps the sequence easy to read and easy to decode later.
Decode a basic greeting
The decode works because 8 maps to H and 9 maps to I. The tool joins the letters into one word and reports a letter count of 2.
Encode a two-word phrase
HELLO converts to 8 5 12 12 15 and WORLD converts to 23 15 18 12 4. The slash between the groups shows that the original input had a space between the words.
Decode comma and dash separators
The first group decodes as T=20, E=5, S=19, T=20. After the slash, 3 1 19 5 becomes CASE, which shows that commas and dashes work as separators as long as every number stays within 1 to 26.
Encode text with punctuation and digits
The tool keeps the words MEET and ME, but it removes the @ symbol and the digit 5 because they are not letters. That is why the output contains two encoded words and not extra tokens for punctuation or numbers.
A1Z26 alphabet table
Use this quick lookup chart when you only need a few letters and do not want to run a full conversion. The values match the same A1Z26 positions used by the converter.
| Letters | Numbers |
|---|---|
| A B C D E F | 1 2 3 4 5 6 |
| G H I J K L | 7 8 9 10 11 12 |
| M N O P Q R | 13 14 15 16 17 18 |
| S T U V W X | 19 20 21 22 23 24 |
| Y Z | 25 26 |
Common mistakes
- Treating multi-digit values as separate digits. In A1Z26, 12 is L and 20 is T, so a string like 20 5 19 20 must be read as four full numbers.
- Starting the alphabet at zero. This tool uses the standard puzzle mapping where A=1, not A=0, so every letter would shift if you count from zero.
- Expecting 27, 0, negative values, or decimals to decode. The implementation only accepts whole integers from 1 through 26 and rejects anything outside that range.
- Assuming punctuation creates a word break during encoding. Only whitespace becomes a slash-separated gap between words, while symbols inside a word are removed.
- Forgetting to isolate the slash token when decoding. Write 8 9 / 20 8 5 18 5, not 8 9/20 8 5 18 5, so the tool can recognize the word boundary clearly.
Embed this calculator on your site
Drop this single line where you want the calculator to appear. It is responsive, mobile-friendly, resizes automatically, and is free to use with attribution.
<script src="https://calctide.com/embed.js" data-tool="letters-to-numbers-converter" async></script>Preview the embed at /embed/letters-to-numbers-converter/.