What Is IPv6? IPv4 vs IPv6, Explained Simply

How IPv6 works and how it differs from IPv4, with a quick check of your own connection.

Your connection

Testing IPv6…

IPv6 testing…
IPv4 testing…
Your browser used checking… to load this page

Tested from your browser against ipv6.whatismyipnow.com (IPv6 only) and ipv4.whatismyipnow.com (IPv4 only). Nothing is saved. Full IPv6 test →

IPv6 is the newest version of the Internet Protocol: its addresses are 128 bits long, written in hexadecimal like 2001:db8::1, giving about 340 undecillion addresses. In March 2026, more than half of Google's users reached it over IPv6 for the first time.

What Is an IPv6 Address?

An IPv6 address is eight groups of four hexadecimal digits separated by colons, usually a 64-bit network prefix plus a 64-bit interface ID.

Diagram of the IPv6 address 2001:0db8:85a3:0000:0000:8a2e:0370:7334 as eight 16-bit groups: 64-bit network prefix and 64-bit interface ID
Eight groups of four hex digits: 16 bits each, 128 bits in total.

Each hexadecimal digit is 4 bits, so a group of four is 16 bits and eight groups make 128 bits (RFC 8200, RFC 4291). Your provider gives your home a prefix, often a /56 or /48, and your router hands out /64 networks from it; each device then picks its own interface ID. That's why the first half of your address is shared by your home network and the second half is your device.

IPv6 address examples

ExampleTypePrefixMeaning
2001:4860:4860::8888Global unicast2000::/3A public address (Google Public DNS)
fe80::1c4f:9a2b:77e1:5d10Link-localfe80::/10Every interface has one; works only on the local network
fd12:3456:789a::1Unique localfc00::/7Private, like 192.168.x.x
::1Loopback::1/128This computer, like 127.0.0.1
ff02::1Multicastff00::/8All devices on the link (IPv6 has no broadcast)
2001:db8::1Documentation2001:db8::/32Reserved for examples (RFC 3849), never used on the internet

Private IPv4 ranges and NAT are explained in public vs private IP.

How IPv6 Addresses Are Shortened

Drop leading zeros in each group and replace one run of zero groups with :: (RFC 5952).

Diagram of IPv6 compression: 2001:0db8:85a3:0000:0000:8a2e:0370:7334 becomes 2001:db8:85a3::8a2e:370:7334 after removing leading zeros and replacing the zero run with ::
Rule 1 drops leading zeros, rule 2 replaces the longest run of zero groups with “::”.
  1. Leading zeros: 0db8 becomes db8, 0000 becomes 0.
  2. One ::: the longest run of two or more zero groups becomes ::; if two runs are equally long, the first one. A single zero group stays 0.
  3. Lowercase: RFC 5952 recommends lowercase letters.
FullShortest
2001:0db8:0000:0000:0000:0000:0000:00012001:db8::1
2001:0db8:0000:0001:0000:0000:0000:00012001:db8:0:1::1 (the longer zero run wins)
fe80:0000:0000:0000:0202:b3ff:fe1e:8329fe80::202:b3ff:fe1e:8329
0000:0000:0000:0000:0000:0000:0000:0001::1

The test above shows your address in both forms. Try any address with the IPv6 compressor or expander.

IPv4 vs IPv6: the Differences

IPv4 has 4.3 billion 32-bit addresses and relies on NAT; IPv6 has 128-bit addresses, so every device can have a public address.

IPv4 uses 32-bit addresses shared through NAT; IPv6 uses 128-bit addresses so each device can have its own.
IPv4: one public address shared by the whole home. IPv6: one per device.
IPv4IPv6
Address size32 bits, about 4.3 billion128 bits, about 3.4 × 1038
Written as203.0.113.72001:db8::7
NATNeeded: homes share one public addressNot needed: every device can have a public address
ConfigurationDHCP or manualAutomatic (SLAAC), DHCPv6 or manual
Header20–60 bytes, with a checksumFixed 40 bytes, no checksum (faster for routers)
BroadcastYesNo: multicast instead
IPsecOptional add-onDesigned in; required to be supported at first, now recommended (RFC 8504)
StandardRFC 791 (1981)RFC 8200 (2017; first version RFC 1883, 1995)

Is IPv6 faster?

Sometimes slightly: there's no NAT translation, and some networks route IPv6 more directly. But speed depends mostly on the path to each website; browsers race both protocols ("Happy Eyeballs", RFC 8305) and use whichever answers first. More about the older protocol: what is IPv4.

Do I Have IPv6? How to Test It

The test at the top tries to reach us over IPv6 only and IPv4 only; if IPv6 succeeds, your ISP, router and device all support it.

  • IPv6 ✓ and IPv4 ✓: dual-stack, the best case. Your browser uses IPv6 where websites support it.
  • IPv4 only: no IPv6 yet. Check your router's settings (often "IPv6" or "Internet › IPv6": turn it on, mode "auto" or "DHCPv6-PD"), then ask your provider whether your plan includes IPv6.
  • IPv6 only: rare on home networks; mobile networks often run IPv6-only with a translator (NAT64) for IPv4 sites.
  • An address starting with 2001:0: or 2002:: a tunnel (Teredo or 6to4), not native IPv6; usually from old software.

Command line: curl ipv6.whatismyipnow.com prints your IPv6 address, or fails without IPv6. To check a website instead of your connection, use the website IPv6 test. With a VPN, also check that IPv6 doesn't bypass it with the VPN & proxy checker.

Tools That Work With IPv6 Addresses

Most of our IP tools accept an IPv6 address as well as an IPv4: paste it the same way, for example 2001:4860:4860::8888.

