About this tool
Hexadecimal (base 16) uses 0–9 and A–F. Each hex digit is exactly four bits, so hex is a compact way to write bytes, memory addresses and colours. Binary (base 2) uses only the digits 0 and 1. Every value stored in a computer is ultimately binary. This converter handles numbers of any length using big-integer arithmetic, plus fractional parts.
How to use the Hexadecimal to Binary Converter
- Enter the hexadecimal number.
- The result updates instantly, with the working shown underneath.
- Use Copy to grab a result, or Reset to start again.
How it works
Because 16 = 2⁴, each hex digit corresponds to exactly four binary digits. Group bits in fours from the right (padding with zeros) and translate each group, or expand each hex digit into four bits.
Formula
Frequently asked questions
What is D6 in binary?
D6 (hexadecimal) = 11010110 (binary).
Can I convert negative numbers?
Yes — a leading minus sign is kept. For two’s-complement bit patterns, convert the raw bits instead.