IP address, hexadecimal to binary conversion

IP Address Converter



Convert hexadecimal to IP address



Convert decimal to IP address


Take a random IP as an example

68.25.193.25

128,64,32,16,8,4,2,1

Remember these numbers first

Take 68 as an example. The first digit of 128 is greater than 68, so it is written as 0. 68 is greater than 64, so the result of subtraction is 4. The third digit from the bottom is 4, so the digits that can be subtracted are written as 1, and the rest are written as 0.

as follows:

128,64,32,16,8,4,2,1

0, 1 , 0, 0,0,1,0,0

This is the binary number 68

Let’s talk about 25. 25 is greater than 16. The previous digits are greater than 25, so 0 is written before 16. 25 minus 16 equals 9. 9 is greater than 8, so 1 is written below 8. Then 9 minus 8, there is 1 left, and the last digit is 1.

128,64,32,16, 8, 4, 2, 1

0 0 0 1 1 0 0 1