WebToolsPlanet
Converter Tools

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

Client-Side Processing
Input Data Stays on Device
Instant Local Execution

Find this tool useful? Support the project to keep it free!

Buy me a coffee

What 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

1

Type or paste your IPv6 address in the input field (compressed or full form).

2

The tool expands :: notation if present, then converts each group to binary.

3

The 8 binary groups, full continuous binary string, and expanded address are shown.

4

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.

IPv6 Address
::1
Binary (128-bit continuous)
00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001

Data Privacy

All IPv6 conversions run entirely in your browser. No address data is transmitted to any server.

Frequently Asked Questions

What does the :: shorthand mean in IPv6?
The double colon (::) can appear once in an IPv6 address and represents one or more consecutive groups of all-zero 16-bit blocks. For example, ::1 expands to 0000:0000:0000:0000:0000:0000:0000:0001.
How many bits is an IPv6 address?
An IPv6 address is 128 bits long, which is four times the size of a 32-bit IPv4 address. It consists of eight 16-bit groups (hextets).
Can this tool handle link-local or multicast IPv6 addresses?
Yes. Any valid IPv6 address is accepted, including link-local (fe80::/10), multicast (ff00::/8), unique local (fc00::/7), and global unicast addresses.