← All tools
// Network

IP Address Converter online

Convert IPv4 addresses between binary, decimal, hex, and octal — runs in your browser

IP Address Converter logo
by
CHUNKY
MUNSTER
// All Formats
Output will appear here...

How to Use binary-to-ip

  1. Choose the conversion direction: IP to binary, or binary to IP.
  2. Enter an IPv4 address (e.g. 192.168.1.1) or a 32-bit binary string.
  3. The tool shows the binary, decimal, hex, and octal representations of each octet.
  4. Use the CIDR section to see network and host portions highlighted separately.

IPv4 addresses are 32-bit integers conventionally written in dotted-decimal notation. Each of the four octets (0–255) is one byte of that 32-bit value. Network engineers and CTF players frequently need to see addresses in binary to understand subnet masks, CIDR notation, and bit-level routing decisions. This tool converts in both directions and highlights the network/host boundary for any given prefix length.

Understanding IPv4 in Binary

The address 192.168.1.1 in binary is 11000000.10101000.00000001.00000001. A /24 subnet mask means the first 24 bits are the network identifier and the last 8 are for hosts — so the network is 192.168.1.0 and valid hosts run from 192.168.1.1 to 192.168.1.254. Seeing this in binary makes the boundary explicit. The tool highlights the network bits in one colour and the host bits in another.

Frequently Asked Questions

What is the binary of 255.255.255.0 (a /24 mask)?

11111111.11111111.11111111.00000000 — 24 consecutive 1-bits followed by 8 zero-bits. The 1-bits mark the network portion; the 0-bits mark the host portion.

What is the largest IPv4 address in binary?

11111111.11111111.11111111.11111111 = 255.255.255.255, the broadcast address for the entire IPv4 space.

How do I read a subnet mask in binary?

A valid subnet mask always starts with consecutive 1-bits and ends with consecutive 0-bits — no mixing allowed. The count of 1-bits is the CIDR prefix length. /24 has 24 ones; /16 has 16 ones.

Does this tool support IPv6?

Not yet — IPv6 has 128-bit addresses in eight 16-bit hex groups, which is a different representation. Use the CIDR Calculator for IPv6 subnet work.

See also the CIDR Calculator and IP Lookup tools for subnet and geolocation work.