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 Address | Long Integer | Hexadecimal | Binary |
|---|---|---|---|
| 0.0.0.0 | 0 | 0x00000000 | 00000000000000000000000000000000 |
| 192.168.1.1 | 3232235777 | 0xC0A80101 | 11000000101010000000000100000001 |
| 10.0.0.1 | 167772161 | 0x0A000001 | 00001010000000000000000000000001 |
| 255.255.255.255 | 4294967295 | 0xFFFFFFFF | 11111111111111111111111111111111 |