IPv4 Address Converter

Convert IPv4 between dotted-decimal, integer, hex, binary, octal, and IPv6-mapped

IPv4 Address

Auto-detects: dotted decimal, integer, hex (0x...), or 32-bit binary.

Representations

Dotted Decimal
192.168.1.1
Integer (decimal)
3232235777
Hexadecimal
0xC0A80101
Binary
11000000.10101000.00000001.00000001
Octal
0o30052000401
IPv6-Mapped
::ffff:c0a8:101

About IPv4 Representations

Same Value, Different Form

An IPv4 address is a single 32-bit unsigned integer. Each representation (dotted, integer, hex, binary, octal) is just a different way of writing those same 32 bits.

IPv6-Mapped

The ::ffff:a.b.c.d form (RFC 4291) lets IPv6 sockets accept IPv4 connections — common in dual-stack networking code.