Type a tool name, for example "keyword density" or "transcript".
Enter decimal numbers below to convert to ASCII, hex, binary, octal and Base64 in real time.
| Char | Dec | Hex | Binary | Octal |
|---|
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.
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.
| Decimal | Meaning | Example |
|---|---|---|
| 0 to 31 | Control codes | 9 is tab, 10 is new line |
| 32 | Space | Blank character |
| 48 to 57 | Digits 0 to 9 | 48 is 0 |
| 65 to 90 | Uppercase A to Z | 65 is A |
| 97 to 122 | Lowercase a to z | 97 is a |
| 127 | Delete control code | Not 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.
You convert decimal numbers to ASCII by pasting them into the Decimal box and reading the ASCII Text box. Follow these steps:
The other boxes are editable too, so you can start from text, hex, binary, octal or Base64 and read the decimal values back.
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:
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.
Each box answers a different question about the same bytes, so check the one that matches your goal.
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.
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 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.
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.
Anyone who meets numbers where text should be can use it. Typical situations include:
chr(72) returns H. In Excel, =CHAR(72) does the same. Paste the same numbers here to confirm the whole string.Working in several number bases often? The binary calculator helps once you have the bit patterns and need to add, shift or mask them.
Most bad results come from input formatting, not from the conversion itself. Check these common problems first.
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.
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.
Your report has been submitted. We will look into this issue.
A VPN changes your network exit. It does not guarantee anonymity.
Themes, plugins, code, video, audio, graphics & more from 90,000+ authors.
Web Development
Design & Media
Unlimited Access
Explore Envato Market