IPv4 to IPv6 Converter
Enter an IPv4 address and instantly get its IPv4-mapped IPv6 form, 6to4 address, Teredo prefix, and decimal representation.
Enter IPv4 Address
Quick Examples
Enter an IPv4 address to see all IPv6 formats
IPv4-Mapped IPv6
RFC 4291 — primary dual-stack format
IPv4-Compatible IPv6
Deprecated — RFC 4291 §2.5.5.1
6to4 Address
RFC 3056 — 2002::/16 prefix
Teredo Server Prefix
RFC 4380 — 2001:0000::/32 prefix
Hex (dotted)
Decimal (128-bit)
Copied!
Summary
Enter an IPv4 address and instantly get its IPv4-mapped IPv6 form, 6to4 address, Teredo prefix, and decimal representation.
How it works
- Enter a valid IPv4 address (e.g. 192.168.1.1) in the input field.
- The tool validates each octet (0–255) and rejects invalid addresses.
- Each octet is converted to its hexadecimal byte pair for the IPv6 suffix.
- The IPv4-mapped form prepends ::ffff: to the hex-encoded address.
- The 6to4 form embeds the IPv4 bytes into the 2002::/16 prefix (RFC 3056).
- Additional formats (decimal, hex dotted-quad, Teredo) are computed and displayed.
Use cases
- Prepare IPv4 addresses for dual-stack application configuration.
- Verify the IPv4-mapped IPv6 representation when debugging socket code.
- Calculate 6to4 addresses for transition tunnel planning.
- Convert addresses for firewall or ACL rules that require IPv6 notation.
- Study IPv4-to-IPv6 transition mechanisms for CCNA/CCNP certification.
- Quickly find the decimal or hex value of an IPv4 address.
Frequently Asked Questions
Last updated: 2026-06-10 ·
Reviewed by Nham Vu