Text to Binary / Hex Converter

Convert text to binary or hexadecimal and back, with a full character breakdown table.

Result
01001000 01100101 01101100 01101100 01101111 00101100 00100000 01010111 01101111 01110010 01101100 01100100 00100001
CharDecimalBinaryHex
H720100100048
e1010110010165
l108011011006C
l108011011006C
o111011011116F
,44001011002C
320010000020
W870101011157
o111011011116F
r1140111001072
l108011011006C
d1000110010064
!330010000121

Frequently Asked Questions

Each character in the text is converted to its Unicode code point (a number), which is then expressed as an 8-bit binary string. For example, the letter 'A' has code point 65, which is 01000001 in binary.
Hexadecimal (hex) is a base-16 number system using digits 0-9 and letters A-F. Each hex digit represents 4 bits, so one byte (8 bits) is represented by two hex characters. For example, the letter 'A' (65 decimal) is 41 in hex.
This tool handles standard ASCII characters (0-255) perfectly. For extended Unicode characters beyond the basic ASCII range, the binary representation will use more than 8 bits to represent the full code point.
The binary output shows each character as a space-separated 8-bit binary string. For example, 'Hi' becomes '01001000 01101001'. The Hex output uses space-separated two-character hex codes.
Switch to 'Binary → Text' mode and enter space-separated 8-bit binary strings. The tool will convert each binary value back to its corresponding character. Each group of 8 digits represents one character.