Ascii Text to Hex Converter

Text (ASCII) to hex converter helps you to convert a ASCII text to hex values. To use this converter, type any text in the first area below. Hit the blue conversion button and then you will see the hex result of the conversion in the second area.


Hex number

A hexadecimal number system (hex) is a positional numeral system with base of 16. It uses 16 different symbols 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D and F (or alternatively a – f). Every hexadecimal digit represents 4 binary digits, called nibble. Two nibbles are a byte which is 8 bits. Hexadecimal numbers provide a more human-friendly representation of binary coded values. The prefix 0x is used in C and related languages, which would denote (FA)16 value by 0xFA.

ASCII text

ASCII (American Standard Code for Information Interchange) is a character encoding standard for electronic communication. ASCII codes represent text in computers. The standard ASCII character set uses 7 bits for each character. There are also several larger 8 bits character sets. These sets have 128 additional characters, which are used to represent non-English chars, graphics or mathematics symbols. Most of the modern character-encoding schemes are based on ASCII standard but they support a lot of additional characters. For instance, in UTF-8 (dominant encoding on the WWW) the first 128 Unicode code points are the ASCII characters. It means that any ASCII text is also a UTF-8 text.

ASCII text to Hex examples

  • a = (61)hex
  • hex = (68 65 78)hex
  • ascii = (61 73 63 69 69)hex