IP Tools

IPv6 to Binary

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

✓ Every tool runs in your browser. We do not upload your input or output.

IPv6 to Binary
Keyboard shortcuts

Ctrl/⌘ + Enter: process

Ctrl/⌘ + Shift + F: full screen

Esc: exit full screen

Ctrl/⌘ + F in editor: search

Expanded IPv6 and binary
ReadyLines: 1 · Characters: 0 · Size: 0 KB · 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
2001:0db8:0000:0000:0000:0000:0000:0001 plus 128 bits

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.

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