Skip to main content
KalkuNet

Integer to IPv4 Converter — 32-Bit Numbers to Addresses

Convert a 32-bit integer (e.g. 3232235777) back into standard IPv4 notation.

Runs in your browserNetwork · IPv6, MAC, Binary & Address Converters
InputIPv4Hex
3232235777192.168.1.10xC0A80101
16777241410.0.0.2540x0A0000FE
1347440728.8.8.80x08080808
00.0.0.00x00000000
4294967295255.255.255.2550xFFFFFFFF

When to use the 32-Bit Unsigned Integer to IPv4 Address Converter

  • Reading database values

    Address columns stored as numbers by apps, firewalls or geolocation databases can be read back as IPv4 addresses at once.

  • Same as INET_NTOA

    The result matches MySQL's INET_NTOA and PHP's long2ip, handy for checking query results without a database console.

  • Range checked

    Negative numbers, fractions and values above 4,294,967,295 are refused per line, because no IPv4 address matches them.

  • Shown with its hex

    Every result comes with its hex form, useful when matching numbers to memory dumps or protocol documentation.

Frequently asked questions

What is the formula?

Divide by 16,777,216 for the first octet, the remainder by 65,536 for the second, then by 256 for the third; the last remainder is the fourth octet.

What does 0 mean?

0 is 0.0.0.0, the address that means this host, or all interfaces when used as a server bind address.

Can I enter hex numbers?

Use the Hex to IPv4 converter for hex values; this tool is for plain decimal numbers, because 0x10 and 10 mean very different values.

What about the reverse?

Use the IPv4 to Integer converter. Its result matches MySQL INET_ATON, so it can be used to build range queries such as BETWEEN on address columns stored as numbers.

Is my data sent to a server?

No. Everything is computed in your browser, so numbers pasted from a production database or firewall log stay on your device and are not stored by this site.

Learn more