Binary to IP Converter
Convert 32-bit binary strings to IPv4 addresses online. Supports continuous and dotted octet formats.
Paste a 32-bit binary string, get the matching IPv4 address — continuous bits or dotted octets, one per line for batches. Flip on subnet info when you need IP class, network, and broadcast details too. And everything runs in your browser. Nothing gets uploaded.
How to Use
Enter binary in the left panel. Type a 32-bit binary string, paste one, or click Sample for example input.
Choose input format -- continuous 32-bit or dotted binary octets (separated by periods).
Click Convert or leave Live mode enabled for real-time conversion as you type.
Copy, Download, or Swap the result. Toggle Show subnet info for IP class, network address, and broadcast details.
Frequently Asked Questions
How does binary to IP conversion work?
An IPv4 address is a 32-bit number. The 32 binary digits are split into four groups of 8 bits (octets). Each octet is converted from binary to its decimal equivalent (0-255), and the four decimal values are joined with dots. For example, 11000000 = 192, 10101000 = 168, 00000001 = 1, 00000001 = 1, giving you 192.168.1.1.
What is the difference between continuous and dotted binary format?
Continuous format is a single 32-character string of 0s and 1s with no separators (e.g., "11000000101010000000000100000001"). Dotted binary format separates the four octets with periods (e.g., "11000000.10101000.00000001.00000001"). Both represent the same IP address -- the dotted format is simply easier to read since you can see each octet individually.
Why must a binary IP address be exactly 32 bits?
IPv4 addresses are defined as 32-bit numbers by the Internet Protocol specification (RFC 791). Each of the four octets uses exactly 8 bits, and 4 octets times 8 bits equals 32 bits total. If your binary string is shorter or longer than 32 bits, it does not represent a valid IPv4 address.
What does the subnet information tell me?
The subnet info panel shows the IP class (A, B, C, D, or E), the default subnet mask for that class, the network address, the broadcast address, and whether the address is private or public. This helps you quickly understand the network context of the IP address you converted.
Can I convert an IP address back to binary?
Yes. Click the Swap button to switch the tool to IP-to-binary mode. Enter a dotted-decimal IPv4 address like "192.168.1.1" in the input panel, and the tool will convert it to a 32-bit binary string in the output panel.