Network Tools

IP address to binary.

Type an IPv4 address and get it in binary: four 8-bit octets, the unbroken 32-bit string, hex and the decimal integer. Runs in your browser; the address is never sent anywhere.

Advertisement

Input

Four numbers from 0 to 255 separated by dots.

Result

Enter a value, then press Calculate.

How to convert an IP address to binary

1286432168421
11000000
10101000

The first row is 192 (11000000), the second is 168 (10101000).

Common addresses in binary

AddressBinaryHex
192.168.1.111000000.10101000.00000001.00000001C0A80101
10.0.0.100001010.00000000.00000000.000000010A000001
172.16.0.110101100.00010000.00000000.00000001AC100001
127.0.0.101111111.00000000.00000000.000000017F000001
8.8.8.800001000.00001000.00001000.0000100008080808
255.255.255.011111111.11111111.11111111.00000000FFFFFF00

10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 are the private ranges (RFC 1918). The tool treats leading zeros such as 010 as an error rather than guessing, because some software reads them as octal. Going the other way? Use Binary to IP Address. To convert masks see Subnet Mask to Binary, and for general number conversion the Binary Converter.

IPv4 only. For IPv6 see the IPv6 Address Validator.

FAQ

What is 192.168.1.1 in binary?

11000000.10101000.00000001.00000001. As a single 32-bit string it is 11000000101010000000000100000001.

How many bits are in an IPv4 address?

32 bits, split into four octets of 8 bits each (RFC 791).

How do I convert each octet to binary?

Write the place values 128, 64, 32, 16, 8, 4, 2, 1 and mark which ones add up to the octet. For 168: 128 + 32 + 8, so 10101000.

Why does the converter reject 192.168.01.1?

A leading zero is ambiguous: some systems read 010 as octal 8. Write 1 or 10 instead so the value cannot be misread.

Does this look up or contact the IP address?

No. It only converts the digits you type, in your browser. It does not check whether the address is in use or who owns it.

Sources

Sources retrieved October 2026.

Advertisement
Advertisement