IPv4 to IPv6 Address Converter
Convert standard IPv4 addresses to IPv4-mapped IPv6, 6to4, and hex formats.
Output will appear here
Click in the output to select all text
Related tools
IP Address Validator (IPv4 & IPv6)
Validate IPv4 and IPv6 addresses and classify as public, private, or loopback.
IP CIDR Subnet & Range Calculator
Calculate network IP, broadcast IP, netmask, wildcard mask, and usable host count from CIDR.
MAC Address Validator & Formatter
Validate MAC addresses and reformat between colon, hyphen, and dot-separated notation.
DNS Record Generator (A, CNAME, MX, TXT, SPF)
Generate standard BIND-style DNS zone records for A, AAAA, CNAME, MX, TXT, and SPF.
Localhost & Port URL Builder Helper
Generate standard localhost and local development test URLs with ports and routes.
This IPv4 to IPv6 converter transforms a standard dotted-decimal IPv4 address into its IPv4-mapped IPv6 representation, 6to4 tunneling address, and raw hexadecimal form. It's a useful reference tool for network engineers and developers working through dual-stack networking, IPv6 transition mechanisms, or debugging systems that log addresses in mapped IPv6 notation like ::ffff:192.168.1.1. Rather than doing the hex conversion by hand, this ip address converter handles the math instantly and displays every relevant format side by side. It's particularly helpful when configuring 6to4 tunnels, inspecting socket logs that report addresses in IPv6 form, or just learning how IPv4 and IPv6 addressing relate to each other. Conversion happens entirely in your browser with no external requests - nothing about your address is transmitted or stored. Enter an IPv4 address below to see its IPv6-mapped, 6to4, and hex equivalents.
Features
- Converts IPv4 addresses to IPv4-mapped IPv6 notation (::ffff:x.x.x.x)
- Generates 6to4 addresses using the 2002::/16 prefix
- Shows the raw hexadecimal representation of the IPv4 address
- Validates the input IPv4 address before converting
- Instant conversion as you type
- Displays results in standard compressed IPv6 notation
- Useful reference for dual-stack network debugging
Why use this ipv4 to ipv6 converter?
- Instant conversion with no manual hex math
- Fully private - addresses never leave your browser
- Accurate conversion following RFC 4291 and RFC 3056 formats
- Clear side-by-side display of multiple representations
- Free with no signup or usage restrictions
Frequently asked questions
What is an IPv4-mapped IPv6 address?
It's an IPv6 address in the form ::ffff:a.b.c.d that represents an IPv4 address within the IPv6 address space, defined in RFC 4291.
What is a 6to4 address used for?
A 6to4 address embeds an IPv4 address within the 2002::/16 prefix to enable IPv6 connectivity over an IPv4-only network without explicit tunnel configuration.
Is 6to4 still commonly used today?
It's largely legacy technology now, superseded by native IPv6 deployment and other transition mechanisms, but it still appears in older network configurations.
Can I convert a private IPv4 address with this tool?
Yes, the conversion math works the same regardless of whether the address is public or private.
Does this tool convert IPv6 back to IPv4?
This tool is designed for IPv4-to-IPv6 conversion; embedded IPv4 addresses can typically be read directly from the mapped or 6to4 output.
Why does the hex output matter?
Hexadecimal representation is useful when working with low-level network debugging tools, packet captures, or systems that log raw address bytes.
Is the output IPv6 address compressed using double-colon notation?
Yes, results follow standard IPv6 compression rules to shorten consecutive zero groups.