HEX to ASCII Converter



As the name suggests Hex to ASCII converter is used to convert Hex numbers to ASCII character or to convert ASCII characters to Hex numbers. To use this Hex to ASCII calculator, type a hex value into the Hex box and hit the Convert button. Similarly you can convert ASCII to Hex. If you are looking for a calculator to perform other arithmetic calculations using Hex numbers, then check out this Hex calculator, which can help you with addition, subtraction, multiplication and division of Hex numbers.


What are Hexadecimal (Hex) Numbers?

A hexadecimal number is a number expressed in the hexadecimal positional numeral system with a base of 16, which uses sixteen symbols: the numbers from 0 to 9 and letters A, B, C, D, E, F. Where A, B, C, D, E and F are single bit representations of decimal value 10 to 15. Hexadecimal uses a four-bit binary coding. This means that each digit in hexadecimal is the same as four digits in binary. Octal uses a three-bit binary system.


What is ASCII Text?

ASCII (American Standard Code for Information Interchange) is one of the most common character encoding standards. ASCII is a text encoding that was derived from telegraphic codes. It is currently widely used in electronic communication to transfer text.

The original ASCII is based on 128 characters. These include alphabets, numbers, symbols, and different special characters. 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 C is 67 and the lower case c is 99.


How does Hex to ASCII Conversion work?

To understand the how the calculator works let us look at an example of Hex to ASCII conversion. Let us convert the Hexadecimal number ‘506C616E74’ into ASCII. First make pairs starting from the right-hand side. If there is an extra digit, add zero at the left-hand side to complete the pair. Then use ASCII table to get character from ASCII code.

50 = “P"

6C = "l"

61 = "a"

6E = "n"

74 = "t"

For all the hex number output text will be: "Plant"

Now in this second example let us convert ASCII to Hex, that is we will convert the ASCII character “Plant” to Hex Code. From the ASCII table we know that:

P = 50, l = 6C, a = 61, n = 6E, t = 74

Thus the hex number of the given ASCII string is “506C616E74”.