devpocket.dev

IPv4 Address Converter

Convert IPv4 between decimal, integer, hex, octal, binary, mapped IPv6 and reverse DNS.

Runs locally
Loading tool…

How to use

Enter any supported form: dotted decimal, a 32-bit integer, compact or dotted hex, compact or dotted octal, dotted binary, IPv4-mapped IPv6, or an in-addr.arpa reverse-DNS name. The format is detected automatically and every equivalent representation appears with its own copy button. The classification badge distinguishes private, loopback, link-local, CGNAT, documentation, multicast, reserved and public addresses. Hex output uses fixed-width octets; binary output always shows all 32 bits.

FAQ

What is the 32-bit integer form of an IPv4 address?

The four octets are one unsigned big-endian number. For example, 192.168.0.1 is 0xC0A80001, or 3232235521 in decimal.

What is an IPv4-mapped IPv6 address?

It is an IPv6 representation with the ::ffff: prefix, such as ::ffff:192.168.0.1 or the equivalent ::ffff:c0a8:0001.

Which addresses are classified as private?

The RFC 1918 private ranges are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. CGNAT 100.64.0.0/10 is shown separately.

Related tools