Home Conversion Number Hex to ASCII Text

Hex to ASCII Text Converter

To use Hex to ASCII text converter, type the hexadecimal values e.g. "70 6C 61 6E 74 73" and click on the Convert button and you will get the ASCII text value of "plants" on right side. All the hex values should be separated by space delimiter to get the correct result.

Hex to ASCII Text Conversion:

ASCII Text = efg

Hexadecimal Numeral System

Each hex digit can be represented by four binary bits also called nibble. For example, 7 can be represented as 0111 and 4 can be represented as 0100. 1 byte = 8 bits = 2 hex digits.

Example:

Hex number "4C" can be represented as:

(4 × 161) + (12 × 160) = (64 + 12) = 76 (decimal)

Why Convert Hex to ASCII?

It is essential for data decoding to convert encoded hex data into human-readable text for easier interpretation. Moreover, it is used for file analysis to reveal readable content in hexdumps, aiding debugging and reverse engineering. It can also be used to inspect and understand protocol messages, debug communication issues and detect malacious payloads.

How to Convert Hex to ASCII Text

Follow the following steps:

Hex to ASCII Text Examples

Example 1: Convert the hex bytes "4B 65 79 62 6F 61 72 64" to ASCII text.

Hex Hex to Decimal Decimal ASCII
161 160
161
411(B) = (4 × 16) + 11 75 K
65 = (6 × 16) + 5 101 e
79 = (7 × 16) + 9 121 y
62 = (6 × 16) + 2 98 b
615(F) = (6 × 16) + 15 111 o
61 = (6 × 16) + 1 97 a
72 = (7 × 16) + 2 114 r
64 = (6 × 16) + 4 100 d
  • Final ASCII value is: Keyboard
  • Example 2: Convert the hex bytes "48 69 20 48 6f 77 20 61 72 65 20 59 6f 75" to ASCII text.

    Hex Hex to Decimal Decimal ASCII
    161 160
    48(4 × 16) + 872H
    69(6 × 16) + 9105i
    20(2 × 16) + 032[space]
    48(4 × 16) + 872H
    615(F)(6 × 16) + 15111o
    77(7 × 16) + 7119w
    20(2 × 16) + 032[space]
    61(6 × 16) + 197a
    72(7 × 16) + 2114r
    65(6 × 16) + 5101e
    20(2 × 16) + 032[space]
    59(5 × 16) + 989Y
    615(F)(6 × 16) + 15111o
    75(7 × 16) + 5117u
  • ASCII value is: Hi How are You
  • Example 3: Convert "47 69 76 65 20 6d 65 20 31 30 30 30 24" to ASCII chars.

    Hex Hex to Decimal Decimal ASCII
    161 160
    47(4 × 16) + 771G
    69(6 × 16) + 9105i
    76(7 × 16) + 6118v
    65(6 × 16) + 5101e
    20(2 × 16) + 032[space]
    613(D)(6 × 16) + 13109m
    65(6 × 16) + 5101e
    20(2 × 16) + 032[space]
    31(3 × 16) + 1491
    30(3 × 16) + 0480
    30(3 × 16) + 0480
    30(3 × 16) + 0480
    24(2 × 16) + 436$
  • Final ASCII text: Give me 1000$
  • Example 4: Convert "35 30 25 20 4D 61 72 6B 73" to ASCII text.

    Hex Hex to Decimal Decimal ASCII
    161 160
    35(3 × 16) + 5535
    30(3 × 16) + 0480
    25(2 × 16) + 537%
    20(2 × 16) + 032[space]
    413(D)(4 × 16) + 1377M
    61(6 × 16) + 197a
    72(7 × 16) + 2114r
    611(B)(6 × 16) + 11107k
    73(7 × 16) + 3115s
  • Final Text Result: 50% Marks
  • Frequently Ask Questions: Hex to Text Conversion

    Q1: How does hex to ASCII text conversion work?

    It converts each two-digit hex number to decimal, then finds the ASCII character matching that decimal code.

    Q2: Can hex values represent characters outside ASCII?

    Q3: What if the hex string has odd length, can it be converted to ASCII?

    Hex strings should have an even number of digits; an odd length usually means missing or corrupted data. You can also do the padding on the left side with the printable range of hex (20 ~ 7F). For example if the hex value is "3 2F" you can adjust it to "23 2F" to properly convert it into readable text otherwise it will result in an erroneous result.

    Q4: How to convert the hex value "24" to ASCII char?

    By using ASCII table: 2416 = (2 × 161) + (4 × 160) = (32 + 4) = 36 (decimal) = '$'

    Q5: Can hex to ASCII conversion be used in cybersecurity?

    Yes it can be really helpful to analyze the computer's memory or hard drive content for malware analysis, file content decoding and reverse engineering.

    by Wasim Khan and it was last modified on

    Related Conversions

    Please find the related numeric conversions.