Skip to main content
IP Range CalculatorPRO
IPv6 ToolsInstant Client-Side Tool

IPv6 Address Expander

Restore omitted hexadecimal groups.

IPv6 Address Expander: inputs and results

Enter an IP address, CIDR prefix, or range. Then check its first and last address below.

Quick presets:

Calculated Boundaries & ParametersReady

Network Address192.168.1.0
Broadcast Address192.168.1.255
First Usable Host192.168.1.1
Last Usable Host192.168.1.254
Subnet Mask255.255.255.0
Wildcard Mask0.0.0.255
Total Addresses256
Usable Host Range254

Key Capabilities

  • •100% Client-Side: Zero telemetry or server latency.
  • •RFC Compliant: Exact 32-bit and 128-bit integer precision.
  • •Quick Copy: Instant access to CIDR, mask, and range bounds.
  • •Cross-Platform: Works on desktop, tablet, and mobile browsers.

How IPv6 Address Expander Works?

The IPv6 Address Expander works by replacing the :: with the missing zero groups and padding every group to 4 hex digits, producing the full 39-character form.

  1. Enter a compressed address

    Type an address such as fe80::1ff:fe23:4567:890a.

  2. Count the visible groups

    The address shows 5 groups, so :: stands for 8 − 5 = 3 zero groups.

  3. Insert the zero groups

    The expander writes 3 groups of 0000 in place of ::.

  4. Pad each group

    Short groups gain leading zeros: 1ff → 01ff.

IPv6 Address Expander Formula

The IPv6 Address Expander formula is Missing Groups = 8 − Visible Groups, followed by left-padding every group to 4 digits.

Missing groups

m = 8 − visible groups

Inserted at the "::" position.

Group padding

pad(group, 4, "0")

Restores omitted leading zeros.

Full length

8 × 4 + 7 = 39 characters

32 hex digits and 7 colons.

Worked example: fe80::1ff:fe23:4567:890a

Visible groups = fe80, 1ff, fe23, 4567, 890a → 5
Missing groups = 8 − 5 = 3
Expanded       = fe80:0000:0000:0000:01ff:fe23:4567:890a

IPv6 Address Expander Conversion Table

The IPv6 Address Expander conversion table expands 10 compressed IPv6 addresses and shows how many zero groups each :: replaced.

CompressedZero Groups RestoredExpanded Form
::80000:0000:0000:0000:0000:0000:0000:0000
::170000:0000:0000:0000:0000:0000:0000:0001
fe80::1ff:fe23:4567:890a3fe80:0000:0000:0000:01ff:fe23:4567:890a
2001:db8::62001:0db8:0000:0000:0000:0000:0000:0000
2001:db8::8a2e:370:733432001:0db8:0000:0000:0000:8a2e:0370:7334
ff02::1:ff00:14ff02:0000:0000:0000:0000:0001:ff00:0001
2001:db8:0:1::42001:0db8:0000:0001:0000:0000:0000:0000
fd12:3456:789a:1::13fd12:3456:789a:0001:0000:0000:0000:0001
2001:db8:a::12342001:0db8:000a:0000:0000:0000:0000:0123
64:ff9b::c000:20140064:ff9b:0000:0000:0000:0000:c000:0201

What is IPv6 Address Expander?

The IPv6 Address Expander is a tool that rewrites a compressed IPv6 address into its full form with all 8 groups and all 32 hexadecimal digits.

RFC 4291 allows 2 shortcuts: leading zeros in a group may be dropped, and 1 run of zero groups may become ::. The shortcuts make addresses easier to type but harder to compare. 2001:db8::1 and 2001:0db8:0000:0000:0000:0000:0000:0001 are the same address.

The full form is fixed-width, which makes it the safest form for sorting, string comparison, and reverse DNS generation.

What are the uses of IPv6 Address Expander?

There are 4 main uses of the IPv6 Address Expander, including string comparison, reverse DNS, and log matching.

  • Comparing addresses as strings

    Expanded addresses compare correctly with plain text tools such as grep and sort.

  • Building reverse DNS names

    ip6.arpa names need all 32 hex digits, which come from the expanded form.

  • Matching log formats

    Some systems log the full form. Expanding a compressed address matches those records.

  • Teaching IPv6 notation

    Students see exactly which zeros the shorthand removed.