Number Code Translator

Convert text to number codes and decode number codes back to text. Supports A1Z26 (A=1, Z=26), binary, ASCII, and other numeric encoding systems.

Translation Options

Translate Between Text and Number Codes

What Is a Number Code?

A number code is a system that assigns numeric values to letters, words, or characters. The simplest and most popular is the A1Z26 cipher, where A=1, B=2, C=3, all the way to Z=26. Number codes have been used for centuries in puzzles, ciphers, secret messages, and educational games.

Supported Number Code Systems

This translator handles multiple numeric encoding methods. The classic letters-to-numbers code (A=1 through Z=26) is the most common, but you can also convert text to binary (01 sequences), ASCII decimal codes, or Morse code numbers. Whether you need to encode a message or decode a string of numbers back into English, this tool covers it.

Encoding vs Decoding

You can work in both directions. Type normal English text to get its number code equivalent, or paste a sequence of numbers to decode it back into readable words. The translator auto-detects the likely direction, but you can also specify whether you want to encode or decode.

Examples

Input

Hello World

Output

8-5-12-12-15 23-15-18-12-4

Input

8-5-12-12-15 23-15-18-12-4

Output

Hello World

Input

Secret Message

Output

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

Input

01001000 01100101 01101100 01101100 01101111

Output

Hello

Input

Good Morning

Output

71 111 111 100 32 77 111 114 110 105 110 103

Frequently Asked Questions

What is the difference between A1Z26 and ASCII number codes?

A1Z26 only maps the 26 letters of the alphabet to numbers 1-26, ignoring case and most punctuation. ASCII assigns a unique number (0-127) to every character including uppercase, lowercase, digits, punctuation, and spaces. A1Z26 is simpler and commonly used in puzzles, while ASCII is a computing standard that preserves the full detail of your text.

How do I decode a number code if I don't know which system was used?

Look at the number ranges. If all numbers are between 1 and 26, it's likely A1Z26. If numbers range from about 32 to 122, it's probably ASCII. If you see only 0s and 1s in groups of 8, it's binary. If you see dots and dashes, it's Morse code. Set the direction to Auto-Detect and try each system until the output makes sense.

How are spaces and punctuation handled in A1Z26 encoding?

In standard A1Z26, only the letters A-Z are encoded. Spaces between words are represented by a larger gap in the output, such as a slash (/) or double space. Punctuation is typically dropped since there are no standard number assignments for it. If you need to preserve punctuation and case, use ASCII encoding instead.

Can I use number codes for languages other than English?

A1Z26 is designed for the 26-letter English alphabet. For other Latin-alphabet languages with extra characters (like ñ, ü, or å), those special characters won't have standard A1Z26 mappings. However, ASCII and binary encoding work with any character that has an ASCII or Unicode representation, making them more versatile for non-English text.

Comments