Free2Box
IPv4 地址转换器IT & 开发者工具Instant browser workflowFocused single-task utilityNo setup required

IPv4 地址转换器

在十进制、二进制、十六进制和整数格式之间转换 IPv4 地址

192.168.1.1Private3232235777整数3232235777IPv6 映射::ffff:192.168.1.1
IPv4 地址
192.168.1.1

Private

Commonly used inside LANs and NAT-protected internal networks.

Examples

结果
Copy any representation directly from the conversion grid.

十进制(点分)

Canonical dotted-decimal address

192.168.1.1

二进制

8-bit octets for packet-level inspection

11000000.10101000.00000001.00000001

十六进制

Hex view used in logs and memory dumps

0xC0A80101

整数

Unsigned 32-bit integer representation

3232235777

IPv6 映射

IPv6-compatible address wrapper

::ffff:192.168.1.1

继续下一步

用相关的下一个操作延续你的工作流程。

IPv4 地址192.168.1.1ProfilePrivate十六进制0xC0A80101整数3232235777
Privacy & Trust

二进制

Switch between dotted decimal, binary, hex, integer, and IPv6-mapped views in one place.

Address profile

Commonly used inside LANs and NAT-protected internal networks.

结果

All calculations run locally in the browser with no network lookup required.

结果

Copy or export the current IPv4 conversion summary.

IPv4 地址: 192.168.1.1 Profile: Private 二进制: 11000000.10101000.00000001.00000001 十六进制: 0xC0A80101 整数: 3232235777 IPv6 映射: ::ffff:192.168.1.1

使用方法

1

输入数值

在输入栏中填入您的数字或参数。

2

即时获取结果

结果在您输入时自动更新——无需按计算按钮。

3

复制或保存

将结果复制到剪贴板或用于您的工作流程。

为什么使用此工具

100% 免费

没有隐藏费用,没有付费等级——所有功能完全免费。

无需安装

完全在浏览器中运行。无需下载或安装任何软件。

隐私且安全

您的数据永远不会离开您的设备。不会上传至任何服务器。

支持移动设备

完全响应式设计——在手机、平板或桌面电脑上均可使用。

IPv4 Address Formats: Decimal, Binary, Hex, and Octal

Key Takeaways

  • An IPv4 address is a 32-bit number that can be represented in dotted decimal, binary, hexadecimal, and integer formats.
  • Understanding different IPv4 representations is essential for network debugging, firewall rules, and low-level protocol analysis.
  • All address conversion happens in your browser — your IP addresses are never transmitted to any server.

IPv4 addresses are most commonly written in dotted-decimal notation (192.168.1.1), but the underlying 32-bit integer can be expressed in many formats. Binary representation reveals subnet boundaries, hexadecimal is used in packet captures and memory dumps, and integer format appears in some database storage schemes. Converting between these formats is a frequent task in network administration and security analysis.

There are approximately 4.3 billion possible IPv4 addresses (2^32), with less than 15% remaining unallocated.

IPv4 Address Space

Key Concepts

1

Dotted Decimal Notation

The standard format (192.168.1.1) represents each of the four octets as a decimal number (0-255) separated by dots. This is the most human-readable format used in configuration.

2

Binary Representation

Each octet is an 8-bit binary number. 192.168.1.1 = 11000000.10101000.00000001.00000001. Binary is essential for understanding subnetting and mask operations.

3

Hexadecimal Format

Each octet as two hex digits: 192.168.1.1 = C0.A8.01.01 or 0xC0A80101. Hex appears in packet captures (Wireshark), memory addresses, and low-level network programming.

4

Integer (Long) Format

The entire 32-bit address as a single integer: 192.168.1.1 = 3232235777. Some databases store IP addresses as integers for efficient range queries and indexing.

Pro Tips

Use binary format to visualize subnet boundaries — the network/host boundary falls at the subnet mask's transition from 1s to 0s.

Store IPv4 addresses as 32-bit integers in databases for 4x storage savings and faster range queries compared to string storage.

Be aware that some systems interpret leading zeros as octal — 010.010.010.010 may be parsed as 8.8.8.8, not 10.10.10.10.

Use hex format when analyzing network packets in Wireshark or writing raw socket programs.

All IPv4 address conversion is performed entirely in your browser. Your IP addresses and network information are never transmitted to any external server.

常见问题