IP Address Converter
Convert IPv4 addresses between dotted decimal, decimal, hexadecimal, and binary formats.
What Is an IP Address Converter?
An IPv4 address is a 32-bit number usually written as four decimal octets separated by dots. The same address can be expressed as one decimal integer, hexadecimal, or binary for networking, programming, and security work.
IPv4 Conversion Formulas
Dotted decimal to integer:
$$\text{Decimal} = a \cdot 256^3 + b \cdot 256^2 + c \cdot 256 + d$$Example: 192.168.1.1 becomes $(192 \times 256^3) + (168 \times 256^2) + (1 \times 256) + 1 = 3{,}232{,}235{,}777$.
Hexadecimal is the same integer in base 16: C0A80101. Binary shows each octet as eight bits: 11000000.10101000.00000001.00000001.
Common Uses
Decimal form appears in databases and some APIs. Hex and binary help with subnet masks, ACL rules, and low-level packet inspection.
Related tools: IP Address Lookup and Hostname to IP.
Frequently Asked Questions
What is the largest IPv4 decimal value?
255.255.255.255 equals 4,294,967,295 in decimal. That is the maximum 32-bit unsigned integer.
Does this tool support IPv6?
No. This converter handles 32-bit IPv4 addresses only. IPv6 uses 128 bits and a different notation.
Why convert IP to decimal?
Some systems store IPs as integers for sorting, indexing, or geolocation lookups. Decimal form is compact in logs and databases.
Can I paste hex without 0x?
Yes. Enter eight hex digits like C0A80101 or use the 0x prefix. Both formats are accepted.
How is binary grouped?
Each octet is shown as eight bits, separated by dots. This matches how network engineers read IPv4 addresses.