IPv4 to IPv6 Converter
Convert an IPv4 address into its IPv6 representations. Enter any IPv4 address and the tool shows the IPv4-mapped (::ffff:a.b.c.d), IPv4-compatible and 6to4 forms, each in both compressed and full eight-group notation. Free and instant in your browser.
This IPv4 to IPv6 converter takes a familiar dotted-quad address and shows how it maps into IPv6. Enter something like 192.0.2.5 and it returns the IPv4-mapped form (the ::ffff address a dual-stack socket expects), the deprecated IPv4-compatible form, and the 6to4 address, each in both compressed and full eight-group notation. Admins reach for it when configuring a dual-stack host or ACL that wants the ::ffff:a.b.c.d form, or when working out the 6to4 address for an IPv4 endpoint. It is also a plain way to convert an IP to IPv6 while learning how the two address spaces line up.
Read the guide: How to Convert IPv4 to IPv6::ffff:192.0.2.5::c000:2052002:c000:205::0000:0000:0000:0000:0000:ffff:c000:02050000:0000:0000:0000:0000:0000:c000:02052002:c000:0205:0000:0000:0000:0000:0000How it works
- 1
Enter the IPv4 address
Type a dotted-quad address such as 192.0.2.5 into the field.
- 2
Read the IPv6 forms
See the IPv4-mapped, IPv4-compatible and 6to4 representations side by side.
- 3
Copy the form you need
Each result has a copy button, in both the short and full notation.
Instant & 100% private — nothing is uploaded
Everything runs locally in your browser. Your code, text and files are processed on your own device and are never sent to a server — so there are no upload waits, no size limits from us, and nothing is ever stored or logged.
Frequently asked questions
- What is an IPv4-mapped IPv6 address?
- It is the form ::ffff:a.b.c.d, where the last 32 bits hold the IPv4 address and the prefix is ::ffff:0:0/96. A dual-stack host uses it so a single IPv6 socket can also talk to IPv4 peers. For 192.0.2.5 the mapped address is ::ffff:192.0.2.5, which in pure hex is ::ffff:c000:205.
- What is the difference between IPv4-mapped and IPv4-compatible?
- Both put the IPv4 address in the low 32 bits, but the compatible form (::a.b.c.d, prefix ::/96) has all-zero upper bits, while the mapped form sets the 16 bits before the address to ffff. The compatible form is deprecated and shown only for reference; the mapped form is what current systems use.
- What is a 6to4 address?
- A 6to4 address embeds an IPv4 address into the 2002::/16 prefix, giving the IPv4 host an entire IPv6 /48 to use over a 6to4 tunnel. For 192.0.2.5 the 6to4 prefix is 2002:c000:205::, since c000:0205 is 192.0.2.5 in hex.
- Does this conversion run on a server?
- No. The address is converted entirely in your browser, so the IPv4 address you enter is never sent anywhere. It keeps working once the page has loaded, even offline.
More tools
More from the Hivly network
Free sister tools on our other sites.