Conversion Tools100% Client-Side

IPv4 to Binary Converter

Paste an IPv4 address to view its four decimal octets as binary. The converter uses eight bits for each octet and puts a dot between the groups. Leading zeros show the full width of each byte, so addresses such as 192.0.2.10 can be compared one group at a time. Enter multiple addresses on separate lines when you need a small set of binary fixtures or examples.

Input
11 chars•1 lines
Output

Reverse tool

Binary to IPv4

Convert 32 binary digits to a dotted-decimal IPv4 address. Paste four byte groups or one continuous bit string per line and inspect the resulting octets.

Open Binary to IPv4
Example input
11000000.10101000.00000001.00000001
Example output
192.168.1.1

How to Use the IPv4 to Binary Online

  1. 1Paste four decimal octets separated by dots. Use whole values between 0 and 255 for each octet.
  2. 2Put each additional address on its own line. Check the output line order against the input when converting more than one entry.
  3. 3Read each group as one byte. The leftmost group corresponds to the first decimal octet and the rightmost group corresponds to the last.
  4. 4Copy the dotted binary result. Keep the leading zeros if the next step expects full eight-bit groups.

Input & Output Examples

The result keeps four groups, including an all-zero group for the second octet.

Input Sample
192.0.2.10
Expected Output
11000000.00000000.00000010.00001010

Each address has its own result line, with the byte groups kept in original order.

Input Sample
198.51.100.7
203.0.113.16
Expected Output
11000110.00110011.01100100.00000111
11001011.00000000.01110001.00010000

Practical Developer Workflows

  • Show the bit layout of an IPv4 example in a networking guide or classroom exercise.
  • Prepare padded dotted-binary fixtures for a routine that reads fixed-width octets.
  • Compare where two IPv4 values differ by looking at their byte groups alongside the decimal addresses.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

An IPv4 address contains four bytes. Writing each byte with eight digits keeps its boundaries clear even when its numeric value is small. For example, two becomes 00000010 instead of just 10.

Explore Other Tools

12 suggested tools

View all tools