Convert IPv4 Address to Decimal, Binary and Hexadecimal
Convert an IPv4 address to a decimal integer, binary and hexadecimal.
🔒 100% client-side — no data sent
Instantly convert an IPv4 address into its decimal, binary and hexadecimal forms. Perfect for understanding network encoding, debugging or learning subnetting. Everything runs in your browser: no data ever leaves your device.
What is it for?
- ▸ Visualize the 32 bits of an IPv4 address in binary
- ▸ Get the full integer decimal value of an IP for calculations
- ▸ Convert an IP to hexadecimal for low-level programming
- ▸ Check and learn how an address splits into octets
FAQ
How is an IPv4 converted to decimal?
Each octet is multiplied by its power of 256 (16777216, 65536, 256, 1) then summed to form a single 32-bit integer.
Are my IP addresses sent over the Internet?
No. All conversion runs locally in your browser; no address is transmitted or stored.
What is the hexadecimal form of an IP used for?
It is common in network programming, logs and encoded URLs, where each octet is written as two hex digits.
Related tools
Chmod · calculator Compute Unix permissions (octal ↔ symbolic): read, write, execute. IP range → CIDR Convert an IPv4 address range (start–end) into the minimal CIDR blocks. IPv4 subnet · calculator Calculate an IPv4 / CIDR subnet: mask, range, broadcast and host count. IPv6 · expand / compress Expand an IPv6 address to full form and compress it (::). Common network ports Look up a network port number and its associated service (common ports reference), in your browser. Random MAC address Generate a random MAC address (configurable format and separator), in your browser.