Hex to Binary Converter
Convert hexadecimal to binary representation online. Each hex digit maps to 4 binary digits with grouping options.
Paste hex values and get binary back — each hex digit maps to exactly 4 bits, so FF turns into 11111111 without any math. Pick 4-bit groups when you want to sanity-check each digit, or 8-bit groups when you're reading bytes. And everything runs in your browser. Nothing gets uploaded.
How to Use
Enter hex values in the left panel. One value per line, with or without 0x prefix.
Choose grouping -- 4-bit (nibble), 8-bit (byte), or no grouping for continuous binary.
Choose separator -- space or none between binary groups.
Click Convert or leave Live mode enabled for instant results. Copy when done.
Frequently Asked Questions
How does hex to binary conversion work?
Each hexadecimal digit maps directly to exactly 4 binary digits (bits). This is because hexadecimal is base-16 and 16 = 2^4. For example: hex 0 = 0000, hex 9 = 1001, hex A = 1010, hex F = 1111. So to convert hex "3F" to binary, you convert 3 = 0011 and F = 1111, giving 00111111.
What is the difference between 4-bit and 8-bit grouping?
4-bit grouping (nibble) separates the binary output into groups of 4 bits, which aligns with individual hex digits. This makes it easy to verify the conversion. 8-bit grouping (byte) separates into groups of 8 bits, which represents one byte -- useful when working with byte-level data. The actual binary value is the same; only the visual formatting changes.
Can I convert multiple hex values at once?
Yes! Enter one hex value per line and each will be converted separately. The tool supports both single values (like "FF") and multi-digit values (like "1A2B3C"). Each line produces its own binary output on a corresponding line.
Are 0x prefixes handled?
Yes. The tool automatically strips the "0x" or "0X" prefix from your input. You can freely mix prefixed and non-prefixed values. For example, "0xFF" and "FF" and "ff" all produce the same result: 11111111.
Why is hex to binary conversion so straightforward?
Hexadecimal was specifically designed as a compact representation of binary data. Since 16 is a power of 2 (2^4), each hex digit corresponds to exactly 4 binary digits. This 1-to-4 mapping means no complex arithmetic is needed -- just a simple lookup table for each digit. This is why programmers frequently use hex as a shorthand for binary values.