WebToolsPlanet
Converter Tools

Binary to IP Converter

Paste a 32-bit binary string to instantly decode it into a standard human-readable IPv4 address.

Last updated: May 30, 2026

Client-Side Processing
Input Data Stays on Device
Instant Local Execution

Find this tool useful? Support the project to keep it free!

Buy me a coffee

What is Binary to IP Converter?

IPv4 addresses are fundamentally 32-bit integers, though we almost always write them in the friendlier "dotted-decimal" notation (like 192.168.1.1). Under the hood, computers and networks process these addresses in binary.

Converting binary to IP involves breaking down a 32-digit string of 0s and 1s into four 8-bit chunks (known as octets). Each 8-bit chunk can represent a decimal number from 0 to 255.

For example, the binary string: 11000000 10101000 00000001 00000001 Splits into four octets: - 11000000 = 192 - 10101000 = 168 - 00000001 = 1 - 00000001 = 1 Which gives us the familiar local IP: 192.168.1.1.

How to Use Binary to IP Converter

1

Type or paste your binary code into the input field (you can use dots, spaces, or hyphens, or just a raw 32-character string of 0s and 1s).

2

Shorter strings are padded automatically with leading zeros.

3

The dotted IPv4 address, octet breakdown, decimal integer, and hex formats are calculated instantly.

4

Use the copy buttons to quickly copy any of the outputs.

Common Use Cases

  • Analyzing binary representation of IP addresses in networking class projects.
  • Deconstructing binary subnet masks (like 11111111 11111111 11111111 00000000) to find the decimal subnet mask.
  • Decoding network packet headers containing binary address headers.
  • Debugging dynamic routing tables in software-defined networks (SDN).
  • Solving computer science puzzles or prep exams.

Example Input and Output

The binary string 01111111000000000000000000000001 is converted to loopback IP 127.0.0.1.

Binary String
01111111000000000000000000000001
IPv4 Address
127.0.0.1 (Decimal: 2130706433)

Networking Tip

Binary-to-IP conversion is very helpful when studying CIDR notation and subnetting, as subnets are defined by how many bits are locked in binary.

Frequently Asked Questions

What is an IP address octet?
An octet is a unit of digital information in computing and telecommunications that consists of eight bits. In IPv4, addresses are divided into four 8-bit octets separated by dots, totaling 32 bits.
Does this converter support IPv6 addresses?
This specific tool is designed for 32-bit IPv4 addresses. IPv6 addresses are 128-bit values and are typically represented in hexadecimal colon-separated groups.
How does padding work if I enter less than 32 bits?
If you enter less than 32 bits (e.g. 10101), the converter will prepend leading zeros until the binary string is exactly 32 bits long (e.g. 00000000.00000000.00000000.00010101) and then convert it.
Are my binary inputs sent to a server?
No. All calculations are performed directly on your local device using client-side JavaScript. Your networking data never leaves your browser.