๐ข IPv4 Address โ Integer Converter
IPv4 Address192.168.1.1
Integer3,232,235,777
Hexadecimal0xC0A80101
Binary11000000.10101000.00000001.00000001
Converts between an IPv4 address (e.g. 192.168.1.1) and its corresponding 32-bit unsigned integer, hexadecimal, and binary representations. Handy for checking IP-address-as-integer conversions used in databases.
How to use
- Choose the "IP to Integer" or "Integer to IP" tab.
- Enter an IPv4 address or an integer value.
- The corresponding IP address, integer, hex, and binary representations are all shown together.
FAQ
How is the integer calculated?
Each octet of the address (a.b.c.d) is treated as a base-256 digit: aร256ยณ + bร256ยฒ + cร256 + d.
What's the min/max value?
IPv4 addresses are 32 bits, so the integer ranges from 0 (0.0.0.0) to 4294967295 (255.255.255.255).
Does this support IPv6?
No, this tool only supports IPv4 addresses.