🔍

首页Home › 网络工具Network & Web

🌐 二进制转 IPv6 地址(128 位二进制转换)Convert Binary to IPv6

把 128 位二进制数转换成 IPv6 地址,同时给出完整写法(8 组 4 位十六进制)和 RFC 5952 标准压缩写法(去掉前导 0、最长的连续 0 组写成 ::)。二进制里可以带空格、冒号、点或下划线分组,每行一个地址;不足 128 位时可选择右侧补 0 并加上前缀长度(如 /64)。适合网络课程、子网规划和抓包分析,数据在本地处理。Convert 128-bit binary numbers into IPv6 addresses, in both the full form (8 groups of 4 hex digits) and the RFC 5952 compressed form (leading zeros dropped, the longest run of zero groups written as ::). Spaces, colons, dots or underscores may group the bits, one address per line. For fewer than 128 bits you can pad on the right with zeros and add the prefix length (e.g. /64). Handy for networking courses, subnet planning and packet analysis. Processed locally.

使用说明与常见问题How-to & FAQ

「二进制转 IPv6 地址(128 位二进制转换)」是什么?What is the Convert Binary to IPv6 tool?

把 128 位二进制数转换成 IPv6 地址,同时给出完整写法(8 组 4 位十六进制)和 RFC 5952 标准压缩写法(去掉前导 0、最长的连续 0 组写成 ::)。二进制里可以带空格、冒号、点或下划线分组,每行一个地址;不足 128 位时可选择右侧补 0 并加上前缀长度(如 /64)。适合网络课程、子网规划和抓包分析,数据在本地处理。Convert 128-bit binary numbers into IPv6 addresses, in both the full form (8 groups of 4 hex digits) and the RFC 5952 compressed form (leading zeros dropped, the longest run of zero groups written as ::). Spaces, colons, dots or underscores may group the bits, one address per line. For fewer than 128 bits you can pad on the right with zeros and add the prefix length (e.g. /64). Handy for networking courses, subnet planning and packet analysis. Processed locally.

如何使用「二进制转 IPv6 地址(128 位二进制转换)」?How do I use the Convert Binary to IPv6 tool?

在「二进制转 IPv6 地址(128 位二进制转换)」中,把内容粘贴或输入到上方输入框,按需设置「输出」,结果会实时显示在下方,点击「复制结果」即可复制。In the Convert Binary to IPv6: Paste or type into the input box, adjust "Output"; the result appears below instantly — click "Copy result" to copy it.

压缩写法遵循什么规则?What rules does the compressed form follow?

按 RFC 5952:十六进制用小写,每组去掉前导 0,最长的一段连续全 0 组(至少两组)写成 ::,长度相同时压缩最前面的一段;只有一组 0 时不压缩。例如 2001:0db8:0000:0000:0000:0000:0000:0001 写成 2001:db8::1。It follows RFC 5952: lower-case hex, leading zeros removed from every group, and the longest run of all-zero groups (two or more) written as ::, choosing the first run when two are equally long; a single zero group is not compressed. For example 2001:0db8:0000:0000:0000:0000:0000:0001 becomes 2001:db8::1.

二进制可以分组输入吗?Can I group the bits?

可以,空格、冒号、点、下划线和短横线都会被忽略,例如每 16 位用冒号分开,或每 8 位用空格分开都行;也可以带 0b 前缀。每行是一个地址。Yes. Spaces, colons, dots, underscores and hyphens are ignored, so you can split every 16 bits with colons or every 8 bits with spaces; a 0b prefix is fine too. Each line is one address.

不足 128 位怎么办?What if I have fewer than 128 bits?

默认会提示错误,因为完整的 IPv6 地址必须是 128 位。如果你输入的是网络前缀(例如 /48 或 /64 的前几十位),勾选“不足 128 位时右侧补 0”,结果会在后面加上前缀长度,例如 2001:db8::/32。By default it shows an error, since a full IPv6 address is exactly 128 bits. If you entered a network prefix (the first 48 or 64 bits, say), tick Pad to 128 bits on the right and the result gets the prefix length, e.g. 2001:db8::/32.

需要联网吗?Does it need an internet connection?

不需要。「二进制转 IPv6 地址(128 位二进制转换)」的解析和计算都在浏览器本地完成,不会向任何服务器发送请求。No. The Convert Binary to IPv6 parses and calculates entirely in your browser and sends no network requests.

「二进制转 IPv6 地址(128 位二进制转换)」免费吗?需要注册吗?Is the Convert Binary to IPv6 free? Do I need an account?

「二进制转 IPv6 地址(128 位二进制转换)」完全免费,无需注册或安装,打开网页即可使用,手机和电脑都能用;输入的内容只在你的浏览器本地处理。The Convert Binary to IPv6 is completely free with no sign-up or install and works on phones and desktops; what you enter is processed only in your browser.

相关工具Related tools

🧮 IPv6 转二进制IPv6 to Binary Converter6️⃣ IPv6 地址展开/压缩IPv6 Expand & Compress🔑 关键词密度Keyword Tool🔍 Google 收录检查(链接)Google Index Checker🧮 子网掩码计算器IPv4 Subnet Calculator (CIDR)🔢 IP 地址进制转换IP Address Converter📐 IP 范围转 CIDRIP Range to CIDR🕵️ User-Agent 解析User Agent Parser🧭 我的浏览器信息What's My Browser🔌 MAC 地址格式转换MAC Address Formatter🌐 Punycode 中文域名转换Punycode Converter (IDN)📨 HTTP 请求头解析HTTP Header Parser

← 全部工具All tools