IP / Binary Converter

Enter a dotted-decimal IP address or a 32-bit binary string to convert between formats.

IP Address Binary Converter

Why Binary IP Representation Matters

Every IP address that routes traffic across the internet is fundamentally a 32-bit binary number. When you type 192.168.1.1 into a browser, your operating system converts that human-friendly dotted-decimal notation into the binary value that network hardware actually processes. Understanding this binary to IP relationship is essential for anyone working with subnetting, firewall rules, or access control lists, because network masks, wildcard masks, and routing decisions all operate at the binary level. An ip to binary converter makes this translation instant, letting you verify calculations and catch configuration errors before they cause outages. For a broader look at addressing notation, see our guide on IP address formats explained.

How Octets Map to 8-Bit Binary Values

An IPv4 address consists of four octets separated by dots. Each octet is a decimal number from 0 to 255, which corresponds to exactly 8 binary digits (bits). For example, the octet 192 becomes 11000000 in binary because 128 + 64 = 192. When you convert an IP address to binary, you are simply translating each of the four octets independently into its 8-bit equivalent and then joining them together. The full 32-bit binary representation preserves the same information as the dotted-decimal form but reveals the bit patterns that determine network behavior, such as which bits belong to the network portion and which identify individual hosts.

Hex and Integer Representations

Beyond binary and dotted-decimal, IP addresses are frequently expressed as hexadecimal values and plain integers. Hexadecimal notation condenses every 4 bits into a single character (0-9, A-F), making it compact for use in packet captures, memory dumps, and low-level programming. The integer representation treats the full 32-bit address as a single unsigned number, which is how databases and programming languages often store IPs for efficient comparison and range queries. Our converter displays all of these formats simultaneously so you can copy whichever representation your workflow requires.

IP Classes and Private Ranges

Although modern routing relies on classless CIDR notation, the legacy class system still appears in documentation and certification exams. Class A addresses start with a first octet below 128, Class B spans 128 through 191, and Class C covers 192 through 223. Classes D and E are reserved for multicast and experimental use respectively. In addition, RFC 1918 designates three private address ranges (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16) that are not routable on the public internet. This tool automatically detects whether your input falls within a private or public range and identifies its class, saving you from having to memorize the boundaries. If you are studying the differences between addressing generations, see our comparison of IPv4 vs. IPv6.

Related Tools & Resources

Browse all of our free networking tools: calculate subnet details for any CIDR block, find your public IP address, run a DNS lookup, or check common network ports. For a deeper dive into subnetting math, read the subnetting beginner’s guide and the VLSM and supernetting article.

Secret Link