Binary to Hex
Convert binary to hexadecimal instantly. Paste binary numbers one per line, spaces allowed, and get compact hex values. Exact for long bit strings. Free and private.
Runs in your browser. Nothing is uploaded.
About Binary to Hex
Paste binary numbers, one per line, and get the same values in hexadecimal. Spaces and underscores between bit groups are ignored, so you can paste bits straight from a datasheet or a debugger.
Binary and hex line up perfectly: every 4 bits make exactly one hex digit. That's why hex is the usual shorthand for binary data. 1010 1011 becomes AB, and a 32-bit value always fits in 8 hex digits.
How to use Binary to Hex
- Type or paste your text into the input box. Press Sample to see an example.
- Adjust the options. The result updates as you type.
- Copy the result, or press Use as input to chain another transformation.
Frequently asked questions
Why does 4 bits equal one hex digit?
Four bits can hold 16 different values (0 to 15), which is exactly the range of one hex digit (0 to F).
What if the number of bits isn't a multiple of 4?
It doesn't matter. Leading zeros are implied, so 101 is treated as 0101, which is 5.
Is Binary to Hex free and private?
Yes. Binary to Hex is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.