IPv4 Converter

Convert any IPv4 of any form (dotted, binary, hexadecimal, decimal integer, hexadecimal integer, octal and IPv6) to any of other forms.

Fill anyone of these input with appropriate content then click its corresponding button for converting in all other forms.

How does it work ?

Dotted Decimal notation

The most common way to represent an IPv4. 4 numbers ranging from 0 to 255.

Binary (and dotted binary) notation

Simply the conversion in 8 bits of the 4 numbers (ex 1.2.3.4 becomes 00000001.00000010.00000011.00000100).

Decimal notation

A bit trickier. Unlike the other notations, the dotted and not-dotted version are different. The not-dotted notation is, in fact, the conversion of the binary notation (a number in base 2) into a number in a base 10.

Hexadecimal (and dotted hexadecimal) notation

Simply the conversion in hexadecimal of each of the 4 numbers (ex 15.16.17.18 becomes 0F.10.11.12).

Octal (and dotted octal) notation

Simply the conversion in octal of each of the 4 numbers (ex 7.8.9.10 becomes 007.010.011.012).

IPv6

The chosen rule is the encapsulation : a normalized constant prefix (::ffff) is added to the hexadecimal notation.