Skip to main content
KalkuNet

Binary to IPv4 Converter — Turn Bits into a Dotted Address

Convert 32-bit binary bitstreams or dotted binary octets back into IPv4.

Runs in your browserNetwork · IPv6, MAC, Binary & Address Converters
InputIPv4Binary octets
11000000.10101000.00000001.00000001192.168.1.111000000.10101000.00000001.00000001
00001010 00000000 00000000 1111111010.0.0.25400001010.00000000.00000000.11111110
000010000000100000001000000010008.8.8.800001000.00001000.00001000.00001000

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

  • Any layout accepted

    Binary may be written per octet with dots, with spaces, or as 32 bits in a row, as in certification exam questions and packet analyser output.

  • Check practice answers

    Work it out by hand first, then paste your binary answer to see the real address alongside the tidied binary octets.

  • Errors shown per line

    Digits other than 0 and 1, octets longer than 8 bits or a bit count other than 32 are flagged on their line without stopping the others.

  • Stays on your device

    Conversion runs in the browser, so it suits labs and classrooms with no account and no data sent anywhere.

Frequently asked questions

How do I convert by hand?

Each bit position in an octet is worth 128, 64, 32, 16, 8, 4, 2 and 1. Add the values of the positions holding a 1 to get the octet's decimal number.

Must each octet have 8 digits?

Not when written per octet; 1010 is read as 00001010. For 32 bits in a row, the length must be exactly 32.

Can a subnet mask in binary be converted too?

Yes, for example 24 ones followed by 8 zeros becomes 255.255.255.0. Use the Subnet Mask to CIDR converter to see its prefix.

What about the reverse?

Use the IPv4 to Binary Converter to turn a dotted address into binary octets.

Is there a line limit?

No specific limit; thousands of lines stay fast because everything is computed right in the browser.

Learn more