Skip to content
ToolsLeb ToolsLeb

IP Address Converter

Convert an IPv4 address between dotted-decimal, binary, hexadecimal, and integer notation.

Enter an IPv4 address

Share on Social Media:

Enter an IPv4 address to convert it into its binary (per-octet), hexadecimal (dotted and combined), and 32-bit unsigned integer representations — useful for firewall rules, low-level networking, and understanding how IP addresses are stored.

Frequently Asked Questions

Each of the four octets is treated as part of a single 32-bit number, calculated as (octet1 × 256³) + (octet2 × 256²) + (octet3 × 256) + octet4.

The combined hexadecimal form (e.g. 0xC0A80101) represents the full IPv4 address as one 32-bit hex value, which is the format many programming languages and firewall configurations expect.

Some databases, APIs, and low-level networking tools store or compare IP addresses as integers for efficiency, since a 32-bit integer is faster to sort and range-check than a dotted string.