Numeric Code Translator

Convert text to numeric codes and decode numbers back to letters. Supports A=1, A=01, ASCII, and other number-to-letter encoding systems.

Translation Options

Translate Between Text and Numeric Codes

What Is a Numeric Code Translator?

A numeric code translator converts letters and words into their corresponding number values, or decodes numeric sequences back into readable text. The most common system assigns A=1, B=2, C=3 through Z=26, but there are several other encoding schemes used in puzzles, ciphers, education, and programming.

Number-to-Letter Encoding Systems

The simplest numeric code maps each letter to its position in the alphabet: A=1, B=2, all the way to Z=26. A zero-padded variant uses two digits (A=01, B=02) to avoid ambiguity when numbers run together. ASCII codes represent each character as a number between 0 and 127, covering letters, digits, and symbols. Each system has different use cases, from classroom exercises to cryptography puzzles.

Encoding vs. Decoding

This tool works in both directions. Type normal text to get its numeric code, or paste a sequence of numbers to decode it back into English letters. The translator auto-detects the direction based on your input, or you can specify the mode manually.

Examples

Input

HELLO WORLD

Output

8 5 12 12 15 23 15 18 12 4

Input

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

Output

SECRET MESSAGE

Input

CIPHER

Output

03 09 16 08 05 18

Input

01001000 01100101 01101100 01101100 01101111

Output

Hello

Input

PUZZLE

Output

16-21-26-26-12-5

Frequently Asked Questions

What is the difference between A=1 and A=01 encoding?

Both use alphabetic position, but A=01 pads single-digit numbers with a leading zero. This matters when numbers are written without separators: '312' could mean C-L (3, 12) or C-A-B (3, 1, 2) in standard A=1 encoding, but '031202' is unambiguous in zero-padded format (03=C, 12=L, 02=B).

How do I decode a number sequence if I don't know which encoding was used?

Start with A=1 (the most common system). If the numbers are all between 1 and 26, it's likely alphabetic position. If you see numbers above 26 (like 65-122), it's probably ASCII. If the numbers are all single digits with repetitions like '44 33 555', it's likely phone keypad encoding. Binary is easy to spot since it only uses 0s and 1s in 8-digit groups.

How are spaces and punctuation handled?

In A=1 encoding, only letters A-Z have numeric values. Spaces between words are represented by the word boundary marker you choose (double space, slash, pipe, or new line). Punctuation is typically dropped in simple alphabetic encoding. In ASCII and binary modes, every character including spaces and punctuation has a numeric code.

Can I use this for number codes like 01 02 03 that I found in a puzzle?

Yes. Paste the number sequence, set the direction to Numbers → Text, and select the encoding system that matches. For zero-padded codes (01, 02, 03), use the A=01 encoding. The translator will convert each number back to its corresponding letter.

What is phone keypad (T9) encoding?

On old phone keypads, each number key maps to 3-4 letters. The digit is pressed multiple times to select a letter: A=2, B=22, C=222, D=3, E=33, and so on. This encoding converts text using that system, and it's commonly seen in puzzle games and escape rooms.

Comments