Hex to Binary Converter
Enter a hexadecimal value to instantly convert it to binary, plus decimal and octal outputs.
Last updated: May 30, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is Hex to Binary Converter?
Hexadecimal (base 16) uses digits 0–9 and letters A–F to represent values 0–15 per digit. Since each hex digit maps to exactly 4 binary bits (a nibble), the conversion between hex and binary is straightforward and lossless.
Each hex digit corresponds to a 4-bit binary group: - 0 → 0000, 1 → 0001, ..., 9 → 1001 - A → 1010, B → 1011, C → 1100, D → 1101, E → 1110, F → 1111
For example, FF: - F → 1111 - F → 1111 Result: 11111111 (binary) = 255 (decimal)
How to Use Hex to Binary Converter
Type or paste a hexadecimal number in the input field (with or without 0x prefix).
The binary, decimal, and octal outputs update instantly.
Click any copy button to copy the result.
Click "Load Sample" to see an example.
Common Use Cases
- Reading and interpreting hex values in Wireshark packet captures.
- Converting memory addresses from hex dump output to binary for bit-level analysis.
- Debugging embedded systems where register values are shown in hex.
- Computer science coursework on number systems and digital logic.
Example Input and Output
The hex value FF (or 0xFF) converts to binary 11111111, which is decimal 255.
FF11111111Data Privacy
All conversions run entirely in your browser. No data is sent to any server.
Frequently Asked Questions
Why do hex and binary convert so cleanly?
Because 16 = 2⁴, each hex digit maps to exactly 4 binary bits. This 1-to-4 correspondence means you can convert by substituting each hex character with its 4-bit equivalent without any arithmetic.
Can I enter lowercase hex letters?
Yes. The converter accepts both uppercase (A–F) and lowercase (a–f) hex digits.
Does this handle very large hex values?
Yes. BigInt is used internally, so there is no size limit beyond available memory.
Related Tools
Binary to Hex Converter
Convert binary numbers (base 2) to hexadecimal (base 16). Also shows decimal and octal equivalents. Supports large binary numbers with BigInt precision.
Hex to Decimal Converter
Convert hexadecimal numbers to decimal (base 10), binary, and octal. Accepts 0x prefix. Uses BigInt for large values.
Hex to Octal Converter
Convert hexadecimal numbers to octal (base 8), decimal, and binary. Accepts 0x prefix. Uses BigInt for arbitrarily large values.
Decimal to Hex Converter
Convert decimal numbers (base 10) to hexadecimal (base 16). Also shows binary and octal equivalents. Supports large numbers with BigInt precision.
Binary to Decimal Converter
Convert binary numbers (base 2) to decimal (base 10). Also shows hexadecimal and octal equivalents. Supports large binary numbers.
Octal to Binary Converter
Convert octal (base 8) numbers to binary, decimal, and hexadecimal. Supports large octal values via BigInt.

