IPv4 to Binary & Hexadecimal Converter
Convert any IPv4 address (e.g. 192.168.1.1) into dotted 8-bit binary, continuous 32-bit integer, and hexadecimal notation instantly, or decode binary back to IPv4.
Visualize IPv4 Octet Bits for Subnetting, ACLs & CCNA Study
Every IPv4 address is really a single 32-bit unsigned integer split into four 8-bit octets (each ranging from 0 to 255). Seeing the exact bit boundaries makes CIDR prefix masks (/24, /26, /28), wildcard masks, and router ACL matching intuitive instead of guesswork.
Edit either the dotted-decimal IPv4 field or the 32-bit binary octet field above to synchronize decimal, binary, hexadecimal (0xC0A8055C), and unsigned 32-bit integer representations in real time. The tool also identifies RFC 1918 private networks (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), loopback (127.0.0.0/8), and link-local ranges automatically.
Need full CIDR host range and broadcast math? Continue directly to our CIDR to IP Range Calculator, IPv4 Subnet Calculator, or Number Base Converter.
Quick Octet Bit-Weight Mental Math (128 – 64 – 32 – 16 – 8 – 4 – 2 – 1)
Each IPv4 octet consists of 8 bits valued from left to right as 128, 64, 32, 16, 8, 4, 2, 1. For example, 192 = 128 + 64 = 11000000 and 168 = 128 + 32 + 8 = 10101000. Seeing binary octets directly makes CIDR subnet masks and router ACL wildcard masks obvious during network troubleshooting and CCNA exams.
Frequently Asked Questions
- Why is the unsigned 32-bit integer form useful?
- Databases and GeoIP lookup tables store IPv4 addresses as single 32-bit unsigned integers so range queries (BETWEEN start AND end) execute via fast numeric indexes.
- Can I paste 32 continuous binary bits without dots?
- Yes. Both dotted 8-bit octets and continuous 32-bit binary strings convert back to dotted-decimal IPv4 automatically.
- Where can I compute full CIDR host ranges?
- Continue to our IPv4 Subnet Calculator or CIDR to IP Range tool.