Developer tools TOOL
IPv4 → IPv6
Convert an IPv4 address to IPv4-mapped IPv6 notation.
Enter your text
On-device processingIPv4 → IPv6 · How to use
Convert an IPv4 address to IPv4-mapped IPv6 notation.
Example
192.0.2.1 → ::ffff:c000:201
Things to know
Calculates IPv4-mapped IPv6 notation. It does not assign an IPv6 address on a network.
Your files and results are never sent to a server. Everything is processed in this browser.
How to write an IPv4 address in IPv4-mapped IPv6 form
Dual-stack servers often log IPv4 clients as IPv6 addresses starting with ::ffff:. Use this when you need the same address in IPv6 notation for an access list, or want to match a log entry to its IPv4 address.
When to use this tool
- Match ::ffff: addresses in dual-stack logs to IPv4
- Add an IPv4 client to an IPv6 access control list
- Study how mapped addresses are built
Step-by-step instructions
- Enter one dotted IPv4 address.
- Choose Convert.
- Copy the result that starts with ::ffff:.
Frequently asked questions
Does converting give my device an IPv6 address?
No. It only rewrites the same IPv4 address in IPv6 notation. It does not change network settings, assign an address or provide IPv6 connectivity.
What does c000:201 in the result mean?
It is the four IPv4 numbers written in hexadecimal and paired into two groups. 192.0.2.1 becomes c0 00 02 01, and leading zeros in each group are dropped, giving c000:201.
Can I enter an address with leading zeros like 010.1.1.1?
No. Numbers with leading zeros are rejected; some software reads them as octal, so the same text could mean a different address. Enter four numbers from 0 to 255, such as 10.1.1.1.