IP to Binary
Expand an IPv4 address into its 32-bit binary form, grouped per octet for easy subnet reading.
Standard dotted-decimal IPv4.
Each octet expanded to 8 bits, separated by dots.
Expand an IPv4 address to its 32 binary bits. Reading IPs in binary makes subnet masks, network/host boundaries, and CIDR prefixes much easier to reason about.
For CIDR /24, the first 24 bits identify the network and the last 8 bits identify the host. Reading the binary form makes that boundary visible at a glance.
Why is each group always 8 digits?
An IPv4 octet is 8 bits. Padding to 8 digits keeps the alignment and makes subnet boundaries easy to read.