Hex to Binary Converter
Convert hexadecimal (base-16) numbers to binary (base-2) format instantly. Free online hex to binary converter with batch conversion support.
Input
Output
What is Hex to Binary Conversion?
Hex to binary conversion transforms numbers from base-16 (hexadecimal) to base-2 (binary) representation. Hexadecimal uses digits 0-9 and letters A-F, while binary uses only 0 and 1. Each hexadecimal digit maps to exactly four binary digits (bits), a unit often called a <a href="https://en.wikipedia.org/wiki/Nibble" target="_blank" rel="noopener">nibble</a>.
To convert hex to binary, replace each hex digit with its 4-bit binary equivalent. For example, hex FF = 1111 1111 = 11111111 in binary. This direct mapping makes hex-to-binary conversion straightforward, especially when working with <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Typed_arrays" target="_blank" rel="noopener">JavaScript Typed Arrays</a> for binary data manipulation.
How to Use This Converter
Enter Hexadecimal Values
Type or paste your hexadecimal numbers in the input panel. Enter one number per line for batch conversion. The 0x prefix is optional.
Automatic Conversion
The converter automatically transforms each hex number to its binary equivalent in real time as you type.
Copy or Download Results
Use the Copy button to copy the binary results to your clipboard, or Download them as a text file.
Conversion Examples
Here are some common hex to binary conversions:
Hexadecimal Input
Binary Output
Frequently Asked Questions
How does hex to binary conversion work?
Each hexadecimal digit directly maps to a 4-bit binary value. Simply replace each hex digit with its binary equivalent: 0=0000, 1=0001, ..., 9=1001, A=1010, B=1011, C=1100, D=1101, E=1110, F=1111.
Why convert hex to binary?
Binary is the native language of computers. Converting hex to binary is essential for understanding bitwise operations, analyzing network packets, debugging hardware registers, and working with low-level programming. Understanding two's complement representation is also important when interpreting signed binary values.
Is hex to binary conversion lossless?
Yes, hex to binary conversion is completely lossless. Each hex digit maps to exactly 4 binary digits, so no information is lost during conversion.
Can I convert multiple hex numbers at once?
Yes! Enter one hexadecimal number per line and the converter will process all of them simultaneously. You can also verify your results using tools like BinaryConvert.com.
Related Tools
Learn more: Wikipedia on memory addressing, Intel developer manuals, and MDN Web Docs.