IP address converter

Convert an IPv4 address, an IPv6 address or a decimal number into every common format.

Formats explained

Frequently asked questions

How do I convert an IP address to a number?

Multiply the first part by 16,777,216, the second by 65,536, the third by 256, and add the fourth. 192.168.1.1 gives 3,232,235,777.

Why does 0177.0.0.1 open 127.0.0.1?

Some programs read numbers with a leading zero as octal (base 8). 0177 in octal is 127. That is why leading zeros in IP addresses can be dangerous.

More free tools