What Is IPv4 / IPv6 Converter?
A free online IPv4 to IPv6 converter with four modes. IPv4 to IPv6: convert any IPv4 address to IPv4-mapped (::ffff:x.x.x.x), IPv4-compatible (::x.x.x.x), hex, and decimal formats. IPv6 to IPv4: extract embedded IPv4 addresses from IPv6 addresses like ::ffff:192.168.1.1. Expand IPv6: convert compressed IPv6 notation to full 8-group format. Compress IPv6: shorten IPv6 addresses using :: zero compression. All conversion is local and instant.
As the internet transitions from IPv4 to IPv6, network professionals and developers frequently need to convert between the two formats. IPv4 / IPv6 Converter handles four common conversion scenarios: IPv4 to IPv6 (generating IPv4-mapped and IPv4-compatible addresses), IPv6 to IPv4 (extracting embedded IPv4 addresses), IPv6 expansion (converting compressed :: notation to full 8-group format), and IPv6 compression (shortening IPv6 addresses with zero collapsing).
For IPv4 to IPv6 conversion, the tool generates three representations: IPv4-mapped (::ffff:x.x.x.x), IPv4-compatible (::x.x.x.x), hex format, and decimal format. The IPv4-mapped format is the modern standard for representing IPv4 addresses in an IPv6 context, used by dual-stack applications where an IPv6 socket communicates with an IPv4 host.
For IPv6 to IPv4 conversion, only addresses containing embedded IPv4 addresses (in ::ffff:x.x.x.x or ::x.x.x.x format) can be converted. Native IPv6 addresses like 2001:db8::1 have no IPv4 equivalent and will show an error. The expand mode takes compressed IPv6 notation like 2001:db8::1 and expands it to the full 2001:0db8:0000:0000:0000:0000:0000:0001. The compress mode does the reverse, collapsing runs of zero groups.