HTTPfy

IP Address Converter

IP to decimal, hex or binary, or IPv4 to mapped IPv6.

IP Address Converter Ready

About IP Address Converter

IP Address Converter: IPv4 to Decimal, Hex, Binary and IPv6

Paste an IPv4 address, pick a format and get the result. The converter handles four outputs: an IPv4-mapped IPv6 address, a 32-bit decimal integer, hexadecimal and dotted binary.

Conversions

  • IPv4 to IPv6: returns the IPv4-mapped form, for example 192.0.2.1 becomes ::ffff:192.0.2.1. Dual-stack sockets and logs use this notation for IPv4 clients. It does not give you a routable IPv6 address; your ISP or hosting provider assigns those.
  • IP to Decimal: 192.0.2.1 becomes 3221226017. Databases often store IPv4 addresses this way because an unsigned 32-bit integer sorts and range-checks faster than a string.
  • IP to Hex: 192.0.2.1 becomes 0xc0000201. You see this format in packet captures, firewall dumps and some config files.
  • IP to Binary: 192.0.2.1 becomes 11000000 00000000 00000010 00000001, one 8-bit group per octet. Line it up with a subnet mask in binary to see which bits belong to the network.

Where it helps

  • Writing SQL range queries such as WHERE ip_int BETWEEN 3221225984 AND 3221226239 for a /24.
  • Reading hex addresses out of tcpdump, Wireshark or kernel logs.
  • Learning subnetting: binary output shows exactly where a prefix like /26 cuts the address.
  • Matching IPv4 clients that show up as ::ffff: addresses in application logs.

How to use it

  1. Enter an IPv4 address, for example 203.0.113.10.
  2. Choose the conversion type.
  3. Click Convert IP and copy the result.

The tool accepts IPv4 input only. For subnet ranges and masks, use the Subnet Calculator.