Code tool

IPv4 to IPv6 Converter

Representations only: this does not assign addresses, enable IPv6, query DNS or prove routability. All valid IPv4 values are accepted, including private, reserved, multicast and broadcast values.

In-browser processingNo account requiredPrivacy details ↗

Representations only: this does not assign addresses, enable IPv6, query DNS or prove routability. All valid IPv4 values are accepted, including private, reserved, multicast and broadcast values.

Use four ASCII decimal octets 0–255 without leading zeros, or a valid IPv4-mapped IPv6 address. No whitespace, scope ID, brackets, port or prefix length. Reverse input must have 80 zero bits followed by ffff and 32 IPv4 bits.

Enter one address and convert.

Mapped IPv6 may use a dotted tail or equivalent hexadecimal. Arbitrary IPv6, IPv4-compatible addresses, NAT64 and 6to4 input are not converted back to IPv4. Hex compression removes the longest run of at least two zero groups and uses the first run on a tie.

6to4 is shown for historical representation only, not as a deployment recommendation. RFC 7526 deprecates 6to4 anycast relay operation. Reserved or private IPv4 values may produce a mathematical prefix without any usable route. RFC 7526

Inputs stay in this page; nothing is uploaded or stored. The ip6.arpa output is a name, not an existing PTR record or a DNS lookup.

A QUICK WALKTHROUGH

How to use this tool

  1. Choose the direction and enter one plain address.
  2. Convert and review mapped, full hex, compressed hex, historical prefix and reverse-DNS forms.
  3. Copy the results if needed; consult your actual network configuration before using an address.

RFC 5952 compressed hexadecimal

Mapped IPv6 may use a dotted tail or equivalent hexadecimal. Arbitrary IPv6, IPv4-compatible addresses, NAT64 and 6to4 input are not converted back to IPv4. Hex compression removes the longest run of at least two zero groups and uses the first run on a tie.

Historical 6to4 /48 prefix

6to4 is shown for historical representation only, not as a deployment recommendation. RFC 7526 deprecates 6to4 anycast relay operation. Reserved or private IPv4 values may produce a mathematical prefix without any usable route.

Mapped IPv6 reverse-DNS name (32 nibbles)

Inputs stay in this page; nothing is uploaded or stored. The ip6.arpa output is a name, not an existing PTR record or a DNS lookup.

GOOD TO KNOW

Common questions

Can any IPv6 address be converted to IPv4?

No. Only the IPv4-mapped range ::ffff:0:0/96 can be reversed. No address-class or routability filter is applied to the embedded IPv4.