IPv4 Converter

Convert IP addresses to decimal format, integer format, and more!


IP addresses can be represented in several different ways, including IPv4, IPv6, integer, and hex formats.

IPv4 format

This is the most common notation for IPv4 addresses. Each address is 32 bits in length and the 32-bit address is broken up into four 8-bit octets. Examples include,, and

IPv6 format

IPv6 addresses are 128-bits in length. Although IPv6 addresses are 4 times as long as IPv4 addresses, IPv4 addresses can still be written in IPv6 notation. Two colon characters (::) can also be strung together to shorten notation and eliminate groups of zeroes. Examples include ::ffff:c000:200, ::ffff:c633:6400, and 0000:0000:0000:0000:0000:ffff:cb00:7100.

Integer format

To convert an IP address to integer notation, each section of the IP address (separated by ".") is multiplied by 256x. In this case, x represents the position of the section from right to left, starting with 0. Here is an example using this formula: = (192 * 2563) + (168 * 2562) + (1 * 2561) + (1 * 2560)

Hexadecimal format

A representation of the IP address in base-16 format. This is also known as "hex" format.