About the Binary to IP Address Converter
This tool reverses IP-to-binary: give it four groups of eight bits, separated by dots or spaces, and it returns the dotted-decimal IPv4 address. It is useful when working through subnetting exercises where you have the binary and need the readable address. Each group must be one to eight bits.
Convert several at once, one per line. To go the other way, use IP to Binary.
Each group is read on its own as a plain base-2 number, with the leftmost bit worth 128 and the rightmost worth 1, so 11000000 is 128 plus 64, which is 192. Leading zeros can be left off, which is why one to eight bits per group is accepted and 1 means the same as 00000001. What cannot vary is the count, because an IPv4 address is exactly four groups, so three or five is reported as invalid rather than padded for you.
The usual moment for this is the end of a subnetting exercise, where you have ANDed an address against a mask to find the network, or ORed in the wildcard to find the broadcast, and now want something you can type into a router. Nine bits in a group is the mistake to look for, because it almost always means a bit slipped across a dot while copying. The bit operations themselves live in the Bitwise Calculator.
How to use
- Paste four binary octets separated by dots or spaces.
- Copy the IPv4 address.
Common questions
- How should the binary be separated?
- Four groups separated by dots or spaces, each up to eight bits.
- Do groups need leading zeros?
- No, 1 and 00000001 both work for the value 1.
- What if there are not four groups?
- It is reported as invalid; an IPv4 address has exactly four octets.