Hexadecimal to Binary
Convert hex numbers to binary instantly. For example, 1F in hex is 11111 in binary.
Hexadecimal to Binary — quick reference
| Hexadecimal | Binary |
|---|
How to use the Hexadecimal to Binary
- Type or paste your hex value on the left.
- Read the binary result on the right — separate multiple values with spaces.
- Copy the result, or check the reference table below.
About the Hexadecimal to Binary
This tool converts hex numbers to binary. Hexadecimal is base 16, written with the digits 0-9 and A-F; binary is base 2, written with 0 and 1. Type a value on the left and the binary result appears instantly, and you can convert several values at once by separating them with spaces.
Worked example. Go through decimal as a bridge: 1F in hex is 31 in decimal, and 31 in decimal is 11111 in binary. This tool does both steps at once.
Each hex digit fans out into exactly four bits, so this direction is the one to use when you want to read a byte from a hex dump as its individual bits, or line a value up against a bitmask. Expanding base 16 into base 2 restates the same whole number and nothing more, which means no rounding and no lost precision. Below the tool you will find more hex-to-binary pairs to check against, and every calculation is performed in your browser, so the data you paste never leaves your computer. For the reverse direction use the binary to Hexadecimal converter, or the all-in-one number base converter for arbitrary bases.
Frequently asked questions
What is 1F in hex converted to binary?
1F in hex equals 11111 in binary. You can confirm it with the worked example above, or by typing 1F into the converter.
Is this hex to binary conversion exact?
Yes. Converting a whole number between bases changes only how it is written, not its value, so there is no rounding. 1F and 11111 are the same quantity expressed in base 16 and base 2.
Can I convert more than one hex value at once?
Yes. Separate each hex value with a space and every one is converted to binary on its own, in order.
Is my data uploaded anywhere?
No. The conversion runs entirely in your browser with JavaScript; nothing you type is sent to a server.

