Convert Letters to Digits

Transform text into numbers (A=1, B=2) or decode numbers back to letters.

0 Lines | 0 Chars
Separator
0 Lines | 0 Chars
ReadOnly Mode

Bidirectional

Convert letters to numbers AND numbers back to letters.

Secure

Client-side processing. Your secrets stay on your device.

Flexible

Choose starting index (0 or 1) and custom separators.

Try These Examples

Basic A=1, B=2

Convert letters to their position in the alphabet.

Apply Now

Secret Message

Encode a message with hyphens.

Apply Now

Decode Numbers

Convert numbers back to letters (8=H, 5=E...).

Apply Now

Zero Indexed

Start counting from 0 (A=0, B=1...).

Apply Now

Ultimate Guide: Converting Letters to Digits

The A=1, B=2 cipher is one of the simplest and most widely used substitution ciphers. Our tool allows you to instantly convert letters to their corresponding position in the alphabet (and back again).

How It Works

Each letter is assigned a number based on its order in the alphabet:

A = 1
B = 2
C = 3
...
Y = 25
Z = 26

Features

  • Zero-Indexing Support: Programmers often start counting at 0. Switch modes to make A=0, B=1, etc.
  • Bidirectional Conversion: Easily switch between encoding (Letters -> Numbers) and decoding (Numbers -> Letters).
  • Custom Separators: Choose how your output is formatted (spaces, commas, hyphens, or no separator).

Did You Know?

This type of substitution is often the first step in creating more complex ciphers. It's also commonly used in geocaching puzzles and escape rooms!