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

Copied!

Summary

Enter an IPv4 address and instantly get its IPv4-mapped IPv6 form, 6to4 address, Teredo prefix, and decimal representation.

How it works

  1. Enter a valid IPv4 address (e.g. 192.168.1.1) in the input field.
  2. The tool validates each octet (0–255) and rejects invalid addresses.
  3. Each octet is converted to its hexadecimal byte pair for the IPv6 suffix.
  4. The IPv4-mapped form prepends ::ffff: to the hex-encoded address.
  5. The 6to4 form embeds the IPv4 bytes into the 2002::/16 prefix (RFC 3056).
  6. 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