IP Tools

IPv6 to Binary

Expand an IPv6 address into eight hexadecimal groups and display its complete 128-bit binary representation.

✓ Private · no uploads

IPv6 to Binary
View options
Keyboard shortcuts

Ctrl/⌘ + Enter: process

Ctrl/⌘ + Shift + F: full screen

Esc: exit full screen

Ctrl/⌘ + F in editor: search

Expanded IPv6 and binary
Your result will appear here

When it is ready, copy or download the result.

ReadyAutomatic
Lines: 1 · Characters: 0 · Size: 0 B · Time: — · Cursor: 1:1

How to use

  1. Enter an IPv6 address such as 2001:db8::1.
  2. Run the tool to expand omitted zero groups.
  3. Read the 16-bit binary group corresponding to each hexadecimal group.
  4. Copy the expanded address or full binary line for a protocol note.

Examples

Expand a documentation address

The double colon stands for a run of zero-valued groups.

Input
2001:db8::1
Output
Expanded IPv6: 2001:0db8:0000:0000:0000:0000:0000:0001
Binary: 0010000000000001 0000110110111000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000000 0000000000000001

See all 128 bits

IPv6 addresses contain eight 16-bit groups. The :: notation compresses one run of zero groups, which makes an address shorter but hides its full bit layout. This tool expands the address, pads each group to four hex digits, and displays every group as 16 binary digits. That is useful when inspecting network prefixes, comparing address representations, or explaining how an IPv4-mapped address occupies the final 32 bits.

The parser accepts one compression marker and standard one- to four-digit hexadecimal groups. It also accepts a trailing dotted IPv4 address when embedded in IPv6. It rejects zone identifiers and surrounding brackets because those belong to a larger address expression rather than the 128-bit address itself. The output is a representation conversion, not a DNS lookup or a test of whether the address is reachable.

All parsing is local in a worker. When comparing binary output with another system, make sure both use the same group order; the first displayed group is the highest-order 16 bits. For four-octet addresses, use the related IPv4 Converter.

This page converts in one direction: IPv6 to binary. It does not decode binary back to an address. The compression marker must replace at least one zero group. Remove a URL scheme, network prefix such as /64, port, and zone before processing. Enter one address at a time; a multiline address list is not a valid single IPv6 value.

Frequently asked questions

Does it support compressed IPv6?

Yes. One :: sequence is expanded to the required number of zero groups.

Can it handle IPv4-mapped IPv6?

Yes. A trailing dotted IPv4 address is converted into the final two 16-bit groups.

Are zone identifiers supported?

No. Remove a suffix such as %en0 before entering the address.

Does it test network reachability?

No. It only validates and converts the address text locally.

Related tools