IPv6 address calculator
Expands an IPv6 address into eight 4-hex-digit groups, re-compresses it per RFC 5952 and derives the network prefix for a given prefix length. Pure string and integer arithmetic, no DNS lookups, no IPv4-mapped notation. A reference table.
Runs in your browserEvery computation happens in your browser — your data never leaves this device.
Result
Pure string processing, no DNS lookups; a reference table.
Enter an IPv6 address to parse it
Groups: 0 · Prefix length: 0 · Non-zero groups: 0
What this tool does
- Verify an IPv6 address on a server
- Expand :: shorthand
- Derive a /64 or /48 prefix
Example
Input
2001:db8::ff00:42:8329
Output
IPv6 address parsing (pure string processing, reference table) Input: 2001:db8::ff00:42:8329 Expanded form: 2001:0db8:0000:0000:0000:ff00:0042:8329 Compressed form: 2001:db8::ff00:42:8329 Prefix length: /64 Network prefix: 2001:0db8:0000:0000:0000:0000:0000:0000/64 Groups: 8 Address length: 128 bit Basis: only standard IPv6 text is handled (no IPv4-mapped notation), using string and integer arithmetic with no DNS lookup; compression follows RFC 5952: the longest run of zero groups becomes ::, used only once. Reference table, no network access.
Frequently asked questions
Which notations are supported?
Standard IPv6 text: eight hex groups, :: shorthand and mixed case. IPv4-mapped (::ffff:1.2.3.4) and %zone suffixes are not supported.
How does compression work?
RFC 5952: the longest run of zero groups becomes ::, used once; other groups drop leading zeros (0db8 -> db8).
How is the prefix computed?
Group by group: /64 keeps the first four groups and /48 the first three, zeroing the rest to print the network prefix.
Does it query DNS?
No, it is pure local string processing. A reference table.
Keywords:IPv6ipv6 calculator