IP

IP Address Converter

Convert an IPv4 address between dotted form, a single number, hex and binary.

How it works

An IPv4 address is just a 32 bit number written as four bytes. Enter dotted form (192.168.1.1), the whole number (3232235777) or hex (0xC0A80101) and see it in every form, with the binary of each byte and whether it is private, loopback or public.

Worked example

192.168.1.1 equals 3232235777, 0xC0A80101 and 11000000.10101000.00000001.00000001.

Good to know

Common questions

Why is the number so big?
It packs four bytes: a x 256^3 + b x 256^2 + c x 256 + d.
Does it handle IPv6?
No, only IPv4.
What is 0.0.0.0?
"This host", used by servers to listen on all addresses.

More in Developer.