Enter an IPv4 address as dotted decimal, a 32-bit integer or hexadecimal (0x…) and see it in every common notation.
Loading the tool…
How it works
- Each of the four octets is a number from 0 to 255 (8 bits). The 32-bit integer is octet1×2^24 + octet2×2^16 + octet3×2^8 + octet4.
Assumptions and limits
- IPv4 only. Leading zeros are rejected in dotted input because some systems read them as octal.
Frequently asked questions
Why use the integer form?
Databases and some APIs store IPv4 addresses as unsigned 32-bit integers, which are easy to sort and compare.