# IPv4 to IPv6

Convert IPv4 addresses to IPv6 addresses. Supports IPv4-mapped and IPv4-compatible formats.

> Canonical page: https://elysiatools.com/en/tools/ipv4-to-ipv6

- **Category:** Network

- **Keywords:** ipv4, ipv6, converter, network, ip address, transition, mapping

## Overview

The IPv4 to IPv6 converter is a specialized network utility designed to translate standard 32-bit IPv4 addresses into their 128-bit IPv6 equivalents. It supports multiple industry-standard transition formats, including IPv4-mapped, IPv4-compatible, and NAT64, ensuring seamless compatibility for network configuration and migration tasks.

## Inputs

- **IPv4 Addresses** (textarea): Enter IPv4 addresses, one per line: 192.168.1.1 8.8.8.8 127.0.0.1
- **Output Format** (select)
- **Add Line Numbers** (checkbox): Number each conversion result
- **Show Source Data** (checkbox): Display original IPv4 addresses in results

## When to use

- When migrating network infrastructure from legacy IPv4 to modern IPv6 environments.
- When configuring dual-stack network devices that require specific address mapping formats.
- When generating NAT64 prefixes for translation services in isolated IPv6-only networks.

## How it works

- Enter your IPv4 addresses into the input field, placing each address on a new line.
- Select your preferred output format, such as IPv4-mapped or NAT64, from the dropdown menu.
- Toggle optional settings like line numbering or source data display to customize your output.
- Click the convert button to generate the formatted IPv6 addresses instantly.

## Use cases

- Network administrators preparing firewall rules for dual-stack transitions.
- Developers testing application compatibility in IPv6-only network environments.
- System engineers mapping legacy server IPs into modern cloud-native network configurations.

## Frequently asked questions

### What is an IPv4-mapped address?

An IPv4-mapped address is an IPv6 address that represents an IPv4 node, typically using the prefix ::ffff:0:0/96.

### Can I convert multiple IP addresses at once?

Yes, you can paste a list of IPv4 addresses into the input area, and the tool will process them line by line.

### What is the difference between mapped and compatible formats?

Mapped addresses (::ffff:0:0/96) are used for dual-stack nodes, while compatible addresses (::/96) are a legacy format for tunneling IPv4 over IPv6.

### Does this tool support NAT64 prefix generation?

Yes, selecting the NAT64 format will apply the well-known 64:ff9b::/96 prefix to your provided IPv4 addresses.

### Is my data sent to a server?

The conversion is performed efficiently, and no IP address data is stored or logged by the tool.

## Related tools

- [CIDR Calculator](https://elysiatools.com/en/tools/cidr-calculator): Calculate network information from CIDR notation. Supports IPv4 and IPv6.
- [Integer to IPv4](https://elysiatools.com/en/tools/integer-to-ipv4): Convert integers to IPv4 addresses. Supports batch conversion of multiple integers.
- [Integer to IPv6](https://elysiatools.com/en/tools/integer-to-ipv6): Convert integers (128-bit) to IPv6 addresses. Supports batch conversion.
- [IP Info](https://elysiatools.com/en/tools/ip-info): Get real information about IP addresses including location and ISP details using geolocation database
- [IPv4 to Integer](https://elysiatools.com/en/tools/ipv4-to-integer): Convert IPv4 addresses to integers. Supports batch conversion of multiple addresses.
- [IPv6 to Integer](https://elysiatools.com/en/tools/ipv6-to-integer): Convert IPv6 addresses to integers (128-bit). Supports batch conversion.
- [MAC OUI Vendor Lookup](https://elysiatools.com/en/tools/mac-oui-vendor-lookup): Look up the manufacturer of a MAC address from the IEEE OUI database, or reverse-search a company name to list all its OUI blocks — fully offline
- [NB-IoT LTE-M Cat-M1 CoAP LwM2M Cellular IoT Packet Analyzer](https://elysiatools.com/en/tools/nb-iot-lte-m-cat-m1-coap-lwm2m-cellular-iot-packet-analyzer): Decode hex captures from cellular IoT devices: CoAP headers/options (block-wise, Observe), LwM2M TLV object trees with registry names, SMS-DELIVER UDH port addressing unwrapping CoAP-over-SMS, link-format registrations and DTLS record summaries.

## Samples

- [Web Image Processing Python Samples](https://elysiatools.com/en/samples/web-image-processing-python): Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion
- [Android Image Processing Java Samples](https://elysiatools.com/en/samples/android-image-processing-java): Android Java image processing examples including reading/saving images, scaling, and format conversion
- [Android Image Processing Kotlin Samples](https://elysiatools.com/en/samples/android-image-processing-kotlin): Android Kotlin image processing examples including reading/saving images, scaling, and format conversion
- [Web Image Processing Rust Samples](https://elysiatools.com/en/samples/web-image-processing-rust): Web Rust image processing examples including image read/save, scaling, and format conversion

## Related content

- [Network Address Conversion and Evidence Preparation](https://elysiatools.com/en/hubs/network-convert): Validate addresses, convert IPv4 and IPv6 formats, normalize URL and webhook inputs, and package DNS, hosts, port, WHOIS, and packet evidence for review.
