Binary to Hex Converter
Convert Binary to Hex instantly in your browser.
0 characters
0 characters
Everything is converted in your browser. Nothing you paste is uploaded or stored.
Worked example
Each row shows a short sample written as Binary, and the same value converted to Hex.
| Binary input | Hex output |
|---|---|
| 01001000 01101001 | 48 69 |
| 01010011 01000111 | 53 47 |
| 01110100 01101111 01101111 01101100 | 74 6F 6F 6C |
About these formats
Binary is base 2, the representation a computer actually works in. Each byte becomes eight digits of 0 and 1, so the capital letter A (value 65) is written 01000001.
Hexadecimal is base 16, using the digits 0-9 and the letters A-F. One byte fits in exactly two hex digits, which makes it the most compact readable form and the reason it appears in colour codes, memory dumps and checksums.
How to use this converter
- Paste or type your Binary into the left box.
- The Hex output appears immediately on the right — there is no button to press.
- Use Copy result to put the output on your clipboard, or Swap direction to convert Hex back to Binary.
Values may be separated by spaces or commas. For fixed-width formats you can also paste one unbroken run of digits and it will be split correctly.
When you would use this
Converting Binary to Hex comes up when you are debugging data that crosses a boundary — a file format, a network protocol, a database column, or a language runtime that reports values in a different base than your source.
It is also a common teaching exercise: seeing the same value in both Binary and Hex makes the relationship between character encodings and number bases concrete in a way that reading about it does not.
Frequently asked questions
Is my data sent anywhere?
No. The conversion runs entirely in your browser using JavaScript. Nothing you paste leaves your device, is logged, or is stored.
How should I separate values?
Spaces work, and so do commas, colons and semicolons. For binary, hex and octal you can also paste a single unbroken run of digits — it is split into bytes automatically.
Does it handle emoji and non-English text?
Yes. Text is treated as UTF-8, so accented characters, Chinese, Tamil and emoji all convert correctly. They simply take more than one byte each.
Why did I get an error?
The input contained a character that is not valid for the source format, a value above 255, or a run of digits that does not divide evenly into bytes. The message names the specific token so you can find it.