PasteZap
🌐 简体中文
免费 · 无需注册

免费 · 网络与 IT 基础设施

IP 地址转换器.

在点分十进制、整数、十六进制、二进制、IPv4 映射 IPv6 和反向 DNS 形式之间转换 IP 地址,并压缩或展开 IPv6。

开始之前

部分技术控件使用英语。支持 Unicode 文本;文件格式和输出语言取决于具体工具。

下面以英语列出技术限制。处理大型文件或使用结果之前,请先查看这些限制。

CALCULATED IN YOUR BROWSER · NOTHING IS UPLOADED
IPv4 address192.168.1.10
Dotted decimal
192.168.1.10
Decimal integer
3232235786
Hexadecimal
0xC0A8010A
Dotted hexadecimal
C0.A8.01.0A
Dotted binary
11000000.10101000.00000001.00001010
Octal (dotted)
0300.0250.01.012
IPv4-mapped IPv6
::ffff:192.168.1.10 · ::ffff:c0a8:10a
6to4 prefix
2002:c0a8:10a::/48
NAT64 (64:ff9b::/96)
64:ff9b::c0a8:10a
Reverse DNS name
10.1.168.192.in-addr.arpa
Address type
Private (RFC 1918)
Historic class
C

  • Octal is shown for reference: some tools read leading zeros as octal, so 010.0.0.1 can mean 8.0.0.1. This converter rejects leading zeros in dotted input.

使用方法: IP 地址转换器

输入数据或选择文件,调整设置并生成结果。复制或下载之前,请检查结果。

限制与支持格式

输入内容在您的设备上处理。

英语技术说明

Dotted IPv4 with leading zeros is rejected because some systems read it as octal. Everything is calculated in your browser; nothing is sent or probed on the network.

The input is parsed into one integer (32 or 128 bits) and printed in every notation. IPv6 compression follows RFC 5952; embedded IPv4 addresses are detected in IPv4-mapped, 6to4 and NAT64 forms.

192.168.1.10 = 3232235786 = 0xC0A8010A = ::ffff:192.168.1.10; 2001:0DB8:0000:0000:0000:ff00:0042:8329 compresses to 2001:db8::ff00:42:8329.