Network Tools
Binary to IP address.
Paste four binary octets or one 32-bit string and get the IPv4 address in dotted decimal, plus hex and the decimal integer. Runs in your browser.
Input
Result
Enter a value, then press Calculate.
How to convert binary to an IP address
- Split into four octets. A 32-bit binary address is cut into four groups of 8 bits, from the left.
- Add the place values. In each group, a 1 in the positions worth 128, 64, 32, 16, 8, 4, 2 and 1 adds that amount. A 0 adds nothing.
- Example:
11000000= 128 + 64 = 192, and10101000= 128 + 32 + 8 = 168. - Write the four numbers with dots between them.
| 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
| 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 |
| 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 |
Examples
| Binary | IPv4 address |
|---|---|
11000000.10101000.00000001.00000001 | 192.168.1.1 |
00001010.00000000.00000000.00000001 | 10.0.0.1 |
10101100.00010000.00000000.00000001 | 172.16.0.1 |
01111111.00000000.00000000.00000001 | 127.0.0.1 |
11111111.11111111.11111111.00000000 | 255.255.255.0 |
Short groups are zero-padded on the left, so 1.10.11.100 reads as 1.2.3.4. An unbroken string must be exactly 32 bits. To go from an address to binary use IP Address to Binary; for masks see Subnet Mask to Binary, and for text or number conversion the Binary Converter.
The tool only converts digits. It does not look the address up or check who uses it.
FAQ
How do I convert binary to an IP address?
Split the 32 bits into four groups of 8, convert each group to decimal using the place values 128, 64, 32, 16, 8, 4, 2, 1, and join the four numbers with dots.
What IP address is 11000000.10101000.00000001.00000001?
192.168.1.1: 11000000 = 192, 10101000 = 168, 00000001 = 1, 00000001 = 1.
Can I paste the 32 bits without dots?
Yes, as long as there are exactly 32 digits of 0 and 1. The converter splits them into four octets from the left.
What is the largest octet in binary?
11111111, which is 255. An octet cannot exceed 8 bits, so a group longer than 8 digits is rejected.
Does this work for IPv6?
No. IPv4 addresses are 32 bits; IPv6 addresses are 128 bits and use a different notation.
Sources
- RFC 791, Internet Protocol (an IPv4 address is 32 bits)
- RFC 1918, Address Allocation for Private Internets (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16)
Sources retrieved October 2026.