代码、数据与二维码工具

IPv4地址转换器

在浏览器中处理或呈现IPv4address转换。

优先本地处理无需注册隐私说明 ↗

使用步骤

如何使用

  1. Choose an input format and enter one IPv4 value.
  2. Select Convert and review the validation message.
  3. Copy any representation you need for networking, code, or documentation.

Four exact representations

Dotted decimal uses four octets from 0 through 255. Binary uses four 8-bit groups. Hexadecimal uses an optional 0x prefix and up to eight hexadecimal digits. The integer form is an unsigned value from 0 through 4,294,967,295.

Strict validation

The converter rejects missing groups, out-of-range octets, malformed digits, signs, fractions, separators, and values outside the 32-bit IPv4 range. Leading zeroes in decimal octets are accepted.

Local browser processing

Parsing, conversion, copying, and download preparation happen in your browser. The address is not sent to a server or used to perform a network request.

常见问题

你可能还想知道

Does this look up the address?

No. It only validates and converts the text you enter; it never performs DNS, geolocation, or network requests.

Can I enter hexadecimal with 0x?

Yes. The 0x prefix is optional, and the value must contain one to eight hexadecimal digits.

Is the integer signed?

No. It is an unsigned 32-bit integer from 0 to 4,294,967,295.

Are binary groups required to be eight bits?

Yes. Binary input uses four groups separated by periods, with exactly eight 0 or 1 characters per group.