Convert hexadecimal values to their binary bit pattern. Expands each hex digit to 4 binary bits and concatenates the result. Useful for bitmasking, firmware, and networking calculations.
Key Features
Expands each hexadecimal character into exactly 4 binary bits
Option to format output into 4-bit nibbles or 8-bit byte groups
Supports both uppercase and lowercase hex strings with or without prefixes
Ideal for debugging network packet headers, registers, and bitmasks
How to Use
Type or paste your hex value into the input field.
Select grouping options (e.g. space every 4 bits or 8 bits).
Click "Convert to Binary" to expand the digits.
Inspect the complete binary bit pattern.
Copy the binary sequence for your project.
Example
Sample input
FF
Sample output
11111111
Edge Cases
Single hex digit expands to 4 bits
Mixed case hex digits
Colon-separated byte pairs
Frequently Asked Questions
Why does each hex character produce 4 binary digits?
In base-16, values range from 0 to 15 (decimal). 4 binary bits (2^4 = 16) are required and sufficient to represent every possible hexadecimal digit.
Does the output retain leading zeros for small values?
Yes. Each hex digit always expands to a full 4-bit nibble (for example, "3" becomes "0011"), preserving register widths.
Can this tool process memory dumps and firmware addresses?
Yes. You can paste long sequences of hexadecimal bytes to analyze their bit patterns for flags and registers.
Privacy notice: when you run this tool, your input is sent over HTTPS to our server, processed in memory and returned. It is not stored or logged. Avoid pasting live secrets such as private keys or passwords.