The blacklist checker tests an IPv6 address only on the lists that publish IPv6 entries, and the classic subnet calculator is for IPv4: use the IPv6 subnet calculator.

How IPv6 Gets Configured: SLAAC, DHCPv6 and Dual-Stack

Most devices build their own IPv6 address from the router's prefix (SLAAC); dual-stack means IPv4 and IPv6 run side by side.

SLAAC (RFC 4862): the router announces the network prefix, and each device adds its own interface ID. Today that ID is random and changes regularly (privacy addresses, RFC 8981), instead of being built from the network card's MAC address. DHCPv6 (RFC 8415) can hand out addresses or just DNS settings, and gives your router its prefix from the provider (prefix delegation). Dual-stack: your devices have both an IPv4 and an IPv6 address and use whichever each website supports. Where providers lack IPv4 addresses, they carry IPv4 over IPv6 (DS-Lite, 464XLAT) or translate (NAT64).

How Many People Use IPv6 in 2026?

About half of Google's users and around 42% of users in APNIC's measurement (April 2026) reach the internet over IPv6; India and France are far above the US.

Google's share of users reaching it over IPv6 passed 50% for the first time on 28 March 2026 (50.1%). It moves with the week: higher at weekends, when people are on home and mobile networks, lower on weekdays, when office networks dominate, so it sits between about 45% and 50%. APNIC's weighted measurement, which adjusts for each country's internet population, is lower, at around 42% in April 2026. Country figures vary widely: France and India are around 70% or more, while some countries are still under 10%.

Live sources: Google IPv6 statistics · APNIC Labs IPv6 measurement · Internet Society Pulse: IPv6 reaches majority. Last checked 10 November 2026.

Do it yourself

Should You Disable IPv6? How to Turn It Off or On

Usually no: modern systems prefer IPv6 and some features expect it; disable it only to fix a specific problem, such as a VPN that doesn't support IPv6.

Good reasons are rare: a VPN that tunnels only IPv4 (your real IPv6 then bypasses it: first look for an "IPv6 leak protection" or "block IPv6" option in the VPN app), or a provider whose IPv6 is broken (report it). Turn it back on once the problem is fixed.

Windows 11 Prefer IPv4 (Microsoft's advice)

Microsoft recommends preferring IPv4 over disabling IPv6. In an administrator PowerShell, then restart:

New-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Tcpip6\Parameters" -Name DisabledComponents -PropertyType DWord -Value 0x20 -Force

To undo, set the value to 0 (or delete it) and restart. To turn IPv6 off on one adapter instead: Settings › Network & internet › Advanced network settings › More network adapter options › right-click the adapter › Properties › untick Internet Protocol Version 6 (TCP/IPv6).

macOS Terminal

networksetup -setv6off Wi-Fi
networksetup -setv6automatic Wi-Fi

The first line turns IPv6 off for Wi-Fi, the second turns it back on. Use Ethernet for a cable. In System Settings › Network › Details › TCP/IP, "Configure IPv6" can be set to "Link-local only".

Linux Until the next restart

sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0

Router Whole network

Most routers have an IPv6 switch under Internet, WAN or Advanced settings. Turning it on there is also how you enable IPv6 for every device at home. Find the router page with how to find your router IP.

Frequently Asked Questions

What is IPv6 in simple terms?
IPv6 is the newer version of internet addresses. Its addresses are much longer than IPv4's, so there are enough for every phone, computer and device to have its own, without sharing one address through NAT.
Do I have IPv6?
The check at the top of this page tells you in a few seconds: it tries to reach us over IPv6 only and over IPv4 only, and shows your IPv6 address if you have one. If IPv6 fails, your provider, router or device doesn't offer it yet; everything still works over IPv4. The IPv6 test goes further: broken IPv6, which one your browser prefers, and IPv6 leaks past a VPN.
What does an IPv6 address look like?
Eight groups of up to four hexadecimal digits separated by colons, usually shortened, for example 2001:db8:85a3::8a2e:370:7334. The first half is the network (your provider's prefix), the second half identifies your device.
Should I disable IPv6?
Usually not: modern systems prefer IPv6, and Microsoft advises against turning it off in Windows. Disable it only to fix a specific problem, like a VPN that doesn't tunnel IPv6, and try fixing that setting in the VPN first.
Is IPv6 more secure than IPv4?
Not by itself. IPv6 removes the need for NAT, so your devices have public addresses and your router's firewall must block unwanted incoming traffic; home routers do that by default. Privacy addresses, which change regularly, make your devices harder to track.
Why do I have both an IPv4 and an IPv6 address?
Your connection is dual-stack: it uses IPv6 with websites that support it and IPv4 with the rest. Your browser picks the faster one for each site, usually IPv6.

Next steps

Related Tools

What Is My IP
Your public IPv4 and IPv6 address, provider and location.
IPv6 Test
The full test of your connection: IPv6 working or broken, which one your browser prefers, IPv6 leaks past a VPN.
Website IPv6 Test
Check whether a website can be reached over IPv6.
IPv6 Subnet Calculator
Prefixes, ranges and address counts for any IPv6 network.
IPv6 Compressor
Shorten any IPv6 address to its RFC 5952 form.
IP Lookup
Location, provider and owner of any IPv6 address.
Ping
Ping an IPv6 address from 10 countries at once.
Port Checker
Check whether a port on an IPv6 address is open from outside.

Related Guides

Guide What Is IPv4?
32-bit addresses, classes, CIDR and why they ran out.
Guide What Is an IP Address?
How addresses identify devices and route data.
Guide Public IP vs Private IP
Private ranges, NAT and CGNAT.