Field | Value | Copy |
---|---|---|
{{ row.label }} | {{ row.value }} |
Group | Hex | Decimal | Copy |
---|---|---|---|
{{ i + 1 }} | {{ caseHex(g) }} | {{ parseInt(g, 16) }} |
Internet Protocol version 6 addresses are 128 bit identifiers for devices and destinations on modern networks. This Internet Protocol version 6 address compressor and expander reports whether one address is well formed and shows its compact and full forms. Results appear immediately so you can share a single clear representation.
You can paste an address with a prefix such as 64, a zone tag after a percent sign, or an embedded address written as four dotted numbers. The formatter recognizes special ranges and returns the type, the reverse name for lookups, and a binary view for quick checks.
An example result shows the compact form with a dotted tail, the full eight group form, and a label that explains when a value is mapped from the older protocol.
Pattern checks confirm structure only and do not prove that a host is reachable or that any network prefix is correct. Avoid sharing live addresses in public notes.
An IPv6 address is a 128‑bit value written as eight hexadecimal groups. The parser reads one address as a snapshot, normalizes it to a canonical shape, and prepares comparable displays.
The computation expands to eight four‑digit groups, compresses the longest run of zero groups, and optionally renders the final 32 bits as dotted decimal. A range check then assigns a human‑readable type label.
Results include a compact form, a fully expanded form, the address type, a reverse name for delegation checks, binary bits, and a fixed split into network and interface halves at 64‑bit boundaries.
Comparability relies on lowercase for the canonical expanded form and a case selector for displays. The 64‑bit split is a convenience and does not reflect any detected prefix length.
Type | Condition |
---|---|
Unspecified | All eight groups are 0000. |
Loopback | First seven groups are 0000 and the last group is 0001. |
Multicast | First group is 0xff00 to 0xffff. |
Link‑local | First group is 0xfe80 to 0xfebf. |
Unique‑local | First group is 0xfc00 to 0xfdff. |
6to4 | First group equals 0x2002. |
Teredo | First group equals 0x2001 and second equals 0x0000. |
Documentation | First group equals 0x2001 and second equals 0x0db8. |
IPv4‑mapped | First six groups are 0000 and the seventh is ffff. |
Global | Anything not matched above. |
Worked example
Input: ::ffff:192.0.2.1/64
Expanded: 0000:0000:0000:0000:0000:ffff:c000:0201
Compressed (default): ::ffff:c000:201
Compressed with dotted tail: ::ffff:192.0.2.1
Type: IPv4‑mapped
Reverse name: 1.0.2.0.0.0.0.c.f.f.f.f.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa
Field | Type | Min | Max | Step/Pattern | Error/Warning |
---|---|---|---|---|---|
IPv6 address | text | — | — | ^[0-9a-fA-F]{1,4}$ per group; one :: at most; eight groups total without :: . |
Invalid when group count or hex digits fail. |
Prefix length | integer | 0 | 128 | Parsed from /n at end. |
“Prefix out of range” or “Ignored invalid prefix”. |
Zone ID | string | — | — | Captured after % . |
“Empty zone id marker”. |
IPv4 dotted tail | quad | 0 | 255 | ^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$ ; must follow the last colon. |
Invalid when any byte is out of range. |
Hex case | enum | — | — | lower or upper for displays. |
None. |
Binary group bits | enum | 1 | 16 | Allowed: 1, 4, 8, 16. | None. |
Input | Accepted families | Output | Encoding/Precision | Rounding |
---|---|---|---|---|
Address string | IPv6 with optional /n and optional %zone; optional dotted tail after the last colon. | Compressed and expanded strings; type; reverse name; binary bits. | Hexadecimal groups; dotted decimal for tail; 128 bits. | None. |
Exports | Info CSV; analysis JSON. | Files named ipv6_info.csv and ipv6_analysis.json . |
UTF‑8 text. | None. |
Processing is browser‑based; no requests are sent to external services. Copies use the local clipboard, and downloads are generated on the device. No data is transmitted or stored server‑side.
Internet Protocol version 6 address validation and formatting, from one pasted value to clear outputs.
Example: fe80::1234%eth0/64
→ type “Link‑local,” network half “fe80:0000:0000:0000,” interface half “1234:0000:0000:0000.”
Pro tip: copy the reverse name into a lookup tool to check delegation.
No network calls are made. Parsing, validation, copying, and downloads all happen on your device. Nothing is uploaded or retained by a server.
Unspecified, Loopback, Multicast, Link‑local, Unique‑local, 6to4, Teredo, Documentation, IPv4‑mapped, or Global when none of the specific patterns match.
One address at a time. You may add a /n suffix for prefix length, a %zone suffix, and an embedded dotted‑quad after the last colon.
Yes. Everything runs locally; copy and download features continue to work without connectivity.
Expansion creates eight four‑digit groups. Compression picks the longest zero run and removes leading zeros. In ties, the first longest run is used.
Copy the generated ip6.arpa pointer and query it with your preferred resolver or diagnostic tool.
It means the value does not match any special range tested by the classifier and is treated as globally scoped.
No pricing or licensing behavior is encoded in the package. Refer to the site hosting this tool for terms.