IPv6 Address Binary Explorer
Expand compressed IPv6 addresses and inspect all 128 bits. Explore hexadecimal groups, binary conversion, network prefixes, and host identifiers with this interactive IPv6 to binary tool.
Explore an IPv6 Address
Enter an IPv6 address with optional CIDR prefix notation.
Examples: 2001:db8::1,
2001:db8:abcd:12::1/64,
or fe80::1/64.
Understanding IPv6 Address Structure
IPv6 is the Internet Protocol version 6 addressing system. An IPv6 address contains 128 bits, compared with 32 bits in an IPv4 address. The additional address space supports a much larger number of network devices and network configurations.
IPv6 addresses are normally written in hexadecimal notation. A fully expanded address contains eight groups separated by colons. Each group contains four hexadecimal digits and represents 16 bits.
Eight groups × 16 bits = 128 bits.
IPv6 Address Compression
IPv6 allows leading zeros inside a hexadecimal group to be omitted.
For example, 0db8 can be written as db8.
A consecutive sequence of zero groups can also be replaced by
::. This compression can be used only once in an
IPv6 address because otherwise the number of omitted groups
would be ambiguous.
Compressed: 2001:db8::1
Expanded: 2001:0db8:0000:0000:0000:0000:0000:0001
IPv6 Network Prefixes and CIDR
An IPv6 prefix identifies the leading bits that represent a network
or routing prefix. It is written after a slash, such as
/64.
A /64 prefix means that the first 64 bits form the network prefix and the remaining 64 bits form the interface identifier portion. Other prefix lengths are possible, depending on the network design.
Common IPv6 Prefix Lengths
| Prefix | Network bits | Remaining bits | Typical context |
|---|---|---|---|
| /32 | 32 | 96 | Common allocation size for an organization or provider |
| /48 | 48 | 80 | Common site allocation |
| /56 | 56 | 72 | Common customer allocation |
| /64 | 64 | 64 | Common IPv6 subnet size |
| /128 | 128 | 0 | Single IPv6 address or host route |
These are common examples, not mandatory sizes for every IPv6 deployment. Actual prefix allocation depends on network architecture and provider policies.
Frequently Asked Questions
How many bits are in an IPv6 address?
An IPv6 address contains 128 bits, equivalent to 16 bytes. It is represented using eight groups of four hexadecimal digits.
How do I convert IPv6 to binary?
Expand the IPv6 address into eight hexadecimal groups. Convert each hexadecimal digit into four binary bits. Each group then produces 16 bits, giving 128 bits in total.
How does IPv6 double-colon compression work?
The double colon (::) replaces one or more consecutive groups containing only zeros. It can appear only once in an address. The number of omitted groups is determined by expanding the address back to eight groups.
What does /64 mean in IPv6?
A /64 prefix identifies the first 64 bits as the network prefix. The remaining 64 bits are the interface identifier portion.
What is the difference between an IPv6 group and a bit?
An IPv6 group is a 16-bit section represented by four hexadecimal digits. Each hexadecimal digit represents four individual binary bits.
Can this tool explore IPv4-mapped IPv6 addresses?
Yes. IPv4-mapped IPv6 addresses are valid IPv6 representations and can be expanded into their full 128-bit form.
Does the prefix length change the IPv6 address?
No. The prefix length identifies how many leading bits are interpreted as the network prefix. It does not modify the original 128-bit address.