Convert between IPv4 and IPv6 address formats instantly. Supports IPv4-mapped, 6to4, Teredo, and format conversion. Free online converter.
IPv4 uses 32-bit addresses written as four decimal octets separated by dots (dotted-decimal notation).
Format: 192.168.1.1
Total addresses: ~4.3 billion
Example ranges: 10.0.0.0/8, 192.168.0.0/16
Address exhaustion led to IPv6 development
IPv6 uses 128-bit addresses written as eight groups of four hexadecimal digits separated by colons.
Format: 2001:0db8:85a3:0000:0000:8a2e:0370:7334
Total addresses: 3.4 x 10^38
Can be compressed: 2001:db8:85a3::8a2e:370:7334
Built-in security and autoconfiguration
Devices run both IPv4 and IPv6 simultaneously. This is the preferred long-term solution as it provides native support for both protocols without translation overhead.
IPv6 packets are encapsulated within IPv4 packets to traverse IPv4-only networks. Methods include 6to4, Teredo, and ISATAP. Useful during transition but adds overhead.
Translates between IPv4 and IPv6 at the network level. Allows IPv6-only clients to access IPv4-only servers. Common in mobile networks and large enterprises.
Type Prefix Scope Use Case
Global Unicast 2000::/3 Global Internet-routable addresses
Link-Local fe80::/10 Link Auto-configuration, neighbor discovery
Unique Local fc00::/7 Organization Private networks (like RFC 1918)
Multicast ff00::/8 Various One-to-many communication
Loopback ::1/128 Node Local host (like 127.0.0.1)
IPv4-Mapped ::ffff:0:0/96 N/A Dual-stack compatibility
IPv4 (Internet Protocol version 4) uses 32-bit addresses providing approximately 4.3 billion unique addresses — a pool that has been exhausted since 2011. IPv6 uses 128-bit addresses, providing 340 undecillion (3.4 x 10^38) addresses — enough to assign a unique address to every atom on the surface of the Earth and still have addresses left over.
Converting and mapping between IPv4 and IPv6 addresses is essential during the ongoing global transition from IPv4 to IPv6. Organizations must support both protocols simultaneously (dual-stack), translate between them, and understand how IPv4 addresses are represented within IPv6 space.
| Feature | IPv4 | IPv6 |
|---|---|---|
| Address length | 32 bits | 128 bits |
| Notation | Dotted decimal (192.168.1.1) | Colon hexadecimal (2001:0db8::1) |
| Address space | ~4.3 billion | ~340 undecillion |
| Header size | 20-60 bytes (variable) | 40 bytes (fixed) |
| Broadcast | Yes | No (replaced by multicast) |
| IPsec | Optional | Built-in (mandatory to implement) |
| NAT required | Typically yes | No — enough addresses for direct connectivity |
| Checksum | In header | Removed (handled by link and transport layers) |
IPv4 addresses can be represented within IPv6 address space using special mapping formats:
| Type | Format | Example |
|---|---|---|
| IPv4-Mapped | ::ffff:IPv4 | ::ffff:192.168.1.1 or ::ffff:c0a8:0101 |
| IPv4-Compatible | ::IPv4 (deprecated) | ::192.168.1.1 |
| 6to4 | 2002:IPv4::/48 | 2002:c0a8:0101::/48 |
| NAT64 | 64:ff9b::IPv4 | 64:ff9b::192.168.1.1 |
This tool converts IP addresses between IPv4 and IPv6 formats. For IPv4 addresses, it generates IPv4-mapped IPv6 addresses in both dotted and hexadecimal notation, as well as 6to4 transition addresses. For IPv6 addresses, it provides full and compressed forms, identifies the address type, and extracts embedded IPv4 addresses when present.
An IPv4-mapped IPv6 address represents an IPv4 address within the IPv6 address space using the format ::ffff:a.b.c.d. This format is defined in RFC 4291 and is commonly used by dual-stack applications that need to handle both IPv4 and IPv6 connections through a single socket interface.
A 6to4 address is a transition mechanism defined in RFC 3056 that allows IPv6 packets to be transmitted over an IPv4 network. These addresses use the 2002::/16 prefix followed by the IPv4 address encoded in hexadecimal. While useful for transition scenarios, 6to4 is being deprecated in favor of native IPv6 connectivity.
The tool identifies multiple IPv6 address types including Global Unicast (2000::/3), Link-Local (fe80::/10), Unique Local Address (fc00::/7), Multicast (ff00::/8), Loopback (::1), IPv4-Mapped, 6to4 Transition, Teredo Tunneling, and Documentation addresses. It also indicates the scope such as global, link-local, or organization-local.
Full form IPv6 shows all eight 16-bit groups with leading zeros, such as 2001:0db8:0000:0000:0000:0000:0000:0001. Compressed form removes leading zeros from each group and replaces the longest consecutive sequence of all-zero groups with ::, resulting in 2001:db8::1. Both represent the same address.
No, all conversions happen entirely in your browser using JavaScript. Your IP addresses are never transmitted to any server. This makes the tool safe for analyzing internal network addresses or sensitive infrastructure information without any privacy concerns.