IP to Binary Converter
Convert an IPv4 address to binary, hexadecimal and a decimal integer instantly.
Convert an IP address to binary
The IP to Binary Converter turns any IPv4 address into its binary representation, and also shows the hexadecimal and decimal integer forms. Enter an address like 192.168.1.1 and instantly see each octet as 8 bits. It's a handy tool for networking study, subnetting, and understanding how IP addresses really work.
How IP addresses map to binary
An IPv4 address is four numbers (octets) from 0 to 255, separated by dots. Each octet is really an 8-bit binary number, so the full address is 32 bits. For example, 192 is 11000000 in binary. Computers and routers work entirely in binary — the dotted-decimal form we read is just a friendlier way to write those 32 bits.
The three representations
| Form | Example (192.168.1.1) |
|---|---|
| Binary | 11000000.10101000.00000001.00000001 |
| Hexadecimal | c0.a8.01.01 |
| Decimal integer | 3232235777 |
How to use it
- Enter an IPv4 address.
- Read the binary, hex, and decimal forms.
- Copy the binary if you need it.
Why binary matters for networking
Subnetting and routing are all about binary. Subnet masks work by splitting the 32 bits into a network part and a host part, and you can only see where that split happens when you look at the bits. Seeing an address in binary makes concepts like CIDR prefixes, masks, and address ranges click — which is why this is a staple tool for anyone studying for a networking certification.
Tips
- Each octet is exactly 8 bits, so the whole address is 32 bits.
- The decimal integer form is useful for storing or comparing IPs in code.
- Pair this with a subnet calculator to see masks in action.
Private and free
All conversion runs in your browser — nothing is uploaded. The tool is completely free with no sign-up.
Frequently asked questions
How many bits are in an IPv4 address?
32 bits — four octets of 8 bits each. This tool shows each octet as an 8-bit binary number.
Does it show hex and decimal too?
Yes. Alongside binary, it shows the hexadecimal form and the full address as a single decimal integer.
Why convert IP to binary?
Binary makes subnetting, masks, and CIDR prefixes understandable — it's essential for networking study.
Is it free?
Yes, completely free with no sign-up, running entirely in your browser.