Convert binary strings to IPv4 and IPv6 addresses instantly. Supports batch conversion, multiple binary formats, and detailed validation.
Binary to IP conversion is the process of converting binary strings (sequences of 0s and 1s) back into human-readable IP addresses. This is essential for network analysis, debugging, and understanding how computers interpret IP addresses.
Binary to IP Conversion Process:
IPv4: 32-bit binary string is divided into 4 octets (8-bit groups). Each octet is converted from binary to decimal (0-255), then combined with dots.
IPv6: 128-bit binary string is divided into 8 hextets (16-bit groups). Each hextet is converted from binary to hexadecimal (0000-FFFF), then combined with colons.
The converter automatically detects whether the binary represents IPv4 (32 bits) or IPv6 (128 bits).
| Binary | Calculation | Decimal Value | Explanation |
|---|---|---|---|
| 11000000 | 128 + 64 | 192 | Bits 7 and 6 are set (128 + 64) |
| 10101000 | 128 + 32 + 8 | 168 | Bits 7, 5, and 3 are set |
| 00000001 | 1 | 1 | Only bit 0 is set |
| 11111111 | 128+64+32+16+8+4+2+1 | 255 | All bits are set (maximum value) |
Continuous Format: Binary string without any separators. Example: 11000000101010000000000100000001 (IPv4) or 00100000000000010000110110111000... (IPv6, 128 bits).
Grouped with Dots: Binary string grouped into 8-bit chunks separated by dots. Used primarily for IPv4. Example: 11000000.10101000.00000001.00000001.
Grouped with Spaces: Binary string grouped into chunks separated by spaces. Can be used for both IPv4 (8-bit groups) and IPv6 (16-bit groups). Example: 11000000 10101000 00000001 00000001.
| Binary Pattern | IP Address | Description |
|---|---|---|
| 00000000.00000000.00000000.00000000 | 0.0.0.0 | Default/unspecified address |
| 01111111.00000000.00000000.00000001 | 127.0.0.1 | IPv4 loopback address |
| 11111111.11111111.11111111.00000000 | 255.255.255.0 | Common subnet mask (/24) |
| 00001010.00000000.00000000.00000001 | 10.0.0.1 | Private class A address |
| 11000000.10101000.00000001.00000001 | 192.168.1.1 | Common private gateway |
| 128 zero bits | :: | IPv6 unspecified address |
| 127 zero bits followed by 1 | ::1 | IPv6 loopback address |
Converter Features:
11000000.10101000.00000001.00000001
11000000 10101000 00000001 00000001
11000000101010000000000100000001
11000000 10101000.00000001 00000001 (though not recommended)
11000000.10101000...
192.168.x.x
00001010.xxxxxxxx
10.x.x.x (Class A)
10101100.00010000
172.16.x.x (Class B)
11111111.11111111.11111111.00000000
/24 subnet mask
01111111.00000000.00000000.00000001
127.0.0.1 (localhost)
00000000.00000000.00000000.00000000
0.0.0.0