ASCII to text
Turn decimal character codes into text.
Try it
Output
The result appears here.
About ASCII to text
An ASCII to text converter turns a list of decimal character codes into the characters they stand for. Enter codes such as 72 101 108 108 111 and the tool returns Hello. ASCII assigns a number to each basic English letter, digit and punctuation mark, and the converter reads those numbers back into text. It is useful for decoding puzzles, checking data files and understanding how text is stored.
The converter accepts codes beyond the basic seven-bit ASCII range, up to the full Unicode range, so it also handles accented letters, symbols and many scripts. Each code is treated as a Unicode code point, which covers ASCII as a subset.
How to use ASCII to text
- Enter the decimal codes separated by spaces or commas.
- Check that each code is a whole number from 0 to 1,114,111.
- Read the text that the codes produce.
- Copy the result, and check any control characters that may not display.
How the codes map to characters
In ASCII, the uppercase letters run from 65 for A to 90 for Z, and the lowercase letters run from 97 for a to 122 for z. Digits start at 48 for zero. The gap of 32 between uppercase and lowercase explains why a single bit changes the case of a letter.
Codes below 32 are control characters. They include line feeds and tabs, so a list of codes may produce text that looks broken or spreads across lines. Treat such output with care.
Practical uses
Developers often meet lists of character codes in error messages, network packets and file headers. Converting them to text reveals the message quickly. Puzzle solvers and students use the same mapping in classic cipher exercises.
Check the source of the codes before decoding. If the list was generated with a different encoding, such as a regional code page, the same numbers may produce different letters.
Many puzzle books and early computer manuals use ASCII codes to hide messages in plain sight. Decoding such a message is a good way to practise the mapping between numbers and letters, and it shows how much of computing rests on agreed numbering systems.
Lists of codes sometimes arrive separated by commas, spaces or line breaks. The converter accepts commas and spaces, so paste the list as it appears. Check the first and last values if the output looks cut short, since a stray character can shift the result.
The ASCII standard was first published in the 1960s and was later extended to cover more characters. Modern systems use Unicode, which keeps the ASCII codes for the basic characters, so the first 128 values read the same in both systems.
When decoding a message in a puzzle, try the most common words such as THE or AND to test whether the mapping is right. A correct guess reveals a readable phrase at once, while a wrong one produces nonsense.
Frequently asked questions
Can I use hexadecimal codes?
Use the hex to text converter for hexadecimal input. This tool expects decimal numbers.
Why do some codes produce no visible character?
Codes such as 0 or 9 are control characters that do not show as letters. They still exist in the text.
Is the output the same as UTF-8 bytes?
Not always. This tool maps each number to one character. UTF-8 uses several bytes for many characters, so a byte list needs decoding as UTF-8.
Related tools
Tools that pair well with this one.