IPv6LOCALRuns in your browser
IPv6 ⇄ IPv4 Embedded
Convert an IPv4 address to its IPv4-mapped, IPv4-compatible, 6to4, and NAT64 IPv6 forms, and extract IPv4 from an embedded IPv6 address.
This tool handles input and primary processing in your browser and is designed not to send the input to QuickKit’s server.
Result
| IPv4 address | — |
|---|---|
| IPv4 integer | — |
| IPv4-mapped | — |
| IPv4-mapped (mixed) | — |
| IPv4-compatible (deprecated) | — |
| 6to4 | — |
| NAT64 (well-known prefix) | — |
| Embedding scheme | — |
|---|---|
| IPv4 address | — |
| IPv6 address | — |
| IPv6 (expanded) | — |
How it works
IPv4-mapped (::ffff:0:0/96) represents an IPv4 node to an IPv6 socket API. IPv4-compatible (::/96) is deprecated. 6to4 (2002::/16) embeds the IPv4 in bits 16–47. NAT64 uses the well-known prefix 64:ff9b::/96 (a network-specific prefix would put the IPv4 elsewhere; this tool assumes the well-known prefix). Extraction recognizes all four schemes.