Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)

Binary to Hexadecimal

Convert binary numbers to hexadecimal. Direct conversion between the two most important bases in computing - 4 binary bits = 1 hex digit.

What is the Binary to Hexadecimal Converter?

This tool converts binary numbers directly to hexadecimal, leveraging the natural relationship between these two bases.

Why This Conversion is Special

Binary and hex have a direct relationship:

  • 4 binary bits = 1 hex digit — perfect mapping
  • No math needed — just group and convert
  • Lossless — hex is just compact binary
  • Reversible — easily convert back

The Simple Method

Group binary digits into sets of 4 (from right), then convert each group:

Example: 1101 0110 → D 6 → D6

How to Use

  1. Enter binary number — any sequence of 0s and 1s
  2. View hex result — automatically grouped and converted
  3. Copy for use — in code, colors, or documentation

Nibble Reference

0000=00100=41000=81100=C
0001=10101=51001=91101=D
0010=20110=61010=A1110=E
0011=30111=71011=B1111=F

Tip

Binary input is padded with leading zeros to make complete 4-bit groups.

01
0b
0123456789ABCDEFabcdef
0x

4-bit Conversions

0000 = 0
0101 = 5
1010 = A
1111 = F
11111111 = FF
10101010 = AA

Binary (Base-2)

The native language of computers. Groups of 4 bits (nibbles) map directly to single hex digits.

Hexadecimal (Base-16)

Compact representation of binary. One hex digit represents exactly 4 binary bits.

Enter binary digits (0 and 1)
11111111 in binary = FF in hex
Every 4 bits converts to 1 hex digit
Pad left with zeros if needed for grouping
Want to learn more? Read documentation →
1/5
Start typing to search...
Searching...
No results found
Try searching with different keywords