What this tool does
Enter a valid A.B.C.D address to convert its four decimal parts to binary. Each part uses exactly 8 bits, including leading zeros. Results are available as dotted groups or a continuous 32-bit value.
- Each of the four binary groups is always 8 bits long.
- Output includes both an easy-to-read dotted format and a continuous 32-bit format.
- Addresses such as 999.1.1.1, addresses with missing octets, and addresses with leading zeros are not converted.
How to use it
- Enter a canonical IPv4 address.
- Click Convert to Binary.
- View the Decimal to Binary table for each octet.
- Copy the dotted or continuous 32-bit result.
How it works
Each decimal IPv4 octet is an unsigned 8-bit value. The tool converts each octet to binary, pads it on the left to eight bits, and joins the four octets in their original order to form 32 bits.
Examples
- 192.168.1.1 → 11000000.10101000.00000001.00000001.
- 0.0.0.0 → 00000000.00000000.00000000.00000000.
- 255.255.255.255 → 11111111.11111111.11111111.11111111.
Common uses
- Learn how IPv4 octets correspond to bits.
- Check subnet masks and bitwise calculation steps.
- Generate fixed-width binary representations for protocol documentation.
Privacy
Your input and results stay in your browser and are not uploaded or saved automatically. Copy any results you want to keep and save them yourself before leaving the page.
IPv4 → Binary Features
Convert the four decimal IPv4 octets to fixed-width 8-bit binary, with both dotted and continuous output. Useful for network planning, configuration checks, and troubleshooting; results can be reviewed and copied immediately.
FAQ
Why must each group be 8 bits long?
IPv4 contains four 8-bit octets, so each group must be padded to eight bits for a total of 32 bits.
Does the tool accept 192.168.01.1?
No. IPv4 parts cannot have leading zeros. Use 192.168.1.1 instead.
Do the continuous and dotted formats represent the same value?
Yes. The dots only separate the four octets and do not affect the value.
Does conversion contact this IP address?
No. The tool only converts strings and numbers.