IPv6 Compression and Expansion Tool Online

IPv6 Address Shortener & Expander

Compress consecutive zeros into RFC 5952 standard double-colon (::) format or expand any abbreviated IPv6 into full 8-hextet 128-bit hex.

IPv6 Compression & Expansion Tool

Next-Gen Networking: IPv6 Address Manipulation

The IPv6 Compression and Expansion Tool Online parses, standardizes, and converts IPv6 addresses between full 128-bit uncompressed hex and canonical RFC 5952 notation. Essential for network engineers, BGP operators, and cloud infrastructure architects.

Core Mathematical Relationships

Formulate 128-bit hexadecimal addressing and prefix compression:

  • Address Span: $128\text{-bit} = 8 \text{ hextets} \times 16 \text{ bits} = 32 \text{ hex digits}$.
  • Zero Hextet Run Length: $\max_k(\text{run}_0(k))$ determines canonical placement of the single :: token.
  • Reverse DNS Mapping: $N_{31}.N_{30}.\dots.N_0.\text{ip6.arpa}$ reversing nibble coordinates.

How to Use the Calculator

  1. Paste any IPv6 address in compressed, uncompressed, or mixed notation.
  2. Click Process IPv6 to view canonical RFC 5952 format and fully expanded 32-digit hex format.
  3. Inspect reverse DNS PTR string, network scope classification (Global, Link-Local, Loopback), and binary bitmask.

Frequently Asked Questions

RFC 5952 mandates lowercase hexadecimal letters, suppressing leading zeros in each 16-bit hextet, and replacing the longest run of consecutive zero hextets with double colons (::).

No, double colons can only appear once in an IPv6 address to prevent ambiguity when reconstructing omitted 16-bit zero groups.

Expanding restores all 8 16-bit hextets with complete 4-digit hexadecimal numbers (32 hex characters separated by 7 colons).

A specialized reverse DNS domain format where each hex nibble is listed in reverse order, separated by dots, ending in .ip6.arpa.


Fast review — stays on this site

Chat with us on Messenger