Hexadecimal to Binary Converter
Convert hexadecimal (base 16) to binary (base 2) with 4-bit expansion shown.
How to use it
- Enter hexadecimal digits (0-9, A-F) to get binary.
Examples
| FF | 11111111 |
| 1A | 11010 |
Hexadecimal (base 16) uses digits 0-9 and letters A-F to represent values 0 through 15. Because 16 is 2⁴, each hex digit expands to exactly 4 binary bits, which makes hex-to-binary a simple digit-by-digit lookup rather than long division.
Convert each hex character to its 4-bit binary value and concatenate them in order.
Worked example
FF: F = 15 = 1111 in binary, so FF (two F's) = 11111111.
1A: 1 = 0001, A = 10 = 1010. Concatenated: 00011010, which strips leading zeros to 11010.
Where this comes up
- Decoding hex color codes, memory addresses or MAC addresses down to their raw bit pattern
- Reverse-engineering firmware or network protocols where values are logged in hex
- Verifying computer science homework or interview answers on number-base conversion
Runs entirely in your browser. Nothing you type is uploaded, logged or shared.
Last updated 18 August 2026