ASCII to Decimal Converter
Convert ASCII text to decimal character codes instantly. Enter letters, numbers, spaces, punctuation, or control characters to see the decimal code assigned to each ASCII character.
What Is an ASCII to Decimal Converter?
An ASCII to decimal converter changes text characters into their corresponding decimal ASCII code values. ASCII, short for American Standard Code for Information Interchange, assigns a numerical code to each supported character.
For example, uppercase A has decimal ASCII code 65, lowercase a has code 97, digit 0 has code 48, and a normal space has code 32.
BinaryCon reads the text character by character and outputs each decimal code in the same order, making it easy to inspect how ordinary text is represented numerically.
ASCII character
A human-readable symbol such as A, 5, ?, space, or lowercase z.
Decimal code
The numeric value assigned to that character in the ASCII standard.
How to Use the ASCII to Decimal Converter
Type one character, a word, a sentence, numbers, spaces, or punctuation.
BinaryCon checks each character and reads its ASCII numeric value.
The main result displays the character codes as space-separated decimal values.
For shorter text, you can see every character mapped individually to its code.
Copy the result for programming, debugging, encoding exercises, documentation, or another BinaryCon converter.
Worked Example: Convert A to Decimal ASCII
Worked Example: Convert ABC to Decimal
B → 66
C → 67 Final result: ABC → 65 66 67
Example: Convert Hello to ASCII Decimal
| Character | Decimal ASCII | Hex | Binary |
|---|---|---|---|
| H | 72 | 48 | 01001000 |
| e | 101 | 65 | 01100101 |
| l | 108 | 6C | 01101100 |
| l | 108 | 6C | 01101100 |
| o | 111 | 6F | 01101111 |
Common ASCII Decimal Codes
| Character | Decimal | Hex | Description |
|---|---|---|---|
| space | 32 | 20 | Space |
| ! | 33 | 21 | Exclamation mark |
| “ | 34 | 22 | Quotation mark |
| # | 35 | 23 | Number sign |
| 0 | 48 | 30 | Digit zero |
| 1 | 49 | 31 | Digit one |
| 9 | 57 | 39 | Digit nine |
| A | 65 | 41 | Uppercase A |
| Z | 90 | 5A | Uppercase Z |
| a | 97 | 61 | Lowercase a |
| z | 122 | 7A | Lowercase z |
| ? | 63 | 3F | Question mark |
ASCII Decimal Range
Standard ASCII defines 128 numerical values, from decimal 0 through 127. These values are divided into control characters and printable characters.
| Range | Meaning |
|---|---|
| 0–31 | Control characters |
| 32 | Space |
| 33–47 | Punctuation and symbols |
| 48–57 | Digits 0–9 |
| 58–64 | Punctuation and symbols |
| 65–90 | Uppercase A–Z |
| 91–96 | Punctuation and symbols |
| 97–122 | Lowercase a–z |
| 123–126 | Symbols |
| 127 | DEL control character |
Uppercase A–Z ASCII Decimal Codes
| Letter | Decimal | Letter | Decimal |
|---|---|---|---|
| A | 65 | N | 78 |
| B | 66 | O | 79 |
| C | 67 | P | 80 |
| D | 68 | Q | 81 |
| E | 69 | R | 82 |
| F | 70 | S | 83 |
| G | 71 | T | 84 |
| H | 72 | U | 85 |
| I | 73 | V | 86 |
| J | 74 | W | 87 |
| K | 75 | X | 88 |
| L | 76 | Y | 89 |
| M | 77 | Z | 90 |
Lowercase a–z ASCII Decimal Codes
| Letter | Decimal | Letter | Decimal |
|---|---|---|---|
| a | 97 | n | 110 |
| b | 98 | o | 111 |
| c | 99 | p | 112 |
| d | 100 | q | 113 |
| e | 101 | r | 114 |
| f | 102 | s | 115 |
| g | 103 | t | 116 |
| h | 104 | u | 117 |
| i | 105 | v | 118 |
| j | 106 | w | 119 |
| k | 107 | x | 120 |
| l | 108 | y | 121 |
| m | 109 | z | 122 |
ASCII Digits 0–9 in Decimal
Numeric characters have their own ASCII codes. This is different from their mathematical values.
| Character | ASCII Decimal | Mathematical Value |
|---|---|---|
| 0 | 48 | 0 |
| 1 | 49 | 1 |
| 2 | 50 | 2 |
| 3 | 51 | 3 |
| 4 | 52 | 4 |
| 5 | 53 | 5 |
| 6 | 54 | 6 |
| 7 | 55 | 7 |
| 8 | 56 | 8 |
| 9 | 57 | 9 |
Why Character “5” Is Decimal 53 in ASCII
When you type the character 5, a computer does not necessarily
store the mathematical integer 5. In text, it stores a character code.
This distinction is important in programming because numeric text must often be parsed before mathematical operations are performed.
What Is the ASCII Decimal Code for Space?
A normal space character has ASCII decimal value 32.
So a phrase such as A B contains three ASCII characters:
space → 32
B → 66 Result: 65 32 66
ASCII Control Character Decimal Codes
Not every ASCII code produces a visible character. Values 0 through 31 and 127 are control codes.
| Control | Decimal | Common Meaning |
|---|---|---|
| NUL | 0 | Null |
| BEL | 7 | Bell |
| BS | 8 | Backspace |
| HT / TAB | 9 | Horizontal tab |
| LF | 10 | Line feed |
| CR | 13 | Carriage return |
| ESC | 27 | Escape |
| DEL | 127 | Delete |
ASCII Decimal vs Binary vs Hex
The character remains the same regardless of whether its numeric code is written in decimal, binary, hexadecimal, or octal.
| Character | Decimal | Binary | Hex |
|---|---|---|---|
| A | 65 | 01000001 | 41 |
| B | 66 | 01000010 | 42 |
| a | 97 | 01100001 | 61 |
| 0 | 48 | 00110000 | 30 |
| space | 32 | 00100000 | 20 |
| ! | 33 | 00100001 | 21 |
ASCII vs Unicode
ASCII is a small character encoding containing only 128 code values. Unicode defines a much larger character set covering modern languages, mathematical symbols, emoji, and many other characters.
ASCII characters are also represented consistently within common Unicode encodings such as UTF-8. For example, uppercase A remains decimal byte value 65.
Why ASCII Decimal Codes Matter
Programming
Character codes are useful for parsing, validation, sorting, transformations, low-level data processing, and debugging.
Networking
Text data transferred as bytes can be inspected through its decimal character values.
Embedded systems
Devices may send or receive characters as numeric byte codes over serial interfaces and other communication channels.
Computer science education
ASCII decimal conversion connects visible text with the numerical data stored and processed by computers.
Common ASCII to Decimal Conversion Mistakes
Character “7” has ASCII decimal value 55, not mathematical value 7.
A space is a character and has decimal ASCII code 32.
Uppercase A is 65, while lowercase a is 97.
Standard ASCII includes only code values 0 through 127.
Related BinaryCon Tools
Convert ASCII text into binary, hexadecimal, or octal, reverse decimal codes back to text, or continue with other encoding tools.
ASCII to Decimal Converter FAQs
How do you convert ASCII to decimal?
Look up the ASCII numeric code assigned to each character. For example, uppercase A has ASCII code 65, B is 66, and lowercase a is 97. For text containing multiple characters, convert them in their original order.
What is A in ASCII decimal?
Uppercase A has ASCII decimal code 65.
What is lowercase a in decimal ASCII?
Lowercase a has ASCII decimal code 97.
What is ABC in ASCII decimal?
A is 65, B is 66, and C is 67. Therefore ABC → 65 66 67.
What is Hello in ASCII decimal?
Hello becomes 72 101 108 108 111.
What is a space in ASCII decimal?
A normal space character has ASCII decimal value 32.
What is the ASCII decimal code for 0?
Text character “0” has ASCII decimal code 48.
What is the ASCII decimal code for 9?
Text character “9” has ASCII decimal code 57.
Why is character 5 ASCII code 53?
ASCII assigns consecutive values 48 through 57 to digit characters 0 through 9. Since 5 is the sixth digit in that sequence starting from 0, its code is 53.
What are the decimal ASCII codes for A to Z?
Uppercase English letters occupy the consecutive decimal range 65 through 90.
What are the ASCII decimal codes for a to z?
Lowercase English letters occupy decimal values 97 through 122.
What is ASCII decimal 10?
Decimal ASCII code 10 is the line feed control character, commonly used as part of a newline representation.
What is ASCII decimal 13?
Decimal code 13 represents carriage return, commonly abbreviated CR.
What is the highest standard ASCII decimal code?
Standard ASCII ranges from 0 through 127. Code 127 is DEL.
Can this converter process a full sentence?
Yes. Every ASCII character in the sentence, including spaces and punctuation, is converted independently to its decimal code.
Does this tool convert emoji to decimal?
No. Emoji are Unicode characters outside standard ASCII. This tool intentionally validates the ASCII range from 0 through 127.
Convert ASCII Text to Decimal Codes Instantly
Use BinaryCon to convert text characters into decimal ASCII codes, inspect character mappings, verify common ASCII values, and use free encoding tools without registration.