IP addresses can be represented in multiple number formats: the familiar dotted-decimal notation (192.168.1.1), binary (used in network masks and routing), hexadecimal (common in protocols and packet captures), and octal (historically used in some UNIX utilities). This tool converts between all four formats for IPv4 addresses.
Network engineers and security professionals frequently need to convert IP addresses between formats. Binary representation is essential for understanding subnet masks and CIDR notation. Hex is common in packet captures, ARP tables, and Windows Registry entries. Some legacy UNIX commands accept octal IP addresses.
127.0.0.1 in binary is 01111111.00000000.00000000.00000001. The loopback address 127.0.0.1 in hex is 7F.00.00.01 or 0x7F000001.
An IPv4 address can be treated as a 32-bit unsigned integer. 192.168.1.1 = (192×16777216) + (168×65536) + (1×256) + 1 = 3232235777.