IPv6 to IPv4 Converter

Pull the embedded IPv4 address out of an IPv6 address. Paste an IPv4-mapped, IPv4-compatible or 6to4 IPv6 address and the tool extracts the IPv4 it carries and explains which type it is. Free and instant in your browser.

Embedded IPv4
192.0.2.5
Address type: IPv4-mapped
IPv4 address192.0.2.5
Address typeIPv4-mapped
This is an IPv4-mapped address (::ffff:0:0/96). The last 32 bits hold the IPv4 address that an IPv6 socket uses to reach an IPv4 host.

How it works

  1. 1

    Enter the IPv6 address

    Paste an address such as ::ffff:192.0.2.5 or 2002:c000:205::.

  2. 2

    Read the embedded IPv4

    The tool extracts the dotted-quad IPv4 address held inside it.

  3. 3

    Check the type

    See whether the address is IPv4-mapped, IPv4-compatible or 6to4, with a short explanation.

Instant & 100% private — nothing is uploaded

Everything runs locally in your browser. Your code, text and files are processed on your own device and are never sent to a server — so there are no upload waits, no size limits from us, and nothing is ever stored or logged.

Frequently asked questions

Which IPv6 addresses contain an IPv4 address?
Three types: IPv4-mapped (::ffff:0:0/96), IPv4-compatible (::/96, deprecated) and 6to4 (2002::/16). In the first two the IPv4 address sits in the last 32 bits; in 6to4 it sits in the two groups right after the 2002 prefix. Other IPv6 addresses, like a normal 2001:db8:: address, do not embed an IPv4 address.
How is the IPv4 extracted from a 6to4 address?
A 6to4 address looks like 2002:WWXX:YYZZ::, where WWXX:YYZZ is the IPv4 address in hexadecimal. The tool reads those two groups and converts them back to dotted-quad. For 2002:c000:205::, c000:0205 decodes to 192.0.2.5.
Why does ::1 not return an IPv4 address?
The loopback address ::1 falls inside the old IPv4-compatible ::/96 range numerically, but it is reserved as IPv6 loopback, not an embedded IPv4. The tool treats :: and ::1 as special and does not extract an address from them.
Is anything sent to a server?
No. The extraction runs entirely in your browser, so the address you paste stays on your device and the tool keeps working offline.