Hex to ASCII Text String Converter

Input hex bytes with any prefix, postfix, or delimiter, and then click the 'Convert' button. (For example, 45 78 61 6d 70 6C 65 21):


Text Encoding Formats:

  • ASCII Encoding:
    Every character in ASCII uses a consistent 1 byte.

  • UTF-8 Encoding:
    Characters in UTF-8 can vary in byte size, necessitating delimiters between hex numbers.

Hexadecimal to Text Conversion Guide:

  1. Procedure:

    • Retrieve the hexadecimal byte.
    • Change the hex byte to its decimal form.
    • Find the corresponding character in the ASCII table.
    • Proceed to the next hex byte.
  2. Sample Conversion: For the hexadecimal sequence "50 6C 61 6E 74 20 74 72 65 65 73":


    • Reference the ASCII table to match hex to characters.
      • 5016 gives 80, translating to "P".
      • 6C16 results in 108, corresponding to "l".
      • 6116 becomes 97, equivalent to "a".
      • And so forth...

    By decoding all hex bytes, the output text is:
    "Plant trees".

Guide to Hexadecimal-to-Text Conversion:

  1. Conversion Steps:

    • Retrieve the hexadecimal byte.
    • Turn the hex byte into its decimal equivalent.
    • Use the ASCII table to find the matching character.
    • Move to the subsequent hex byte.
  2. Utilizing the Hex to ASCII Text Converter:

    • Input your hex byte codes into the designated textbox.
    • Choose your desired character encoding.
    • Hit the 'Convert' button to get results.
  3. Turning Hex into English Text:

    • Extract the hexadecimal byte.
    • Translate the hex byte to its decimal value.
    • Reference the ASCII chart to find the corresponding English letter.
    • Continue with the following hex byte.
  4. Examples of Hex-to-Text Translations:

    • For 41 in Hexadecimal: Using the ASCII table:
      41 translates to 65, which is the 'A' character.

    • For 30 in Hexadecimal: Based on the ASCII table:
      30 converts to 48, corresponding to the '0' character.

How to convert hex string to ASCII?

1. Start with an empty final ASCII string.
2. Take the first two characters from the inputted hexadecimal string.
3. Change these characters into a base 16 number.
4. Translate this number into its ASCII character equivalent.
5. Append this character to the final string.

See also

Write how to improve this page

Follow Us