Network ยท IPv4 ยท IPv6

IPv4/IPv6 Address Converter

The address converter creates common IPv4-embedded IPv6 representations and detects whether an IPv6 address contains an embedded IPv4 address. It is useful for logs, NAT64, 6to4, proxy configuration and technical documentation.

Convert IPv4/IPv6 addresses

The calculation runs locally in the browser. An arbitrary IPv6 address cannot generally be converted back to IPv4; only special formats with an embedded IPv4 address can be decoded unambiguously.

Ready. Enter an IPv4 address or analyze an IPv6 address with an embedded IPv4 address.

Result

Details

Conversion notes

IPv4-mapped IPv6

The format ::ffff:192.0.2.128 marks an IPv4 address inside an IPv6 representation. It is commonly clear in logs and APIs.

NAT64 /96

With the well-known prefix 64:ff9b::/96, the last 32 bits contain the IPv4 address. The prefix can be adjusted in the tool.

6to4

6to4 addresses start with 2002:. The following 32 bits contain the IPv4 address. Today this format is mostly useful for analysis and documentation.