JSONToonPro
Number converter tool

Binary to Hex Converter

Convert binary numbers (base 2) to hexadecimal (base 16) instantly. Every 4 binary digits map to exactly one hex digit, paste your binary string and get the hex result immediately.

100% client sideInstant resultNo data sent
Binary to Hexadecimal
Binary (Base 2)
Hexadecimal (Base 16)
Result appears here...

How to Convert Binary to Hexadecimal

Converting binary to hexadecimal by hand is straightforward once you know the routine. The converter above does it instantly, but working through the steps yourself is the fastest way to understand what is actually happening to the digits.

  1. Starting from the right, split the binary number into groups of 4 digits. Pad the leftmost group with leading zeros if it is short.
  2. Write the place values 8, 4, 2, 1 underneath each group.
  3. In every group, add the place values wherever the bit is 1.
  4. Convert each group total into a single hexadecimal digit.
  5. Write the hexadecimal digits in the same left to right order as the groups.

Worked example: 10101010

1010 = 8 + 2 = 10 = A
1010 = 8 + 2 = 10 = A
Joining the digits: AA

Result: (10101010)² = (AA)¹⁶

The Binary System

Binary is the base 2 numeral system. It uses only two symbols, 0 and 1, and each digit is called a bit. Every digital circuit ever built relies on it, because a transistor has two reliable states, on and off, which map directly onto 1 and 0. Place values double as you move left: 1, 2, 4, 8, 16, 32 and so on. Eight bits make one byte, which can hold 256 distinct values, enough for every character in the original ASCII set.

Binary uses the digits 0 and 1.

The Hexadecimal System

Hexadecimal is the base 16 system. It uses the digits 0 through 9 and then the letters A through F to stand for the values 10 through 15. Its key property is that one hex digit represents exactly four binary digits, a nibble, so a single byte is always two hex characters. That compactness is why hex shows up everywhere in computing: HTML colour codes such as FFFFFF for white and 000000 for black, memory addresses, MAC addresses, hash digests, and byte level debugging output.

Hexadecimal uses the digits 0 through 9 and A through F.

Binary to Hexadecimal Conversion Examples

(01000000)² = (40)¹⁶
(11111111)² = (FF)¹⁶
(10000000000)² = (400)¹⁶

Binary to Hexadecimal Conversion Chart

A full reference table for the values 1 to 256. Use it to check a conversion quickly or to look up a common value without typing anything.

BinaryHexadecimal
000000011
000000102
000000113
000001004
000001015
000001106
000001117
000010008
000010019
00001010A
00001011B
00001100C
00001101D
00001110E
00001111F
0001000010
0001000111
0001001012
0001001113
0001010014
0001010115
0001011016
0001011117
0001100018
0001100119
000110101A
000110111B
000111001C
000111011D
000111101E
000111111F
0010000020
0010000121
0010001022
0010001123
0010010024
0010010125
0010011026
0010011127
0010100028
0010100129
001010102A
001010112B
001011002C
001011012D
001011102E
001011112F
0011000030
0011000131
0011001032
0011001133
0011010034
0011010135
0011011036
0011011137
0011100038
0011100139
001110103A
001110113B
001111003C
001111013D
001111103E
001111113F
0100000040
BinaryHexadecimal
0100000141
0100001042
0100001143
0100010044
0100010145
0100011046
0100011147
0100100048
0100100149
010010104A
010010114B
010011004C
010011014D
010011104E
010011114F
0101000050
0101000151
0101001052
0101001153
0101010054
0101010155
0101011056
0101011157
0101100058
0101100159
010110105A
010110115B
010111005C
010111015D
010111105E
010111115F
0110000060
0110000161
0110001062
0110001163
0110010064
0110010165
0110011066
0110011167
0110100068
0110100169
011010106A
011010116B
011011006C
011011016D
011011106E
011011116F
0111000070
0111000171
0111001072
0111001173
0111010074
0111010175
0111011076
0111011177
0111100078
0111100179
011110107A
011110117B
011111007C
011111017D
011111107E
011111117F
1000000080
BinaryHexadecimal
1000000181
1000001082
1000001183
1000010084
1000010185
1000011086
1000011187
1000100088
1000100189
100010108A
100010118B
100011008C
100011018D
100011108E
100011118F
1001000090
1001000191
1001001092
1001001193
1001010094
1001010195
1001011096
1001011197
1001100098
1001100199
100110109A
100110119B
100111009C
100111019D
100111109E
100111119F
10100000A0
10100001A1
10100010A2
10100011A3
10100100A4
10100101A5
10100110A6
10100111A7
10101000A8
10101001A9
10101010AA
10101011AB
10101100AC
10101101AD
10101110AE
10101111AF
10110000B0
10110001B1
10110010B2
10110011B3
10110100B4
10110101B5
10110110B6
10110111B7
10111000B8
10111001B9
10111010BA
10111011BB
10111100BC
10111101BD
10111110BE
10111111BF
11000000C0
BinaryHexadecimal
11000001C1
11000010C2
11000011C3
11000100C4
11000101C5
11000110C6
11000111C7
11001000C8
11001001C9
11001010CA
11001011CB
11001100CC
11001101CD
11001110CE
11001111CF
11010000D0
11010001D1
11010010D2
11010011D3
11010100D4
11010101D5
11010110D6
11010111D7
11011000D8
11011001D9
11011010DA
11011011DB
11011100DC
11011101DD
11011110DE
11011111DF
11100000E0
11100001E1
11100010E2
11100011E3
11100100E4
11100101E5
11100110E6
11100111E7
11101000E8
11101001E9
11101010EA
11101011EB
11101100EC
11101101ED
11101110EE
11101111EF
11110000F0
11110001F1
11110010F2
11110011F3
11110100F4
11110101F5
11110110F6
11110111F7
11111000F8
11111001F9
11111010FA
11111011FB
11111100FC
11111101FD
11111110FE
11111111FF
100000000100

Need a different pair of bases? Browse every number converter tool including binary, octal, decimal, and hexadecimal in both directions.

Frequently asked questions

4 answers
Group the binary number into sets of 4 bits from right to left, padding with leading zeros if needed. Then convert each 4-bit group to its hex equivalent. For example, 10111101 → 1011 = B and 1101 = D → 0xBD. This is why binary-to-hex conversion is so clean: every 4 bits = 1 hex digit.

More JSON Tools

About Binary to Hex Conversion

Binary and hexadecimal have a uniquely clean relationship: every 4 binary bits map to exactly one hex digit. This makes binary-to-hex conversion a common task in embedded programming, network packet analysis, and digital electronics. Instead of reading a long string of ones and zeros, engineers use hex as a compact representation of the same data. This tool automates the bit-grouping and lookup table steps, giving you the hex result instantly for any binary input.