Convert Letters to Digits

Map letters to their numeric equivalents using phone keypad mapping or alphabetical position (A=1, B=2, ..., Z=26). Convert text to a digit sequence for encoding, hashing, or creating numeric representations of words.

Input
Letter Translation Table
Rules for converting letters to digits. Put each rule on a new line. For example, "a=1".
Options
Assign different digits for uppercase and lowercase letters.
Convert only those letters that are single words.
Output

What It Does

Map letters to their numeric equivalents using phone keypad mapping or alphabetical position (A=1, B=2, ..., Z=26). Convert text to a digit sequence for encoding, hashing, or creating numeric representations of words.

How It Works

Convert Letters to Digits changes data from Letters into Digits. That is more than a cosmetic rewrite. Field layout, quoting, nesting, and even type representation can shift because the destination format has different rules and limits.

Conversion tools are constrained by the destination format. If the source can express nesting, comments, repeated keys, or mixed data types more richly than the target, the output may need to flatten or reinterpret part of the structure.

All processing happens in your browser, so your input stays on your device during the transformation.

Common Use Cases

  • Convert words to phone keypad digits for vanity number lookup
  • Encode text as numbers for simple ciphers
  • Calculate alphabetical position values for puzzles
  • Generate numeric codes from text identifiers
  • Create phone-number-friendly versions of brand names

How to Use

  1. Enter the text to convert.
  2. Select the mapping (phone keypad or A=1/B=2).
  3. Click Convert.
  4. Copy the digit sequence.

Features

  • Phone keypad mapping
  • Alphabetical position mapping
  • Custom letter-to-digit mapping
  • Case-insensitive conversion
  • Handles spaces and punctuation

Examples

Below is a representative input and output so you can see the transformation clearly.

Input
ABC
Output
1 2 3

Edge Cases

  • Very large inputs can still stress the browser, especially when the tool is working across many letters. Split huge jobs into smaller batches if the page becomes sluggish.
  • Source values that look similar can map differently in the target format when data types are inferred, flattened, or serialized.
  • If the output looks wrong, compare the exact input and option values first, because Convert Letters to Digits should be repeatable with the same settings.

Troubleshooting

  • Unexpected output often means the input is being split or interpreted at the wrong unit. For Convert Letters to Digits, that unit is usually letters.
  • If a previous run looked different, check for hidden whitespace, changed separators, or a setting that was toggled accidentally.
  • If nothing changes, confirm that the input actually contains the pattern or structure this tool operates on.
  • If the page feels slow, reduce the input size and test a smaller sample first.

Tips

To find a vanity phone number for your business name, enter the name and use phone keypad mapping. The resulting digits are the phone number customers would dial.

Letter-to-Digit Conversion

Converting letters to digits is the reverse of the digit-to-letter process. Enter "HELLO" with phone keypad mapping and get "43556." Enter "HELLO" with positional mapping (A=1) and get "8-5-12-12-15." Each mapping serves different purposes.

Vanity Number Generation

Businesses use this conversion to find memorable phone numbers. "PIZZA" converts to 74992 on a phone keypad, so a pizza shop might look for a number ending in 74992. This tool automates that conversion.

Simple Encoding

The A=1 mapping is used in basic number-letter ciphers, gematria calculations, and mathematical word puzzles. The sum of letter values for a word creates a simple hash: "CAT" = 3+1+20 = 24. Different words can share the same sum, making this a lossy encoding.

Frequently Asked Questions

How are uppercase and lowercase handled?

The conversion is case-insensitive. 'A' and 'a' both map to the same digit.

What happens to spaces and punctuation?

Non-letter characters are either preserved as-is, converted to separators, or removed depending on configuration.

Can I use this for gematria?

The A=1 positional mapping is suitable for simple English gematria. For Hebrew or Greek gematria, a custom mapping would be needed.

How do I convert the digits back to letters?

Use Convert Digits to Letters. Note that phone keypad mapping is not uniquely reversible — 2 could be A, B, or C.

Does this work with non-English letters?

The standard mappings cover A-Z. Accented characters and non-Latin letters would need a custom mapping.

Can I get the sum of all letter values?

Use the Calculate Letter Sum tool for that specific operation.