What is the Hexadecimal to Binary Converter?
This tool expands hexadecimal values to reveal their underlying binary bit patterns.
Why Convert Hex to Binary?
Analyze Bit Flags
Debug Hardware
Learn Computing
Work with Masks
Direct Conversion
Each hex digit converts to exactly 4 binary digits, so simply replace each one in place.
2F → 2 = 0010, F = 1111 → 00101111.How to Use
Enter the Hex Number
Type the digits 0–9 and the letters A–F. Both uppercase and lowercase are accepted.
View the Binary Result
Each hex digit becomes 4 bits, with the binary output shown instantly.
Analyze the Bits
Read the exact bit pattern, grouped in fours for easy reference.
Common Patterns
| Hex | Binary | Meaning |
|---|---|---|
0F | 00001111 | low nibble mask |
F0 | 11110000 | high nibble mask |
AA | 10101010 | alternating bits |
55 | 01010101 | alternating bits |
Frequently Asked Questions
Why does each hex digit become 4 bits?
Because 16 = 2⁴. A single hex digit can hold 16 values (0–F), exactly the range of 4 binary bits.
Is the input case sensitive?
No. Both uppercase (FF) and lowercase (ff) produce the same binary result.
Why is the output grouped into fours?
Grouping in fours lines each nibble up with its original hex digit, making the bit pattern easy to read and verify.
What does 0F do as a bit mask?
0F is 00001111. Using it with a bitwise AND keeps the lowest four bits and clears the rest — a common way to isolate the low nibble.
No comments yet. Be the first to comment!