IPv4 Address Converter

Convert an IPv4 address between dotted decimal, binary, hexadecimal, and 32-bit integer representations instantly.

Results

Decimal
192.168.1.1
Binary
11000000.10101000.00000001.00000001
Hex
C0.A8.01.01
Integer
3232235777

DevForge is free and ad-supported. Buy me a coffee if it saved you time.

How to Use This Tool

Type an IPv4 address in any field — dotted decimal, binary octets, hex, or 32-bit integer. All other representations update instantly.

Common Use Cases

  • Understand binary subnet masking by seeing the binary representation
  • Look up IP addresses from packet captures that show hex values
  • Convert integer IPs stored in databases back to dotted decimal
  • Study networking fundamentals and CIDR notation

Frequently Asked Questions

Why would I need to convert an IP address to binary?

Binary representation is essential for understanding subnetting, CIDR notation, and how subnet masks work. When you AND an IP address with a subnet mask in binary, you get the network address.

What is the 32-bit integer form of an IP address?

An IPv4 address is fundamentally a 32-bit unsigned integer. The four decimal octets are just a human-readable representation. For example, 192.168.1.1 equals 3,232,235,777 as a 32-bit integer.

What does the hexadecimal form look like?

Each octet is represented as two hex digits. For example, 192.168.1.1 becomes C0.A8.01.01 or 0xC0A80101. This format is often used in low-level networking code and packet captures.