IP Address Converter (IPv4 & IPv6)

Convert one IP address between dotted-decimal, integer, hex, binary and IPv4-mapped IPv6 — plus IPv6 expand/compress — 100% in your browser, no upload

The address you type is kept in this browser, so it is still here on your next visit. Clear erases it.

🔒 Runs in your browser — nothing is uploaded.

What this IP converter does

Paste a single IP address and see it in every common notation at once. For IPv4 it shows the dotted-decimal form, the 32-bit integer, the hexadecimal value (0x…), the binary octets, and the IPv4-mapped IPv6 form (::ffff:…). You can also go the other way: type a 32-bit integer such as 3232235786 and get 192.168.1.10 back. For IPv6 it shows the fully expanded eight-group form, the shortest RFC 5952 compressed form, the 128-bit integer and hex, and — for IPv4-mapped addresses — the embedded IPv4. The input type is detected automatically, so you never pick a mode.

How the conversions work

Every representation is derived with plain integer and bit math in your browser. IPv4 octets are validated to be 0–255 and packed into a 32-bit value; hex and binary are just that value in base 16 and base 2. IPv6 expansion resolves the :: shorthand into the missing zero groups and pads each group to four digits, while compression drops leading zeros and collapses the longest run of zero groups back to ::. This tool converts the notation of a single address only — for network, broadcast, mask and host-range math use the separate IP Subnet Calculator.

Frequently asked questions

What can I paste in?

A dotted IPv4 address (192.168.1.10), a 32-bit integer (3232235786), or an IPv6 address (2001:db8::1 or ::ffff:192.168.1.10). The tool detects which one you entered and fills in all the other forms.

How is this different from the subnet calculator?

This tool converts a single address between notations (decimal, hex, binary, IPv6). The IP Subnet Calculator does CIDR math — network and broadcast addresses, subnet mask, wildcard mask, usable host range and host counts.

What is the IPv4-mapped IPv6 form?

It is how an IPv4 address is written inside IPv6, as ::ffff:192.168.1.10 (equivalently ::ffff:c0a8:010a). Dual-stack software uses it to carry IPv4 traffic over IPv6 sockets.