Skip to main content
KalkuNet

IPv4 to Binary Converter — 8-Bit Octets and the 32-Bit Form

Convert dotted IPv4 addresses into 4 binary octets and continuous 32-bit binary.

Runs in your browserNetwork · Subnetting, CIDR & Network Maths
InputBinary octets32 bits
192.168.1.111000000.10101000.00000001.0000000111000000101010000000000100000001
10.0.0.25400001010.00000000.00000000.1111111000001010000000000000000011111110
8.8.8.800001000.00001000.00001000.0000100000001000000010000000100000001000
100.64.12.701100100.01000000.00001100.0000011101100100010000000000110000000111
203.0.113.4511001011.00000000.01110001.0010110111001011000000000111000100101101
255.255.255.011111111.11111111.11111111.0000000011111111111111111111111100000000

When to use the IPv4 Dotted-Decimal to 32-Bit Binary Octets Converter

  • The basis of subnetting

    Subnet masks, network IDs and broadcast addresses are all bit operations. Seeing the address in binary makes the network and host boundary visible instead of memorised.

  • Many addresses at once

    Paste a list of addresses from a router config or practice exercises and see every line as binary octets and as 32 bits in a row in one table.

  • Strict input checks

    Octets above 255, a wrong number of octets and leading zeros are refused with a reason per line, so a typo never produces misleading binary.

  • Results ready to copy

    Results can be copied or downloaded as text for course notes, network training material or lab documentation.

Frequently asked questions

Why is an octet always 8 bits?

IPv4 has 32 bits split into four parts, so each part holds 8 bits with values 0 to 255. Leading zeros are written so each octet stays 8 digits long.

How does binary help with subnetting?

A /26 prefix means the first 26 bits are the network part. In binary you can see at once which bits stay fixed and which number the hosts.

How do I turn binary back into IPv4?

Use the Binary to IPv4 Converter, which accepts binary per octet as well as 32 bits in a row.

Can IPv6 be converted to binary here?

No; this tool is for 32-bit IPv4. IPv6 is 128 bits long and is usually read in hexadecimal.

Are the addresses I paste sent to a server?

No. Every conversion runs in your browser, so internal addresses from office configs stay private.

Learn more