IPv6 to IPv4

Extract IPv4 from a mapped IPv6 address.

Runs locally

An IPv4-mapped IPv6 address carries a real IPv4 address in its last 32 bits behind the ::ffff: prefix. This extracts that address, which is useful when server logs record IPv4 clients in mapped form.

Your input

Private, browser-based processing
Input stays on your device

Results

Ready when you are

Enter your details above and run the tool.

How IPv6 to IPv4 works

What it does

Extract IPv4 from a mapped IPv6 address.

What you get

The IPv4 address embedded in an IPv4-mapped IPv6 address.

On your device

Your input is processed in this browser. Copy or download the result when you are ready.

What if a check cannot finish?

Confirm your input and try again. A timeout, blocked request, or unavailable provider is not proof that a domain is broken. Internet measurements and third-party services have limits.

IPv6 to IPv4 — frequently asked questions

Can any IPv6 address be converted to IPv4?

No. Only addresses that embed one — mapped (::ffff:) and some transition formats. A native IPv6 address has no IPv4 equivalent.

Why do my logs show ::ffff: addresses?

A dual-stack socket listening on IPv6 reports IPv4 clients in mapped form. It is the same client, written the way the IPv6 socket sees it.

Should I store the mapped or the extracted form?

Store consistently. Normalising mapped addresses to plain IPv4 before writing them avoids the same client appearing as two different values.