How to Use the IP to Binary, Hex & Decimal Converter
-
1
Enter an IP in any format: Dotted Decimal (e.g. 192.168.1.1), Binary (32 bits), Hex (e.g. C0A80101), or Decimal Integer (3232235777).
-
2
The tool instantly calculates and syncs all four representations.
-
3
Inspect the octet-by-octet binary breakdown.
-
4
Click any format to copy it to your clipboard.
Practical Example & Use Case
Converting IP 127.0.0.1 to its 32-bit integer value (2130706433) or hex (0x7F000001) for low-level socket programming.
Technical Notes & Limitations
Calculates standard big-endian (network byte order) representations.
Frequently Asked Questions
How is an IP converted to a 32-bit integer?
Using the formula: `(Octet1 × 256³) + (Octet2 × 256²) + (Octet3 × 256) + Octet4`.