IPv4 to IPv6 Converter
Convert an IPv4 address to its IPv6-mapped and 6to4 representations.
Inputs
Conversion Result
Results will appear here.
Converting an IPv4 address to its IPv6 representations is a routine task when working with dual-stack network configurations, writing socket code, or auditing firewall rules that must handle both protocol families. The IPv4-mapped and 6to4 forms appear in kernel logs, packet captures, and application configurations, and knowing how to produce and interpret them is essential for IPv6 migration work.
This tool accepts any valid IPv4 address and outputs both the ::ffff: mapped form and the 2002:: 6to4 prefix, formatted for direct use in configuration files, firewall rules, or network documentation.
Cómo convertir una dirección IPv4 a IPv6 en línea
- 1
Introduce una dirección IPv4
Pega o escribe una dirección IPv4 (p. ej., 192.0.2.1) en el campo de entrada. El convertidor acepta notación decimal punteada estándar.
- 2
Selecciona el formato de conversión
Elige el método de conversión: IPv4-mapeado a IPv6 (::ffff:x.x.x.x), 6to4 (2002:xxxx:xxxx::) o IPv6 estándar. Cada método sirve para distintos escenarios de tunelización y compatibilidad.
- 3
Ve la dirección convertida
La herramienta genera al instante la dirección IPv6 convertida. Copia el resultado al portapapeles o úsalo para tu configuración de red.
How IPv4-to-IPv6 Address Conversion Works
IPv4-mapped IPv6 addresses (::ffff:0:0/96) are used by the IPv6 socket API to represent IPv4 connections received on dual-stack sockets. The 32-bit IPv4 address is placed in the low-order 32 bits of the 128-bit IPv6 address space, allowing a single socket to accept both IPv4 and IPv6 connections transparently.
The 6to4 mechanism (RFC 3056) encodes the IPv4 address into a /48 IPv6 prefix by appending the address in hexadecimal to 2002::/16. A host with the IPv4 address 203.0.113.5 (0xcb007105) gets the 6to4 prefix 2002:cb00:7105::/48. This enables IPv6 routing over IPv4 infrastructure but is largely superseded by native dual-stack and IPv6 tunnelling protocols.
Por qué usar el Convertidor IPv4 a IPv6 de FileCrank
- ✓ Convierte IPv4 a representaciones IPv6-mapeado y 6to4 al instante
- ✓ Admite múltiples formatos de transición IPv6 para diferentes escenarios de red
- ✓ Valida la entrada y proporciona mensajes de error claros para direcciones inválidas
- ✓ Se ejecuta completamente en tu navegador — ningún dato sale de tu equipo
- ✓ Gratis sin registro ni instalación requeridos
Características y Especificaciones
Preguntas frecuentes
¿Cómo uso el Convertidor IPv4 a IPv6?
Introduce una dirección IPv4 válida (p. ej., 192.0.2.1) y selecciona el formato de conversión IPv6 deseado. La herramienta muestra al instante la dirección convertida.
¿Qué es una dirección IPv6 mapeada a IPv4?
Una dirección IPv6 mapeada a IPv4 es un formato híbrido que incorpora una dirección IPv4 en notación IPv6 (p. ej., ::ffff:192.0.2.1). Permite que los sistemas con capacidad IPv6 se comuniquen con sistemas IPv4 de forma transparente.
¿Qué es la tunelización 6to4?
6to4 es un protocolo de tunelización que encapsula automáticamente tráfico IPv6 dentro de paquetes IPv4, permitiendo conectividad IPv6 sin un túnel dedicado. Las direcciones comienzan con 2002:.
¿Este convertidor envía mis datos a algún lugar?
No. Todas las conversiones se ejecutan completamente en tu navegador usando JavaScript. Tu dirección IPv4 nunca sale de tu dispositivo ni contacta ningún servidor.
¿Cuál es la diferencia entre direcciones IPv6 mapeadas a IPv4 y compatibles con IPv4?
Las direcciones mapeadas a IPv4 (::ffff:x.x.x.x) son el estándar moderno y las usan los sistemas de doble pila. Las direcciones compatibles con IPv4 (::x.x.x.x) están obsoletas y no deben usarse.
¿Cuándo necesitaría convertir una dirección IPv4 a IPv6?
Puedes necesitar esta conversión al configurar tunelización IPv4 a IPv6, configurar redes de doble pila o documentar estrategias de transición IPv6.
IPv4-to-IPv6 Converter vs. Python socket.inet_pton
Python's socket library can perform this conversion programmatically, but requires writing and running a script — impractical for a quick reference during code review or documentation. This tool delivers both mapped representations instantly in the browser with copy-ready output, removing the friction of opening a REPL for a routine conversion.
Herramientas relacionadas
IPv6 to IPv4 Converter
Extract the embedded IPv4 address from an IPv6-mapped or 6to4 address.
Mi dirección IP
Detecta y muestra tu dirección IPv4 e IPv6 pública, la versión del protocolo y la clase de dirección.
Detector de clase IP
Determina la clase de red (A, B, C, D o E) de cualquier dirección IPv4.
Private IP Checker
Check whether an IPv4 or IPv6 address is in a private or reserved range.
El Convertidor IPv4 a IPv6 de FileCrank convierte cualquier dirección IPv4 a formatos IPv6-mapeado (::ffff:x.x.x.x), 6to4 (2002::) o IPv6 estándar. Todas las conversiones se ejecutan completamente en el lado del cliente. Gratis sin cuenta requerida.
Advertisement