Why convert IPv4 to IPv6 at all?
IPv4 has about 4.3 billion addresses, and they ran out. IPv6 is the replacement, with a practically unlimited 128-bit space — but the two families are not directly compatible. During the long transition, systems constantly need to represent an IPv4 address inside IPv6 notation: in dual-stack servers, firewall rules, logs, DNS records and software that stores every address in one format. That representation is what this converter produces.
The IPv4-mapped address (the one you will actually use)
The standard form is the IPv4-mapped IPv6 address:
::ffff:192.168.1.1
The :: compresses the leading zero groups, ffff marks "the next 32 bits are an IPv4 address", and the original IPv4 address follows in familiar dotted form. The same address written purely in hexadecimal groups is ::ffff:c0a8:101 — because 192 = c0, 168 = a8, 1 = 01, 1 = 01. This tool shows both, plus the fully expanded version:
0000:0000:0000:0000:0000:ffff:c0a8:0101
Operating systems use mapped addresses constantly: an IPv6 socket accepting a connection from an IPv4 client usually reports the peer exactly this way, which is why your logs may already contain ::ffff: addresses you never typed.

The other forms you may meet
- 6to4 — an older transition mechanism embedding the IPv4 address after the 2002: prefix (2002:c0a8:0101::). Rarely used today, but it still appears in legacy configurations.
- IPv4-compatible (::192.168.1.1) — the original transition form, deprecated for decades. If you see it, the equipment is ancient or the config is.
This converter focuses on the mapped form because it is the living standard (defined in RFC 4291), and shows the expanded/compressed variants you need when a system demands pure hexadecimal groups.
Worked example
Take 203.0.113.7:
- Convert each octet to hex: 203 → cb, 0 → 00, 113 → 71, 7 → 07.
- Pair them into two 16-bit groups: cb00 and 7107.
- Prepend the mapped prefix: ::ffff:cb00:7107, or in mixed notation ::ffff:203.0.113.7.
- Expanded in full: 0000:0000:0000:0000:0000:ffff:cb00:7107.
Try it above and compare — the tool does the same steps instantly, for any address, including the private ranges from the Random IP Generator.
What conversion does NOT do
Converting is a notation change, not a network upgrade. Writing 192.168.1.1 as ::ffff:192.168.1.1 does not give the device IPv6 connectivity, does not make it reachable over IPv6, and does not change routing — it is the same 32-bit address wearing an IPv6 uniform so that IPv6 software can carry it. Real IPv6 connectivity comes from your provider assigning an actual IPv6 prefix.
Going the other way
Have an IPv6 address and need the IPv4 inside it? The IPv6 to IPv4 Converter extracts it. And if your IPv6 address just looks unwieldy, the Compress IPv6 tool reduces any address to its shortest legal form.
Where mapped addresses appear in your daily work
You will meet ::ffff: addresses in more places than you expect. Web server logs are the big one — Apache and nginx commonly record IPv4 clients in mapped form when listening on IPv6 sockets, which is why a log can look "suddenly full of IPv6" after a config change. Databases that store addresses in a single IPv6-capable column (PostgreSQL's inet type, for example) display IPv4 entries in mapped form on IPv6-aware queries. Cloud consoles and firewall UIs normalise mixed fleets the same way, and analytics tools occasionally split one visitor into two "different" addresses — the dotted and mapped spellings — until you normalise them. In every case the fix is the same: convert everything to one family before comparing, counting or blocking. This tool and its reverse counterpart exist to make that normalisation painless.