This tool converts an IPv4 address between its familiar dotted decimal form and the single 32 bit unsigned integer that actually represents it. Enter an address like 192.168.0.1 to get its integer value, or enter an integer between 0 and 4294967295 to get the address back. Databases and log formats often store IP addresses as integers because they sort and compare far more efficiently that way, so being able to move between the two forms is useful when writing queries, seeding test data, or reading a raw column that shows a bare number. Both directions stay in sync, and out of range values are flagged clearly. It also shows the hexadecimal form of the integer, which is handy for lower level debugging. Everything is computed locally in your browser with plain integer math, so nothing you enter leaves your device.
Each of the four octets is weighted by 256 raised to its position, so 1.2.3.4 becomes 1 times 16777216 plus 2 times 65536 plus 3 times 256 plus 4.
An IPv4 address maps to a 32-bit unsigned integer, so results run from 0 for 0.0.0.0 up to 4294967295 for 255.255.255.255.
Yes, enter a 32-bit integer and the tool returns the matching dotted decimal IPv4 address.
This tool converts an IPv4 address between its familiar dotted decimal form and the single 32 bit unsigned integer that actually represents it. Enter an address like 192.
Yes. IP to Integer Converter is completely free, with no sign-up and no usage limits.
Yes. IP to Integer Converter runs in any modern web browser. There is nothing to download or install.
Yes. IP to Integer Converter runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/ip-to-integer)