Home Conversion Number ASCII Text to Decimal

ASCII Text to Decimal Converter

To use ASCII text to decimal converter, type an ASCII value e.g. "friend" and click on the Convert button and you will get the decimal converted value "102 114 105 101 110 100". Every character is converted to its decimal value and in this way conversions of upto 128 ASCII characters can be done. Space is also considered as a valid value and it is converted to ASCII decimal value of 32.

ASCII Text to Decimal Conversion:

Decimal = 65 98 38 37

What is ASCII Text

Decimal Numeral System

In number system, decimal number system is called base-10 number system and it consists of numbers from 0 to 9.

Example 1:

Let's look at the number 582. In expanded form, it becomes:

(5 × 102) + (8 × 101) + (2 × 100) = 500 + 80 + 2 = 582

Example 2:

The decimal number 46.79 can be written as:

(4 × 101) + (6 × 100) + (7 × 10-1) + (9 × 10-2) = 40 + 6 + 0.7 + 0.09 = 46.79

How to Convert ASCII Text to Decimal

Consider the following step-by-step example for ASCII to decimal conversion:

1: Consider the text data is Dial Code: 189. Break down this text into individual characters i.e. D, i, a, l, (space), C, o, d, e, :, (space), 1, 8, 9

2: Find the decimal codes:

3: Combine together all the decimal codes for the final outcome: 68 105 97 108 32 67 111 100 101 58 32 49 56 57

Besides that it is important to remember that numbers mentioned in the text e.g. "345 1299" will be converted into "51 52 53 32 49 50 57 57".

Examples

Frequently Ask Questions: ASCII Text to Decimal Conversion

Q1: How do I convert text characters to decimal codes?

Each character in the text is mapped to its ASCII decimal value, which can be done manually using ASCII tables.

Q2: Can ASCII decimal codes represent special characters?

Yes, ASCII includes codes for punctuation, digits, and special symbols like !, @, #, etc.

Q3: What happens if I try to convert non-ASCII text to decimal values?

Q4: Why do computers convert text to decimal codes?

Computers process and store data numerically. Converting text to decimal codes allows machines to manipulate and transmit text data efficiently.

Q5: What is the decimal code for the ampersand "&" ?

The decimal value of the ampersand "&" is 38.

by Wasim Khan and it was last modified on

Related Conversions

Please find the related numeric conversions.