Decimal to ASCII Converter - Free Online Tool

Decimal to ASCII

Enter decimal numbers below to convert to ASCII, hex, binary, octal and Base64 in real time.

0 Characters
0 B
Checksum: 00

This decimal to ASCII converter turns decimal character codes into readable text. Paste numbers such as 72 101 108 108 111 and the tool shows the matching ASCII text, plus the same data as hexadecimal, binary, octal and Base64. It suits students, programmers and anyone decoding a list of numeric character codes.

What Is Decimal ASCII?

Decimal ASCII is the base-10 number assigned to a character in the ASCII standard. ASCII (American Standard Code for Information Interchange) maps the numbers 0 to 127 to letters, digits, punctuation and control codes, so the number 65 always stands for the capital letter A.

Computers store each of those numbers as one byte. When a log file, a puzzle or a textbook exercise gives you a row of numbers instead of text, you are looking at decimal character codes. Converting them back to text is a lookup in the ASCII table, and this page does that lookup for you.

The ranges worth memorizing

DecimalMeaningExample
0 to 31Control codes9 is tab, 10 is new line
32SpaceBlank character
48 to 57Digits 0 to 948 is 0
65 to 90Uppercase A to Z65 is A
97 to 122Lowercase a to z97 is a
127Delete control codeNot printable

One handy pattern: a lowercase letter is always its uppercase partner plus 32. So 65 is A and 97 is a, 66 is B and 98 is b.

How to Use the Decimal to ASCII Converter

You convert decimal numbers to ASCII by pasting them into the Decimal box and reading the ASCII Text box. Follow these steps:

  1. Type or paste your codes into the Decimal box. Separate values with a space, comma or line break. Click Sample if you want a ready-made example.
  2. Click Convert. The results also refresh in real time as you type, so the button is a quick way to force an update.
  3. Read the decoded text in the ASCII Text box. The Hexadecimal, Binary, Octal and Base64 boxes fill in at the same time.
  4. Choose a Delimiter (Space, Comma, New Line or Custom) to control how the numeric outputs are separated. For Custom, type your own character, such as a pipe, in the Custom Delimiter field.
  5. Tick 0x / 0b prefix if you want hex values written as 0x48 and binary values written as 0b01001000.
  6. Press the copy button beside any box to grab that result. Use Show Character Table to open a Char, Dec, Hex, Binary and Octal reference, and Clear to start over.

The other boxes are editable too, so you can start from text, hex, binary, octal or Base64 and read the decimal values back.

Worked Example: Decoding Hello, World!

A short message shows how every output relates to the input. Enter this into the Decimal box:

72 101 108 108 111 44 32 87 111 114 108 100 33

With the Space delimiter selected, the tool returns:

  • ASCII Text: Hello, World!
  • Hexadecimal: 48 65 6C 6C 6F 2C 20 57 6F 72 6C 64 21
  • Base64: SGVsbG8sIFdvcmxkIQ==
  • Characters: 13, with a size of 13 B
  • Checksum: 69

Here is how to read it. 72 is H, 101 is e, 44 is a comma and 32 is the space between the words. The checksum adds all 13 values (they total 1129), divides by 256 and keeps the remainder, 105. That remainder is shown as two hex digits, which is 69.

Switch the delimiter to Comma and the hex output becomes 48,65,6C,6C,6F and so on. Turn on the prefix option and it becomes 0x48,0x65,0x6C. The text itself never changes, only the formatting of the numbers.

How Do You Read and Act on the Results?

Each box answers a different question about the same bytes, so check the one that matches your goal.

ASCII Text

This is the decoded message. If part of it looks blank, you probably have control codes (0 to 31) or a space (32). Code 9 is a tab and code 10 starts a new line, so a list containing 10 will wrap onto a second line in the box.

Hexadecimal, binary and octal

These show every value padded to a fixed width: two hex digits, eight binary digits and three octal digits. Hex is the format most debuggers and memory dumps use, so copy it when you need to compare against one. For longer binary strings you can also try a dedicated binary to text translator.

Base64

Base64 packs every 3 bytes into 4 printable characters. Thirteen bytes therefore become 20 characters, with == padding at the end when the length is not a multiple of 3. Use it when you need to embed the text in an email header, a data field or a URL parameter.

