Binary to IPv4 Converter — Turn Bits into a Dotted Address
Convert 32-bit binary bitstreams or dotted binary octets back into IPv4.
| Input | IPv4 | Binary octets |
|---|---|---|
11000000.10101000.00000001.00000001 | 192.168.1.1 | 11000000.10101000.00000001.00000001 |
00001010 00000000 00000000 11111110 | 10.0.0.254 | 00001010.00000000.00000000.11111110 |
00001000000010000000100000001000 | 8.8.8.8 | 00001000.00001000.00001000.00001000 |
When to use the 32-Bit Binary Octets to Dotted-Decimal IPv4 Converter
Any layout accepted
Binary may be written per octet with dots, with spaces, or as 32 bits in a row, as in certification exam questions and packet analyser output.
Check practice answers
Work it out by hand first, then paste your binary answer to see the real address alongside the tidied binary octets.
Errors shown per line
Digits other than 0 and 1, octets longer than 8 bits or a bit count other than 32 are flagged on their line without stopping the others.
Stays on your device
Conversion runs in the browser, so it suits labs and classrooms with no account and no data sent anywhere.
Frequently asked questions
How do I convert by hand?
Each bit position in an octet is worth 128, 64, 32, 16, 8, 4, 2 and 1. Add the values of the positions holding a 1 to get the octet's decimal number.
Must each octet have 8 digits?
Not when written per octet; 1010 is read as 00001010. For 32 bits in a row, the length must be exactly 32.
Can a subnet mask in binary be converted too?
Yes, for example 24 ones followed by 8 zeros becomes 255.255.255.0. Use the Subnet Mask to CIDR converter to see its prefix.
What about the reverse?
Use the IPv4 to Binary Converter to turn a dotted address into binary octets.
Is there a line limit?
No specific limit; thousands of lines stay fast because everything is computed right in the browser.
Similar tools
- IPv4 Dotted-Decimal to 32-Bit Binary Octets ConverterConvert dotted IPv4 addresses into 4 binary octets and continuous 32-bit binary.
- IPv4 Address to Hexadecimal (0x) ConverterConvert IPv4 octets into dotted hex and 32-bit hex (for DHCP Options & /proc).
- Hexadecimal (0x) to Dotted-Decimal IPv4 ConverterDecode hex bytes from packet dumps, /proc/net/tcp or DHCP logs back into IPv4.
- IPv4 Address to 32-Bit Unsigned Integer ConverterConvert dotted IPv4 addresses into a single 32-bit unsigned decimal integer.