正在加载,请稍候…

IPv4 address converter

Convert an IPv4 address into decimal, binary, hexadecimal, or IPv6-mapped representation. Useful for network engineering and security analysis.

How to Use

  1. Step 1: Enter an IPv4 address in dotted-decimal format (e.g. 192.168.1.1).
  2. Step 2: The address is converted to decimal, binary, hexadecimal, and IPv6 mapped format.
  3. Step 3: Click any result field to copy it.

Frequently Asked Questions

What is an IPv4 address?

An IPv4 address is a 32-bit number written as four decimal octets separated by dots uniquely identifying a device on a network.

What is an IPv4-mapped IPv6 address?

An IPv4-mapped IPv6 address represents an IPv4 in IPv6 format: ::ffff:x.x.x.x. Used in dual-stack systems.

Why convert IPv4 to different formats?

Binary: understanding subnet masks and routing; Hex: used in network protocol headers and memory; Integer: efficient database storage with range queries (WHERE ip_int BETWEEN x AND y is faster than string operations); Dotted decimal: human-readable standard format.

In what scenarios are different IPv4 address formats used?

Dotted-decimal (192.168.1.1) is the everyday human-readable format; hexadecimal is common in assembly, C code, and network protocol analysis; the 32-bit integer format is used for database storage (INT type is more space-efficient and faster to index than VARCHAR); binary representation is used to understand subnet mask and CIDR bit-level logic.