Ascii Text to Decimal Converter
In order to use this ascii text to decimal converter tool, type an ascii value like "love" to get "108 111 118 101" and then hit the Convert button. This is the way you can convert up to 128 ascii text to decimal characters.
ASCII Text
ASCII (American Standard Code for Information Interchange) is one of the most common character encoding standards. Originally developed from telegraphic codes, ASCII is now widely used in electronic communication for conveying text.
As computers can only understand numbers, the ASCII code represents text (characters) with different numbers. This is how a computer ‘understands’ and shows text.
The original ASCII is based on 128 characters. These are the 26 letters of the English alphabet (both in lower and upper cases); numbers from 0 to 9; and various punctuation marks. In the ASCII code, each of these characters are assigned a decimal number from 0 to 127. For example, the ASCII representation of upper case A is 65 and the lower case a is 97.
Decimal System
The decimal numeral system is the most commonly used and the standard system in daily life. It uses the number 10 as its base (radix). Therefore, it has 10 symbols: The numbers from 0 to 9; namely 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9.
As one of the oldest known numeral systems, the decimal numeral system has been used by many ancient civilizations. The difficulty of representing very large numbers in the decimal system was overcome by the Hindu–Arabic numeral system. The Hindu-Arabic numeral system gives positions to the digits in a number and this method works by using powers of the base 10; digits are raised to the nth power, in accordance with their position.
For instance, take the number 2345.67 in the decimal system:
- The digit 5 is in the position of ones (100, which equals 1),
- 4 is in the position of tens (101)
- 3 is in the position of hundreds (102)
- 2 is in the position of thousands (103)
- Meanwhile, the digit 6 after the decimal point is in the tenths (1/10, which is 10-1) and 7 is in the hundredths (1/100, which is 10-2) position
- Thus, the number 2345.67 can also be represented as follows: (2 * 103) + (3 * 102) + (4 * 101) + (5 * 100) + (6 * 10-1) + (7 * 10-2)
How to Convert ASCII Text to Decimal
Converting ASCII text to decimal numbers is actually quite straightforward. You only need an ASCII table to do this conversion (you can of course memorize the table as well!).
This is because ASCII is already a code that represents letters in decimal numbers. The original ASCII represents 128 characters in decimal numbers. Each of these characters (letters of the English alphabet, numbers and various punctuation marks) are assigned a decimal number from 0 to 127.
For example, the ASCII representation for uppercase A is 65 and lower case a is 97. Therefore, converting from ASCII text to decimal only requires looking up the code from the ASCII table.
hello = (104 101 108 108 111)10 Hello = (72 101 108 108 111)10 john doe = (106 111 104 110 32 100 111 101)10 love = (108 111 118 101)10
Ascii to Decimal Conversion Table
Ascii | Hexadecimal | Binary | Decimal |
---|---|---|---|
Space | 20 | 00100000 | 32 |
! | 21 | 00100001 | 33 |
" | 22 | 00100010 | 34 |
# | 23 | 00100011 | 35 |
$ | 24 | 00100100 | 36 |
% | 25 | 00100101 | 37 |
& | 26 | 00100110 | 38 |
' | 27 | 00100111 | 39 |
( | 28 | 00101000 | 40 |
) | 29 | 00101001 | 41 |
* | 2A | 00101010 | 42 |
+ | 2B | 00101011 | 43 |
, | 2C | 00101100 | 44 |
- | 2D | 00101101 | 45 |
. | 2E | 00101110 | 46 |
/ | 2F | 00101111 | 47 |
0 | 30 | 00110000 | 48 |
1 | 31 | 00110001 | 49 |
2 | 32 | 00110010 | 50 |
3 | 33 | 00110011 | 51 |
4 | 34 | 00110100 | 52 |
5 | 35 | 00110101 | 53 |
6 | 36 | 00110110 | 54 |
7 | 37 | 00110111 | 55 |
8 | 38 | 00111000 | 56 |
9 | 39 | 00111001 | 57 |
: | 3A | 00111010 | 58 |
; | 3B | 00111011 | 59 |
< | 3C | 00111100 | 60 |
= | 3D | 00111101 | 61 |
> | 3E | 00111110 | 62 |
? | 3F | 00111111 | 63 |
@ | 40 | 01000000 | 64 |
A | 41 | 01000001 | 65 |
B | 42 | 01000010 | 66 |
C | 43 | 01000011 | 67 |
D | 44 | 01000100 | 68 |
E | 45 | 01000101 | 69 |
F | 46 | 01000110 | 70 |
G | 47 | 01000111 | 71 |
H | 48 | 01001000 | 72 |
I | 49 | 01001001 | 73 |
J | 4A | 01001010 | 74 |
K | 4B | 01001011 | 75 |
L | 4C | 01001100 | 76 |
M | 4D | 01001101 | 77 |
N | 4E | 01001110 | 78 |
O | 4F | 01001111 | 79 |
P | 50 | 01010000 | 80 |
Q | 51 | 01010001 | 81 |
R | 52 | 01010010 | 82 |
S | 53 | 01010011 | 83 |
T | 54 | 01010100 | 84 |
U | 55 | 01010101 | 85 |
V | 56 | 01010110 | 86 |
W | 57 | 01010111 | 87 |
X | 58 | 01011000 | 88 |
Y | 59 | 01011001 | 89 |
Z | 5A | 01011010 | 90 |
[ | 5B | 01011011 | 91 |
\ | 5C | 01011100 | 92 |
] | 5D | 01011101 | 93 |
^ | 5E | 01011110 | 94 |
_ | 5F | 01011111 | 95 |
` | 60 | 01100000 | 96 |
a | 61 | 01100001 | 97 |
b | 62 | 01100010 | 98 |
c | 63 | 01100011 | 99 |
d | 64 | 01100100 | 100 |
e | 65 | 01100101 | 101 |
f | 66 | 01100110 | 102 |
g | 67 | 01100111 | 103 |
h | 68 | 01101000 | 104 |
i | 69 | 01101001 | 105 |
j | 6A | 01101010 | 106 |
k | 6B | 01101011 | 107 |
l | 6C | 01101100 | 108 |
m | 6D | 01101101 | 109 |
n | 6E | 01101110 | 110 |
o | 6F | 01101111 | 111 |
p | 70 | 01110000 | 112 |
q | 71 | 01110001 | 113 |
r | 72 | 01110010 | 114 |
s | 73 | 01110011 | 115 |
t | 74 | 01110100 | 116 |
u | 75 | 01110101 | 117 |
v | 76 | 01110110 | 118 |
w | 77 | 01110111 | 119 |
x | 78 | 01111000 | 120 |
y | 79 | 01111001 | 121 |
z | 7A | 01111010 | 122 |
{ | 7B | 01111011 | 123 |
| | 7C | 01111100 | 124 |
} | 7D | 01111101 | 125 |
~ | 7E | 01111110 | 126 |
DEL | 7F | 01111111 | 127 |
Recent Comments
Latin1 is only one possible codepage ;)
add Latin1 ASCII(ISO-8859-1)decimal goes from 128 to 255