IPv4 to Long Converter

Convert between IPv4 addresses and Long integer format. Free online IPv4 to Long converter tool for network programming and database storage.

IPv4 to Long Converter

How to Use IPv4 to Long Converter

This tool converts between IPv4 addresses and their 32-bit integer (Long) representation:

  • IPv4 to Long: Convert dotted decimal IP to 32-bit integer
  • Long to IPv4: Convert 32-bit integer back to dotted decimal
  • Range: 0 to 4,294,967,295 (2^32 - 1)
  • Usage: Useful for database storage and network programming

Enter an IPv4 address or Long integer value and click the appropriate conversion button.

IPv4 to Long Conversion Examples

IPv4 AddressLong IntegerHexadecimalBinary
0.0.0.000x0000000000000000000000000000000000000000
192.168.1.132322357770xC0A8010111000000101010000000000100000001
10.0.0.11677721610x0A00000100001010000000000000000000000001
255.255.255.25542949672950xFFFFFFFF11111111111111111111111111111111