We use cookies.This website uses essential cookies to operate core features. With your consent, we also use analytics cookies to understand traffic and improve the service. For more details, see our .
IPv4 / IPv6 Address Converter
If this tool helped you, you can buy us a coffee ☕
A two-way IPv4 and IPv6 address converter for network configuration, debugging, and format validation.
Enter IP address to start conversion

Random User Agent Generator
Generate random browser User-Agent strings for developers, QA testers, and web scrapers to simulate various devices and platforms.

IPv6 Address Compressor
Compress IPv6 addresses to their shortest RFC-compliant format by removing redundant zeros. Perfect for network configuration and address management.

Random IP Address Generator
Generate IPv4 and IPv6 addresses on demand. Supports specific public/private networks and custom CIDR ranges. Ideal for testing, development, and learning.
When deploying services, troubleshooting connectivity issues, or writing compatible code in a mixed network environment, you often need to convert between IPv4 dotted-decimal addresses and IPv6 colon-separated hexadecimal addresses. This tool quickly performs two-way conversions, outputting the corresponding standard address format. Its core principle is handling the format translation between the two types of addresses, especially for IPv4-mapped IPv6 addresses (formatted as ::ffff:a.b.c.d), which is a key mechanism for IPv4/IPv6 transition and communication.
Q: Which IPv6 addresses can be converted back to IPv4?
Only IPv4-mapped IPv6 addresses (formatted as ::ffff:a.b.c.d) or IPv4-compatible addresses can be successfully converted back to IPv4. Pure IPv6 addresses (e.g., 2001:db8::1) do not have a corresponding IPv4 address.
Q: What format does an IPv4 to IPv6 conversion output?
It typically outputs an IPv4-mapped IPv6 address format. For example, 192.168.1.100 will be converted to ::ffff:c0a8:64.
Please ensure the entered address format is correct and valid. IPv6 addresses support abbreviated forms. The tool primarily handles the conversion of standard formats and IPv4-mapped addresses. Pure public IPv6 addresses cannot be reverse-converted to IPv4. The conversion result is in plain text format and can be copied directly for use.
When configuring network devices or developing dual-stack applications, this tool is frequently used to quickly validate address formats or generate test cases. A typical scenario: when configuring firewall rules that support IPv6, you may need to convert a known IPv4 source address into an IPv6-mapped format to reference it in IPv6 rules. For example, converting the internal management address 192.168.10.1 to ::ffff:c0a8:a01 allows it to be used in an IPv6 ACL rule. Note that this conversion does not change the fundamental network reachability of the address; it is merely a formatting representation used to identify an IPv4 node within an IPv6 environment.