Hex to Binary
Enter a hexadecimal number and convert it to binary, decimal, and octal. Results appear instantly in your browser.
Hex to Binary Converter
This tool converts hexadecimal (base 16) numbers into their binary (base 2), decimal (base 10), and octal (base 8) equivalents. It is useful when you need to see the individual bit pattern of a hex value for debugging, hardware programming, or protocol analysis.
The conversion runs entirely in your browser using JavaScript's BigNumber library for precision.
How to use
- Type or paste a hexadecimal number into the input field (e.g.
1A2ForFF). - Click Convert to see the binary, decimal, and octal results.
- Use the Copy button to copy the binary result to your clipboard.
- Click Clear to reset all fields.
Hex to binary relationship
Each hexadecimal digit maps directly to four binary digits. This makes hex a convenient shorthand for binary: F = 1111, A = 1010, and so on. For example, 1A2F in hex becomes 1101000101111 in binary.
Example
Hexadecimal: 1A2F Binary: 1101000101111 Decimal: 6703 Octal: 15057