Binary to Hex

Enter a binary number and convert it to hexadecimal, decimal, and octal. Results appear instantly in your browser.

Binary to Hex Converter

This tool converts binary (base 2) numbers into their hexadecimal (base 16), decimal (base 10), and octal (base 8) equivalents. Since each hex digit maps to exactly four binary digits, this conversion is especially common when working with memory addresses, machine code, or network protocols.

The conversion runs entirely in your browser using JavaScript's BigNumber library for precision.

How to use

  1. Type or paste a binary number into the input field (e.g. 11111111 or 10101100).
  2. Click Convert to see the hexadecimal, decimal, and octal results.
  3. Use the Copy button to copy the hex result to your clipboard.
  4. Click Clear to reset all fields.

Binary to hex relationship

Each hexadecimal digit represents exactly four binary digits (bits). This makes the conversion straightforward: group the binary digits into sets of four from right to left, then convert each group to its hex equivalent. For example, 10101100 becomes AC in hexadecimal.

Example

Binary:      10101100
Hexadecimal: AC
Decimal:     172
Octal:       254