IPv4 Address Converter

Convert an IPv4 address between dotted decimal, integer, hexadecimal, binary, and octal representations. Auto-detects input format.

Accepts: dotted decimal, integer, 0x hex, 0b binary, 0o octal
Dotted Decimal
192.168.1.1
Decimal (Integer)
3232235777
Hexadecimal
0xC0A80101
Hex (Dotted)
0xC0.0xA8.0x01.0x01
Binary (32-bit)
11000000101010000000000100000001
Binary (Dotted)
11000000.10101000.00000001.00000001
Octal
0o30052000401
Octal (Dotted)
300.250.1.1

Frequently Asked Questions

You can enter an IPv4 address in dotted decimal (192.168.1.1), a plain decimal integer (3232235777), hexadecimal with 0x prefix (0xC0A80101), binary with 0b prefix, or octal with 0o prefix. The tool auto-detects the format.
Each octet of the IPv4 address is treated as a byte. The four bytes are combined into a single 32-bit unsigned integer: (octet1 × 2²⁴) + (octet2 × 2¹⁶) + (octet3 × 2⁸) + octet4.
Yes! Enter any supported format and the tool converts to all others simultaneously. For example, entering 0xC0A80101 will show the dotted decimal 192.168.1.1 along with binary, octal, and integer representations.