Skip to main content

IPv6 Subnet & Hex Address Expander

128-Bit IPv6

Expand compressed IPv6 addresses, shorten full hex notation, and calculate IPv6 subnet boundaries directly in your browser. Powered by native 128-bit JavaScript BigInt arithmetic, this tool handles IPv6 prefixes (/0 to /128), EUI-64 addresses, and address scopes with zero server uploads.

100% Client-Side Sandbox
Zero Data Ingestion
Zero Server Uploads

IPv6 Subnet & Hex Address Expander

Expand compressed IPv6 addresses, compute 128-bit prefix boundaries, and inspect RFC scopes.

100% Client-Side Memory

Interactive IPv6 Subnet & Hex Address Expander Workspace

Calculate 128-bit IPv6 subnet boundaries, expand compressed hex notation into canonical form, generate RFC 5952 zero-compressed strings, and extract interface IDs with full RFC scope classification in browser memory.

How This Tool Works (100% Client-Side Engine)

The tool uses native JavaScript BigInt to represent 128-bit integers without precision loss. It expands shorthand :: notation by inserting missing zero hextets. Subnet masks are computed using BigInt bitwise shifts: Mask = ((1n << 128n) - 1n) ^ ((1n << (128n - BigInt(prefix))) - 1n). Network start and end addresses are derived via bitwise AND (&) and OR (|).

Pure client-side BigInt 128-bit math.
Supports embedded IPv4 and compressed notation.
1-click copy of expanded and compressed strings.

Step-by-Step Guide

Enter IPv6 Address & Prefix

Type any compressed or expanded IPv6 address with prefix length (e.g. 2001:db8:85a3::/64).

Inspect Compressed & Expanded Forms

Review the canonical compressed notation (RFC 5952) and full expanded 32-character hexadecimal format.

Review Subnet Boundaries & Host Counts

Inspect network start address, end address, total /64 subnets possible, and IPv6 address scope classification.

Why Use This Tool: Privacy & Performance

IPv6 addresses span 128 bits—four times the size of IPv4 addresses—represented as eight groups of four hexadecimal digits (e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334). Working with IPv6 involves navigating compression rules (replacing consecutive zero groups with ::), expanding compressed addresses into full 32-character hexadecimal strings for server configurations, and calculating massive subnet allocations (such as a standard /64 subscriber subnet containing 18.4 quintillion addresses). Standard calculators using floating-point math lose precision on 128-bit integers. ToolByte IPv6 Subnet & Hex Address Expander uses native JavaScript BigInt arithmetic to guarantee bit-for-bit mathematical precision. You can expand, compress, calculate network boundaries, and identify scopes (Global Unicast, Link-Local fe80::, Unique Local fc00::, Multicast) completely offline.

Common Use Cases & Workflows

Expanding Compressed IPv6 for Server Configurations

Expand shorthand IPv6 addresses (e.g. 2001:db8::1) into full 32-hex character notation required by legacy database schemas and firewalls.

Partitioning /48 and /56 IPv6 Delegations

Subnet enterprise ISP /48 allocations into standard /64 VLAN subnets for office networks and cloud VPCs.

Verifying Link-Local (fe80::) and SLAAC Addresses

Inspect modified EUI-64 interface identifiers derived from 48-bit MAC addresses for Stateless Address Autoconfiguration.

Validating IPv6 Prefix Syntax

Ensure correct compression rules are applied according to RFC 5952 recommendations.

Technical Limitations & Operational Boundaries

IPv6 addresses do not use broadcast addresses; multicast (ff00::/8) is used instead for group communication.
Total host counts for large prefixes (/48 or /64) produce astronomical numbers (e.g. 18.4 quintillion hosts for /64) formatted with exponential notation.
Shorthand :: expansion can only occur once per IPv6 address under RFC 5952 rules.

Frequently Asked Questions

Leading zeros in each 16-bit block must be suppressed (e.g., :00db: becomes :db:). The longest contiguous run of two or more zero blocks must be shortened with "::". If multiple zero runs have equal length, the first one must be shortened.
Related In-Browser Utilities

Recommended Utilities Complementary to IPv6 Subnet Calculator

High-performance tools running 100% in local browser memory with zero server data retention.