IP to Binary Converter

Enter a dotted IPv4 address and convert it into dotted binary or a plain 32-bit binary string.

Network converter

Convert IPv4 to binary

Input
Result
Enter a value to see the result automatically.

About this IP to binary converter

Convert an IPv4 address to dotted binary and plain 32-bit binary notation online.

What it does

IPv4 addresses are usually written in dotted decimal notation, such as 192.168.1.1. Underneath that familiar format, each address is a 32-bit value split into four 8-bit parts. This converter shows the binary representation for each part and also provides the full 32-bit string.

When to use it

Binary IP conversion is useful when learning subnetting, checking masks, studying routing behavior, or debugging low-level network documentation. Seeing each octet as eight bits makes it easier to understand how address ranges, network prefixes, and host portions are calculated.

How it works

The tool validates that the input has four parts and that each part is from 0 to 255. It then pads each binary octet to eight characters so the output stays aligned. That padding is important because 1 is written as 00000001 inside an IPv4 address.

Practical note

Use this page when you need a quick conversion without opening a command line or spreadsheet. It is especially helpful for study notes, networking tutorials, firewall planning, and explaining how a dotted decimal address maps to binary.

Convert IPv4 to binary

Input

192.168.1.1

Output

Dotted binary: 11000000.10101000.00000001.00000001 / 32-bit binary: 11000000101010000000000100000001 / Unsigned decimal: 3232235777

How to use

  1. Paste or enter the value you want to process.
  2. The tool updates the output automatically.
  3. Copy the clean result you need.

Best for

  • Network notes
  • Log inspection
  • Protocol examples
  • Subnet learning

IPv4 reference notes

32-bit structure

IPv4 addresses are 32-bit values split into four octets. Hex and binary outputs are alternate views of the same value.

Padding is intentional

Hex pairs and binary octets are padded so each address part keeps its byte-level shape in documentation and debugging notes.

IPv4 only

These tools do not parse IPv6 or mixed notation. Keeping IPv4 pages focused reduces ambiguous results.

Read IPv4 addresses as four binary octets

IPv4 contains four decimal octets, and each octet maps to exactly eight binary digits. Seeing the dotted and continuous 32-bit forms makes subnet masks, bit boundaries, and numeric storage easier to understand.

Eight bits per octet

Each decimal part from 0 to 255 becomes an eight-bit binary group. Leading zeros are required to preserve fixed octet boundaries.

Dotted binary

Dots keep the original four-part IPv4 structure visible, which is useful when teaching octets or checking one segment at a time.

Continuous 32-bit value

Removing the dots produces the full network-order bit string used when discussing masks, prefixes, and bitwise operations.

Unsigned decimal form

The same 32 bits can be stored as one unsigned integer. The result panel includes this value for logs and database comparisons.

IP to Binary Converter common mistakes

FAQ

Why are there four binary groups?

IPv4 has four 8-bit octets. Each decimal part becomes one binary group.

Why does 1 become 00000001?

Each IPv4 octet must be shown as eight bits, so smaller numbers are padded with leading zeros.

Can this convert IPv6?

No. This page is focused on IPv4 addresses.

Why does each binary IP octet need eight digits?

Eight digits preserve the full 0 to 255 range and keep the four IPv4 boundaries aligned, including leading zeros.

Is IPv4 always 32 bits?

Yes. IPv4 uses four 8-bit octets for a total of 32 bits. IPv6 uses a different 128-bit format.

Can I use this result for subnet calculations?

Yes. The continuous 32-bit form is useful for visualizing CIDR masks and network or host bits, but this page does not calculate the subnet for you.