Hex to Binary Converter — Free Online Hexadecimal to Binary
Convert hexadecimal (base 16) to binary (base 2) instantly — each hex digit maps to exactly 4 binary bits.
Tip: Enter multiple values (one per line) for batch conversion.
Frequently Asked Questions
Hexadecimal to Binary Conversion Explained
Hexadecimal and binary have a special relationship: every hex digit maps to exactly 4 binary bits. This makes hex-to-binary conversion trivially easy once you've memorized the 16 mappings. It also explains why hex is universally used as a human-readable shorthand for binary data.
The conversion is a direct substitution: for each hex digit, write the 4-bit binary equivalent. For 0xA3: A=1010, 3=0011, giving 10100011. The full 8-bit byte 0xFF = 11111111. This tool converts multi-digit hex values by chaining these 4-bit substitutions via parseInt(hex, 16).toString(2).
Understanding this mapping is invaluable for reading binary protocols, interpreting TLS cipher suites, analyzing network captures, working with bitmask flags in low-level code, and examining hash outputs. Every two hex digits is one byte — once you internalize this, reading hex data becomes intuitive.