Hex to Binary Converter
Convert hexadecimal numbers to binary instantly. Enter any base-16 value, including optional 0x prefixes, and get the binary result immediately for programming, networking, electronics, and computer science tasks.
Quick Hex to Binary Examples
| Hexadecimal | Binary |
|---|---|
A | 1010 |
1A | 00011010 |
2F | 00101111 |
7B | 01111011 |
FF | 11111111 |
100 | 000100000000 |
ABC | 101010111100 |
FFFF | 1111111111111111 |
How to Convert Hexadecimal to Binary
Each hexadecimal digit corresponds to exactly 4 binary bits. Replace every hex digit with its 4-bit binary equivalent and join the groups together.
Example: Convert 2F to binary
2 → 0010
F → 1111
Combine the groups → 00101111
Therefore, 2F₁₆ = 00101111₂.
Common Uses of Hex to Binary Conversion
Programming: view binary values represented by hexadecimal numbers.
Digital electronics: analyze binary signals and logic states.
Networking: inspect packet data and MAC addresses.
Computer science: learn relationships between number systems.
Frequently Asked Questions
What is hexadecimal?
Hexadecimal is a base-16 number system that uses digits
0–9 and letters A–F.
Why does each hex digit become 4 binary bits?
A single hex digit can represent values from 0 to 15, which requires exactly 4 bits in binary.
What is FF in binary?
FF equals 11111111 in binary.
Does the converter accept lowercase letters?
Yes. Values such as
ff and FF are treated the same.
Can I enter a value with 0x?
Yes. Inputs such as
0x1A3F are supported.