Tools

Home
Binary to Base64String to HexHex to Base64Text to ASCIIText to Digits

Binary to IPv6 Converter

Convert a 128-bit binary string to an IPv6 address. Groups binary into 16-bit segments displayed as hexadecimal.

Your files never leave your browser
INPUT (128-BIT BINARY)0 bits
OUTPUT (IPV6 ADDRESS)--
Ready·Binary to IPv6

Paste a 128-bit binary string and get back a clean IPv6 address — full notation with leading zeros, or the compressed form with :: shorthand for runs of zero groups. Hit Swap to flip directions and turn an IPv6 address back into 128 bits of 1s and 0s. And everything runs in your browser. Nothing gets uploaded.

How to Use

Enter a 128-bit binary string in the left panel. You can type, paste, or click Sample for example data.

Choose an output format -- full notation with leading zeros, or compressed with :: shorthand for consecutive zero groups.

Choose an input separator -- continuous bits or space-separated 16-bit groups.

Copy, Download, or Swap the result. Swap converts an IPv6 address back to 128-bit binary.

Frequently Asked Questions

What is a 128-bit binary string in the context of IPv6?

An IPv6 address is fundamentally a 128-bit number. When written in binary, it is a sequence of 128 zeros and ones. This tool takes that raw binary representation and converts it into the standard human-readable IPv6 colon-hexadecimal notation, where the 128 bits are split into eight 16-bit groups and each group is displayed as a four-digit hexadecimal value separated by colons.

What is the difference between full and compressed IPv6 format?

Full format shows all eight 16-bit groups with leading zeros preserved, for example 2001:0db8:0000:0000:0000:0000:0000:0001. Compressed format removes leading zeros within each group and replaces the longest consecutive run of all-zero groups with ::, producing 2001:db8::1. The :: shorthand can only appear once per address to keep the representation unambiguous.

What happens if I enter fewer or more than 128 bits?

The tool validates that your input contains exactly 128 binary digits (after stripping any spaces). If the count is different, an error message will indicate how many bits were detected and that 128 are required. This ensures the output is always a valid 128-bit IPv6 address.

Can I convert an IPv6 address back to binary?

Yes. Click the Swap button to switch the tool into IPv6-to-binary mode. Paste a valid IPv6 address (full or compressed notation) into the input, and the tool will produce the corresponding 128-bit binary string in the output panel.

When would I need to convert binary to IPv6?

Common use cases include network engineering tasks such as analyzing packet captures where addresses appear in raw binary, working with subnet masks and prefix calculations, debugging routing tables, educational exercises on IPv6 addressing, and building or testing networking software that manipulates addresses at the bit level.

Share: