Skip to main content
KalkuNet

IPv4 to IPv6 Converter — Mapped, NAT64 and 6to4

Convert any IPv4 address into ::ffff:w.x.y.z mapped & 2002::/16 6to4 forms.

Runs in your browserNetwork · IPv6, MAC, Binary & Address Converters
InputIPv4-mappedMapped (hex)NAT64 (64:ff9b::/96)6to4 prefix
192.168.1.1::ffff:192.168.1.1::ffff:c0a8:10164:ff9b::c0a8:1012002:c0a8:101::/48
10.0.0.254::ffff:10.0.0.254::ffff:a00:fe64:ff9b::a00:fe2002:a00:fe::/48
8.8.8.8::ffff:8.8.8.8::ffff:808:80864:ff9b::808:8082002:808:808::/48
100.64.12.7::ffff:100.64.12.7::ffff:6440:c0764:ff9b::6440:c072002:6440:c07::/48
203.0.113.45::ffff:203.0.113.45::ffff:cb00:712d64:ff9b::cb00:712d2002:cb00:712d::/48
255.255.255.0::ffff:255.255.255.0::ffff:ffff:ff0064:ff9b::ffff:ff002002:ffff:ff00::/48

When to use the IPv4 to IPv6-Mapped (::ffff:0:0/96) & 6to4 Converter

  • Four forms at once

    Every address is shown as IPv4-mapped (::ffff:), its hex version, the NAT64 address with the 64:ff9b::/96 prefix, and the 6to4 2002::/48 prefix.

  • Reading dual-stack logs

    Servers listening on IPv6 log IPv4 clients as ::ffff:203.0.113.45. This tool helps match those addresses with IPv4 firewall rules.

  • IPv6-only mobile networks

    Mobile carriers using NAT64 map IPv4 sites into 64:ff9b::. The converted address helps test services from such networks.

  • Written per the RFCs

    The mapped form follows RFC 4291, NAT64 follows RFC 6052 and 6to4 follows RFC 3056, with lower-case hex as RFC 5952 recommends.

Frequently asked questions

What is the difference between IPv4-mapped and IPv4-compatible?

The compatible form (::w.x.y.z without ffff) is deprecated. The mapped form ::ffff:w.x.y.z is what operating systems use for dual-stack sockets.

Can a mapped address be pinged?

Not across an IPv6 network; a mapped address only exists inside one host and never goes on the wire. NAT64 is what reaches IPv4 sites from IPv6-only networks.

Why are there two mapped spellings?

::ffff:192.168.1.1 and ::ffff:c0a8:101 are the same address. The first is easier to read; the second is pure hex.

What about private addresses?

Any address can be converted, but public NAT64 does not translate private addresses such as 192.168.0.0/16, per RFC 6052.

Is my data sent to a server?

No. Everything is computed in your browser, so addresses from dual-stack server logs or internal network configs never leave your device.

Learn more