Network · Made a little simpler

IPv4 and IPv6 Address Converter

Convert dotted IPv4 to mapped IPv6 and read mapped IPv6 back as IPv4. Compare dotted-tail and compressed hexadecimal representations locally.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Use a dotted IPv4 address or an IPv6 address in the IPv4-mapped prefix ::ffff:0:0/96.

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

IPv4 and IPv6 Address Converter: how to use it

  1. Enter a dotted IPv4 address or an IPv4-mapped IPv6 address, or load the example.
  2. Convert and compare the IPv4 value, mapped dotted-tail form and compressed hexadecimal form.
  3. Copy or download the converted address. Paste it back into the converter to verify the round trip.

Limits and notes

Accepts one plain IP address at a time. Reverse conversion applies to the IPv4-mapped prefix ::ffff:0:0/96. Native IPv6, IPv4-compatible IPv6 and NAT64 translation prefixes use different address semantics.

How your privacy works →

IPv4 and IPv6 Address Converter: common questions

Can I paste a fully expanded mapped address?

Yes. Uppercase hex, explicit zero groups and the mixed dotted-decimal tail are supported when the address falls in ::ffff:0:0/96.

Does conversion allocate an IPv6 address?

It expresses the same embedded IPv4 bytes using the standard mapped representation. Allocation and routing are separate.

What does a compressed value like ::ffff:c000:225 mean?

The compressed text uses hexadecimal for the final two groups. Those 32 bits correspond to the four dotted IPv4 octets.

Guides