Converts an IPv4 address to/from its integer form.
IP ↔ Integer converts an IPv4 address to its 32-bit unsigned integer form and back again. Paste a dotted-quad address like 192.168.0.1 to get its numeric value, or enter an integer to recover the IPv4 address. It is handy whenever you need to store, compare, or transmit IPv4 addresses as plain numbers.
No. The conversion runs entirely in your browser using JavaScript, and nothing you type is uploaded or stored remotely. The tool works offline once the page has loaded.
Integers must be whole numbers from 0 to 4294967295, which is the full range of a 32-bit unsigned value. Values outside this range, or non-integers, return an error.
Each of the four octets is weighted by its position: octet1 × 16777216 + octet2 × 65536 + octet3 × 256 + octet4. For example 192.168.0.1 becomes 3232235521.
No. This tool only handles IPv4 addresses. The input must be a dotted-quad with exactly four octets, each between 0 and 255.
The tool validates the input and reports an error — for example an IPv4 address that does not have exactly four octets, or an octet outside the 0–255 range, is rejected rather than silently converted.