Skip to content

IPv4 to IPv6 Converter

Convert an IPv4 address into every IPv6 form that carries it, and back.

Direction

Quick Tool Overview

The IPv4 to IPv6 Converter shows every form in which IPv6 can carry an IPv4 address — mapped, dotted-mapped, the deprecated compatible form, 6to4 and fully expanded — and extracts an IPv4 address back out of any of them.

What it does
Converts between IPv4 and its IPv6 representations
You give it
An address in either family
You get back
Every embedded form, with what each is for
Best for
Reading dual-stack logs and IPv6 migration work
Developer Tools Free, unlimited use No sign-up Runs in your browser

About the IPv4 to IPv6 Converter

IPv6 can carry an IPv4 address inside it in several different ways, and they are not interchangeable. This shows each one for a given address, with what it is actually for.

The mapped form, ::ffff:192.168.1.1, is the one you see in logs from a dual-stack server: it means an IPv4 client connected to an IPv6 socket. The compatible form, ::192.168.1.1, is deprecated and should not appear in anything new. The 6to4 prefix, 2002::/16, embeds an address to derive a whole /48 and is also effectively dead. The converter works the other way too, pulling an IPv4 address back out of any of the three.

Key features of the IPv4 to IPv6 Converter

Explains ::ffff:

The mapped form is what appears in a dual-stack server log when an IPv4 client connects — the commonest reason to look this up.

Deprecated forms marked

The ::compatible form and 6to4 are both effectively dead, and the page says so rather than presenting five equal options.

Both directions

Extract an IPv4 address from a mapped, compatible or 6to4 address, which is what turns a log line into something searchable.

Proper compression

The longest run of zero groups becomes ::, applied once, which is what the specification requires.

Clear about what changes

Notation, not reachability. IPv6 connectivity needs translation at the network level, not a different way of writing the address.

How to use the IPv4 to IPv6 Converter

  1. 1

    Enter an address

    IPv4 to see every IPv6 form, or IPv6 to extract the address inside it.

  2. 2

    Read each form

    Mapped, dotted mapped, compatible, 6to4 and fully expanded.

  3. 3

    Check which to use

    Each form says what it is for and whether it is deprecated.

  4. 4

    Copy what you need

    Click any form to copy it.

Frequently asked questions

Because a dual-stack server accepted an IPv4 connection on an IPv6 socket. It is the same client, written in IPv6 notation — strip the ::ffff: prefix and you have the real address.

Reviews of the IPv4 to IPv6 Converter

What people who use the IPv4 to IPv6 Converter think of it. Reviews come from visitors and are posted as written.

No ratings yet

Yours would be the first.

  • 5 0 reviews rated 5 stars
  • 4 0 reviews rated 4 stars
  • 3 0 reviews rated 3 stars
  • 2 0 reviews rated 2 stars
  • 1 0 reviews rated 1 star

Write a review

Used this tool? Your rating helps the next person decide.

Your rating

Plain text only — links, email addresses and HTML are not accepted. Your name and review are shown publicly; nothing else is collected. See the privacy policy.

0 reviews

Newest first

No reviews yet

Be the first to rate the IPv4 to IPv6 Converter. It takes half a minute and no account.

Write the first review

More developer tools