IPv4-mapped IPv6

IPv4-mapped IPv6 address for 127.0.0.1

Convert an IPv4 address into IPv4-mapped IPv6 notation for dual-stack applications, logs, socket APIs, and network troubleshooting.

Read: IPv4-mapped IPv6 addresses explained

The conversion runs locally and does not use an external lookup service.

Conversion result

IPv4-mapped IPv6 address for 127.0.0.1

IPv4 input

127.0.0.1

IPv6 mapped output

::ffff:7f00:1

Expanded IPv6 address

0000:0000:0000:0000:0000:ffff:7f00:0001

IPv4 dotted-quad notation

::ffff:127.0.0.1

127.0.0.1 is an IPv4 loopback address

127.0.0.1 belongs to the IPv4 loopback block 127.0.0.0/8. Traffic sent to this range stays on the current machine, so it cannot identify or reach a device elsewhere on a network or the public internet.

127.0.0.1 is the conventional IPv4 localhost address. Developers use it to test web servers, databases, containers, and other services locally without sending traffic through a network interface.

If a server log records ::ffff:7f00:1, it normally describes the same local IPv4 client. It does not mean that a remote visitor connected from a public IPv6 address.

The mapped result ::ffff:7f00:1 preserves the IPv4 value inside the IPv4-mapped IPv6 prefix ::ffff:0:0/96. It is a representation used by IPv6-aware software, not a globally routable IPv6 address for this host.

The loopback block is defined as special-purpose IPv4 space, while the IPv4-mapped IPv6 format is defined by the IPv6 addressing architecture. See the IANA IPv4 special-purpose registry and RFC 4291.

Recent conversions

Recent IPv4 to IPv6 Conversions

Open recent IPv4 inputs to view their IPv4-mapped IPv6, expanded, and dotted-quad forms.