IPv6 to Binary Converter
Enter an IPv6 address (including compressed :: notation) to see its full 128-bit binary representation and expanded form.
Last updated: May 30, 2026
Find this tool useful? Support the project to keep it free!
Buy me a coffeeWhat is IPv6 to Binary Converter?
IPv6 addresses are 128-bit identifiers, compared to IPv4's 32 bits. They are typically written as eight groups of four hexadecimal digits separated by colons (e.g. 2001:0db8:0000:0000:0000:0000:0000:0001), though consecutive groups of zeros may be shortened with double-colon (::) notation.
Understanding the binary form of an IPv6 address helps when: - Working with subnet masks and prefix lengths in CIDR notation. - Studying IPv6 packet header structures. - Analysing routing protocols that operate on prefix bits.
Each 16-bit group is converted from hexadecimal to a 16-digit binary string. For the address 2001:db8::1: - 2001 (hex) → 0010000000000001 (binary) - 0db8 (hex) → 0000110110111000 (binary) - 0000 → 0000000000000000 (6 middle groups) - 0001 (hex) → 0000000000000001 (binary)
How to Use IPv6 to Binary Converter
Type or paste your IPv6 address in the input field (compressed or full form).
The tool expands :: notation if present, then converts each group to binary.
The 8 binary groups, full continuous binary string, and expanded address are shown.
Click any copy button to copy the result.
Common Use Cases
- Studying IPv6 prefix matching and longest-prefix routing algorithms.
- Analysing IPv6 packet captures at the bit level.
- University networking courses and CCNA/JNCIA certification preparation.
- Security research involving IPv6 address obfuscation.
Example Input and Output
The compressed IPv6 address ::1 (loopback) expands to 0000:0000:0000:0000:0000:0000:0000:0001 and its last 16-bit group is 0000000000000001 in binary.
::100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001Data Privacy
All IPv6 conversions run entirely in your browser. No address data is transmitted to any server.

