Skip to content
DevKit Labs

IPv4 to IPv6 Converter

Convert an IPv4 address to its IPv6 forms — mapped, compatible, 6to4 and expanded.

IPv4 address
IPv4-mapped
::ffff:192.168.1.1
IPv4-mapped (hex)
::ffff:c0a8:0101
IPv4-compatible
::192.168.1.1
6to4 prefix
2002:c0a8:0101::/48
Expanded
0000:0000:0000:0000:0000:ffff:c0a8:0101

About IPv4 to IPv6 Converter

Enter an IPv4 address and get its IPv6 representations: the standard IPv4-mapped form (::ffff:a.b.c.d), the same address in full hexadecimal, the deprecated IPv4-compatible form, the 6to4 prefix (2002::/16) derived from it, and the fully expanded 128-bit address.

It's useful when working across dual-stack networks or reading logs that mix address families. The conversion is pure arithmetic and runs entirely in your browser; nothing is uploaded.

Map an address

Input
192.168.1.1
Output
::ffff:192.168.1.1 · ::ffff:c0a8:0101 · 2002:c0a8:0101::/48

The hex halves (c0a8, 0101) come from the four octets.

Frequently asked questions

What is an IPv4-mapped IPv6 address?

It's how an IPv4 address is represented inside IPv6, written ::ffff:a.b.c.d. Dual-stack systems use it to handle IPv4 traffic over IPv6 sockets.

What's the 6to4 prefix?

6to4 (2002::/16) is a transition mechanism that embeds an IPv4 address into an IPv6 prefix so IPv6 traffic can tunnel over IPv4 networks.

Why is IPv4-compatible shown if it's deprecated?

The ::a.b.c.d form is obsolete but still appears in older documentation and systems, so it's included for reference — prefer the IPv4-mapped form.

Is anything uploaded?

No. The conversion is done entirely in your browser.

Related tools

References