Hex To Binary
Hex To Binary expands each hexadecimal digit into its four-bit binary equivalent. It is useful when a value is documented in hex but a device or exercise needs the individual bits.
Share this page:
Hex To Binary expands each hexadecimal digit into its four-bit binary equivalent. It is useful when a value is documented in hex but a device or exercise needs the individual bits.
How Hex To Binary works
- Enter your hexadecimal numbers, separated by spaces if you have several.
- Click Convert to Binary.
- Copy the binary groups and keep them aligned with the original hex values.
Everyday uses
- Expand a hex bitmask so you can see which flags are set.
- Convert a memory address or register value into binary for a datasheet.
- Check a networking or hardware exercise that asks for bit-level detail.
Limits and privacy
Keep leading zeros when you paste. They are part of the byte width and can change how a device interprets the value.
What makes a difference
Each hex digit expands to exactly four bits, so the length of the output is always four times the number of digits. A missing leading zero in the source therefore changes the bit alignment.
Pitfalls to watch for
- Leaving the 0x prefix in the input.
- Converting an odd number of hex digits without agreeing on byte alignment.
Questions and answers
Why is each hex digit four bits?
Base 16 has sixteen possible values, which is exactly the range of four binary bits. Each digit therefore maps to one nibble.
What about the 0x prefix?
Remove the 0x prefix before pasting, or enter only the digits. The converter expects hexadecimal digits, not code syntax.
Can I convert several values at once?
Yes. Separate them with spaces so the output stays grouped and each result remains identifiable.
Related Tools
More free tools you may like