Convert IPv4 addresses between dotted-decimal, integer, hex and binary, with class and private/public identification.
IPv4 only: four octets, each 0–255. Octets above 255, missing octets and non-numeric input are rejected. This tool does not cover IPv6.
Result
How to use this tool
Convert a dotted IPv4 address to its integer, hex and binary forms, or convert an integer back to dotted form.
Dotted addresses need four octets of 0–255; integers must be whole numbers from 0 to 4,294,967,295.
The tool shows decimal, hex and binary forms together, so you can compare them directly.
Private ranges (10/8, 172.16/12, 192.168/16), loopback and link-local addresses are identified.
Formula & worked example
192.168.0.1 = 192×16,777,216 + 168×65,536 + 0×256 + 1 = 3,232,235,521, or 0xC0A80001 in hex. It is a private address in the 192.168/16 range.
Limitations — read this before you rely on it
IPv4 only; IPv6 addresses (with colons and 128 bits) are not supported. Classful A/B/C labels are historical: modern routing uses CIDR prefixes, so class is shown for identification, not routing decisions.
Frequently asked questions
A private IPv4 address commonly used for home routers. Private addresses are not routable on the public internet.
Integers make range checks, sorting and subnet maths easy: an address range becomes a simple numeric interval.
The loopback address: traffic to it stays on the same machine and is used for local testing.
The limited broadcast address, used to reach all hosts on the local network segment.
No. IPv6 uses 128-bit addresses written in hexadecimal groups separated by colons, a different format covered by a dedicated converter.