Characters, size and checksum

The character count should equal the number of codes you entered. If it is lower than expected, a separator is missing or a value was not recognized. The checksum is a quick sanity check, not a security hash: if two copies of the same message show different checksums, they differ somewhere.

Who Needs a Decimal to ASCII Converter?

Anyone who meets numbers where text should be can use it. Typical situations include:

  • Computer science students checking homework on character encoding or practicing manual conversion with the ASCII table.
  • Programmers verifying output from code. In Python, chr(72) returns H. In Excel, =CHAR(72) does the same. Paste the same numbers here to confirm the whole string.
  • Developers reading logs or network captures that print byte values in decimal.
  • Puzzle and capture-the-flag players decoding messages hidden as lists of numbers.
  • Embedded and assembly learners who need decimal, hex and binary views of the same byte side by side.

Working in several number bases often? The binary calculator helps once you have the bit patterns and need to add, shift or mask them.

Best Practices and Troubleshooting

Most bad results come from input formatting, not from the conversion itself. Check these common problems first.

  • Missing separators. The string 72101108 is ambiguous because codes can have two or three digits. Put a space or comma between every value.
  • Mixing up decimal and hex. The number 48 is the digit 0 in decimal but the letter H in hex. Make sure your source really uses decimal.
  • Letters or symbols in the Decimal box. Stray text triggers an error message. Remove anything that is not a number or a separator.
  • Negative numbers or values above 255. A byte only holds 0 to 255, so these are not valid character codes. Recheck the source data.
  • A result that looks empty. Codes such as 0, 9, 10 and 32 are real characters that do not print a visible shape. Compare the Characters count with your input to confirm they were decoded.
  • Strange symbols for 128 to 255. These extended values depend on the character set the data was written in, so they can look different elsewhere.

Keep the Character Table open while you work. Matching a few codes by eye, such as 65 for A and 97 for a, is the fastest way to catch an input mistake.

Limitations to Keep in Mind

ASCII covers only 128 characters: English letters, digits, common punctuation and control codes. Accented letters, non-Latin alphabets and emoji need Unicode, where one character can take more than one byte, so a single decimal number cannot represent them.

For codes from 128 to 255, the displayed character and the Base64 result may not match what another program expects. If you need results that read the same everywhere, stay in the 0 to 127 range. The checksum is a simple sum of byte values and should not be used to prove data is authentic.

Decoding a list of character codes should take seconds, not a trip through an ASCII chart. Paste your numbers into the converter above, copy the format you need, and explore related utilities in the online calculators and utilities collection when your next task involves another number system.

Frequently Asked Questions

How do I convert decimal to ASCII?
Paste your decimal codes into the Decimal box and click Convert. The ASCII Text box shows the characters right away. For example, 72 101 108 108 111 becomes Hello. Separate codes with spaces, commas or line breaks, or click Sample to load a ready example.
What is the ASCII code that corresponds to decimal 9?
Decimal 9 is the horizontal tab control character. It prints no visible symbol, so the ASCII Text box shows empty space. Related codes are 10 for a new line, 13 for carriage return and 32 for the regular space.
How do I convert decimal to ASCII in Python or Excel?
In Python, chr(72) returns H. In Excel, =CHAR(72) returns the same letter. Both handle one code at a time, so paste a whole list of numbers into this converter to check the full string quickly.
What range of decimal numbers can the decimal to ASCII converter handle?
Standard ASCII covers decimal 0 to 127. Values from 128 to 255 are extended characters whose appearance depends on the character set, so stick to 0 to 127 when you need the same result everywhere. Invalid input shows an error message.
What do the character count, size and checksum mean?
The count shows how many codes were decoded, the size shows the total bytes, and the checksum is the sum of all values divided by 256, shown as two hex digits. Hello, World! gives 13 characters, 13 B and checksum 69.
Is this decimal to ASCII converter free, and does it show other formats?
Yes, it is free and needs no sign-in. Besides ASCII text, it shows hexadecimal, binary, octal and Base64, with an optional 0x and 0b prefix, a choice of delimiters and a Character Table for reference.
Recommended

Explore VPN options

A VPN changes your network exit. It does not guarantee anonymity.

Hide Your IP Encryption Network coverage
Protect My IP Now