Binary to IPv6 Converter
Convert 128-bit binary to IPv6 addresses - RFC 5952 canonical form, special-range detection. Free, client-side, instant, offline, secure.
- Runs in your browser
- Nothing uploaded
- Free, no sign-up
Decode 128-bit binary into an IPv6 address. Produces RFC 5952 canonical form (lowercase, leading-zero-trimmed, ::-collapsed) or full form with every hex digit preserved. Flags loopback, link-local, unique-local, multicast, and documentation ranges.
How to Use Binary to IPv6 Converter
- Paste your 128-bit binary into the input. Separators (spaces, dots, colons, dashes, underscores, optional
0bprefix) are stripped before parsing - makes pasting from packet dumps or routing tables painless. - Choose output format. Canonical is the RFC 5952 form most tools and RFCs use for display: lowercase hex, leading zeros trimmed from each group, longest zero run collapsed to
::. Full keeps every hex digit (2001:0db8:0000:...) - useful for fixed-width tables. - Read the classification notes. Each decoded address gets an inline comment:
# loopback (::1),# link-local (fe80::/10),# documentation (2001:db8::/32), etc. Copy-paste-ready for logs or commit messages. - Verify canonical form rules. RFC 5952 says collapse only runs of 2+ zero groups, pick the FIRST longest run on ties, never collapse a single zero group. The tool implements this correctly - unlike many quick-and-dirty regex-based tools.
- Watch the stats bar. Total lines · validity · counts of loopback/link-local/unique-local/multicast/documentation. Useful for verifying batches (e.g. a list of addresses you expect to all fall in fe80::/10).
- Errors inline. Wrong length (not 128 bits) shows
ERROR: expected 128 bits for IPv6, got N. Non-binary chars showERROR: contains non-binary char "X" at position N. Other lines still decode. - Copy or download.
Ctrl+Enter/Cmd+Enterruns convert + copy together.
Frequently Asked Questions
What bit length does IPv6 require?
Exactly 128 bits. The tool validates this strictly and reports the exact gap (too few or too many bits) so you can fix malformed input quickly.
What does RFC 5952 canonical form mean?
RFC 5952 specifies the canonical text form: lowercase hex, leading zeros removed from each 16-bit group, and the longest run of all-zero groups compressed with double colon (::).
What special ranges does the tool recognize?
Loopback (::1), unspecified (::), link-local (fe80::/10), unique local (fc00::/7), multicast (ff00::/8), documentation (2001:db8::/32), IPv4-mapped (::ffff:0:0/96), and reserved blocks.
Can I choose non-canonical output for legacy systems?
Yes. An option preserves leading zeros (2001:0db8:0000:…) which some older tools require, even though it is not the RFC canonical form.
Is my data secure?
Yes. Conversion runs in your browser. Your binary input and IPv6 output stay on your device.
Do you save the data?
No. The tool is fully client-side – nothing is sent to a server, logged, or stored, and the tool keeps working offline once the page has loaded.
Is this tool free?
Yes, with no sign-up and no usage limits.
Does it accept formatted binary input?
Yes. Spaces, colons, newlines, and tabs are stripped automatically, so you can paste human-readable binary.
Can I get the expanded, non-compressed form?
Yes. The tool shows both the compressed canonical form and the fully expanded 8-group form side by side for clarity.
Why convert binary to IPv6?
Learning subnet math, analyzing network traces, debugging protocols that log raw address bytes, and studying for networking certifications like CCNA or CCNP.
Related Tools
Convert IPv6 to Binary →
Convert IPv6 to 128-bit binary with type detection, CIDR support, IPv4-mapped, zone identifiers. Free,…
Calculate Bitwise AND of Binary Values →
Calculate Binary Values Online Free - Fast and accurate binary computations for developers, students,…
Binary to Decimal Converter →
Convert extremely large machine binary strings natively into format decimal bounds infinitely fast offline…
Calculate Binary Addition →
Calculate Binary Addition numbers with carry visualization and multi-format output. Free, offline, client-side, instant…
Binary to Gray Code Converter →
Convert binary to Gray code (BRGC) - XOR algorithm, bit-width preserved, step-by-step display, BigInt.…
Binary to Image Converter →
Render binary as a pixel image - multiple color schemes, pixel scaling, PNG export,…
Binary to IP Converter →
Convert 32-bit binary to IPv4 or 128-bit binary to IPv6 - with classification, canonical…
Binary to Negabinary Converter →
Convert binary to negabinary (base -2) - handles signed input, BigInt precision, no sign…
Convert Binary to Octal →
Convert binary to octal (base 8) - 3-bit grouping, prefix options, BigInt precision, batch…
Binary to String Converter →
Decode binary to text - UTF-8, Latin-1, or 7-bit ASCII, auto-detect format, handle emoji.…
Convert Decimal to Binary →
Convert decimal numbers to binary instantly, one value or a whole list at a…
Convert Gray Code to Binary →
Decode Gray code (reflected binary) to standard binary, decimal, or hex. BigInt-safe, per-line errors,…