About IP to binary
This tool converts an IPv4 address to binary — each of the four octets shown as 8 bits — and also gives the hexadecimal form and the single 32-bit decimal integer. It is useful for subnetting, networking study and low-level debugging.
How IP to Binary works
How to use it
- Enter an IPv4 address like 192.168.1.1.
- Read the binary, hex and integer forms.
How it works
Each octet (0–255) is converted to an 8-bit binary number, so the address becomes 32 bits in total. Those bits also form a single 32-bit integer, and each octet maps to two hex digits.
Common uses
- Convert an IP to binary
- Help with subnetting
- See the 32-bit value of an IP
- Get the hex form of an IP
- Study networking
- Debug low-level network code
- Teach IP addressing
- Check octet boundaries
Frequently asked questions
How do I convert an IP to binary?
Enter the IPv4 address and the binary octets are shown.
How many bits is an IPv4 address?
32 bits — four octets of 8 bits each.
Does it show the integer form?
Yes — the single 32-bit decimal value.
Is IPv6 supported?
This tool is for IPv4; use the IPv6 expander for IPv6.
What is the max octet value?
255.
Is my input uploaded?
No — it converts in your browser.
Does it give hex too?
Yes — the hexadecimal form is included.
Is it free?
Yes — completely free with no sign-up.