Direct answer
Each hex digit maps to exactly 4 bits: 0=0000, F=1111. Paste hex below to see the binary expansion.
Ad
HEX input
Binary output
About HEX → Binary
Hex is a compact way to write binary. One hex digit = 4 bits = 1 nibble. This makes hex the natural way to read bit patterns: 0xA5 = 10100101 is far easier to verify than 165 = 10100101.
Ad
Frequently asked questions
Why is hex preferred over binary in code?
A 32-bit integer is 8 hex digits or 32 binary digits. Hex is 4× more compact and humans can quickly map each digit back to 4 bits mentally.
How do I read hex as bits?
Split each hex digit and expand: F=1111, E=1110, A=1010, etc. So 0xFE = 1111 1110.