Letters to Numbers Converter

Letters to Numbers Converter

Convert letters to their alphabetical position numbers (A=1, B=2, etc.) and vice versa. Perfect for simple ciphers, puzzles, and teaching the alphabet.

Last updated: March 2026 | By Patchworkr Team

Result will appear here...

What is Letter-Number Conversion?

Letter-to-number conversion is a simple substitution cipher where each letter of the alphabet is replaced by its position number. A=1, B=2, C=3, and so on through Z=26. This creates a basic form of encoding that's reversible and easy to understand.

This type of conversion is commonly used in puzzle books, escape rooms, educational settings, simple cryptography exercises, and children's games. It's one of the most fundamental encoding schemes and serves as an introduction to more complex ciphers like Caesar ciphers or substitution ciphers.

While not secure for actual encryption (it's easily decoded), letter-number conversion is perfect for teaching basic coding concepts, creating fun puzzles, understanding alphabetical order, and demonstrating the relationship between letters and numerical values. It's also used in various numbering systems and reference codes.

Alphabet Position Reference

Complete Alphabet to Number Mapping

A
= 1
B
= 2
C
= 3
D
= 4
E
= 5
F
= 6
G
= 7
H
= 8
I
= 9
J
= 10
K
= 11
L
= 12
M
= 13
N
= 14
O
= 15
P
= 16
Q
= 17
R
= 18
S
= 19
T
= 20
U
= 21
V
= 22
W
= 23
X
= 24
Y
= 25
Z
= 26

Conversion Rules

  • Letters to Numbers: Each letter is converted to its alphabetical position (A=1, B=2...Z=26). Spaces and special characters are preserved.
  • Numbers to Letters: Each number (1-26) is converted to its corresponding letter. Numbers should be space-separated. Invalid numbers are kept as-is.
  • Case Handling: Input is converted to uppercase. Both 'a' and 'A' become 1.
  • Valid Range: Only numbers 1-26 are valid for conversion to letters (representing A-Z).

Conversion Examples

Example 1: Word to Numbers

Input:
HELLO
Process:
H = 8th letter = 8
E = 5th letter = 5
L = 12th letter = 12
L = 12th letter = 12
O = 15th letter = 15
Output:
8 5 12 12 15

Example 2: Numbers to Word

Input:
3 15 4 5
Process:
3 = 3rd letter = C
15 = 15th letter = O
4 = 4th letter = D
5 = 5th letter = E
Output:
CODE

Example 3: Secret Message

Input:
20 15 15 12 19
Decode:
20 = T, 15 = O, 15 = O, 12 = L, 19 = S
Message:
TOOLS

Frequently Asked Questions

Is this secure for encryption?

No, this is NOT secure encryption. It's a simple substitution that anyone can decode. For actual security, use proper encryption like AES, RSA, or other cryptographic algorithms. This is only for puzzles and learning.

What about lowercase letters?

Both uppercase and lowercase letters are converted to the same number. 'A' and 'a' both equal 1. The tool automatically converts input to uppercase for consistency.

How do I handle spaces between words?

When converting letters to numbers, spaces in your text are preserved in the output. When converting numbers to letters, use spaces to separate each number (e.g., '8 5 12 12 15').

What happens to special characters?

Special characters (punctuation, symbols) are preserved as-is when converting letters to numbers. When converting numbers to letters, only numbers 1-26 are converted; everything else stays unchanged.

Can I use this for word games?

Absolutely! This tool is perfect for Scrabble calculations, crossword puzzle clues, creating codes for escape rooms, educational alphabet games, or any activity involving letter positions.

What's the history of this cipher?

Simple letter-to-number substitution is one of the oldest encoding methods, dating back thousands of years. It's often a first step in learning about cryptography and ciphers before moving to more complex systems like Caesar or Vigenère ciphers.

How do I create longer messages?

Just type your message normally. For letters to numbers: 'HELLO WORLD' becomes '8 5 12 12 15 23 15 18 12 4'. For numbers to letters, separate each number with a space.

What's the difference from ASCII?

ASCII assigns numbers to all characters (A=65, etc.). This tool uses simple alphabetical position (A=1, B=2...Z=26), which is easier for humans to work with and commonly used in puzzles and games.

Related Tools