Network & IP Calculation Tools

IPv4 → Binary

Convert a canonical IPv4 address to dotted 32-bit binary, and compare each decimal octet with its 8-bit binary value.

Only canonical four-part dotted-decimal A.B.C.D notation is accepted.

Convert the four decimal IPv4 octets to fixed-width 8-bit binary, with both dotted and continuous output.

Your input is processed only in your browser and is never uploaded to a server.

What this tool does

IPv4 to Binary uses the same strict parser as the IPv4 Validator. Each of the four octets is converted to a fixed-width 8-bit value only after canonical A.B.C.D input passes validation, so a value such as 1 is never displayed without its leading zeros.

  • 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

  1. Enter a canonical IPv4 address.
  2. Click Convert to Binary.
  3. View the Decimal to Binary table for each octet.
  4. 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

Inputs and results are processed only in local browser memory. Nothing is uploaded, sent to an online API, or stored automatically.

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. It uses the strict IPv4 parser, which rejects octets with leading zeros.

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.

Back to Developer Tools