Binary to IP Converter

Client-sideNo sign-upFree

Convert a 32-bit binary value into a dotted-decimal IPv4 address.

Quick facts

Category
Converters
Best for
Converting a raw 32-bit binary value back into a readable IPv4 address
Binary (32 bits, IPv4 only)
✓ Valid 32-bit binary value
IPv4 address
192.168.1.1
In-content slot
Was this tool helpful?
On this page

Overview

Enter a 32-bit binary value - either compact (32 digits with no separators) or grouped by octet with spaces, like "11000000 10101000 00000001 00000001" - and get the equivalent dotted-decimal IPv4 address. Only whitespace is treated as a separator, so the value is first stripped of spaces, then checked to be exactly 32 binary digits (0 and 1 only) before being split into four 8-bit groups; each group converts to its 0-255 decimal value and the four are joined with dots. Anything else - the wrong number of bits, or a character other than 0/1 - is rejected with a specific error rather than a partial or guessed result. This tool is scoped to IPv4 only, since IPv6 has no single fixed-width binary form the same way (use IPv6 to Binary Converter for that direction instead). Runs entirely client-side.

Best for: Converting a raw 32-bit binary value back into a readable IPv4 address

How to use this tool

  1. Enter a 32-bit binary value. Compact (32 digits) or space-separated by octet, e.g. 11000000 10101000 00000001 00000001.
  2. The value is validated. Must be exactly 32 binary digits (0/1 only) once whitespace is stripped.
  3. Split into four octets. Each 8-bit group converts to its 0-255 decimal value.
  4. Read the IPv4 address. The four decimal octets are joined with dots into the final address.

Frequently asked questions

Either works - only whitespace is treated as a separator and stripped before validation, so "11000000101010000000000100000001" and "11000000 10101000 00000001 00000001" both produce the same result.

It's rejected with an error stating exactly how many binary digits were found versus the required 32 - a value with too few or too many bits doesn't get silently padded, truncated, or guessed at.

No - this tool is scoped to IPv4's fixed 32-bit address only. IPv6 addresses are 128 bits and commonly written in compressed hextet form, which is a different conversion problem handled by the IPv6 to Binary Converter (in the opposite direction).

Explore more free tools

Formatters, converters, validators, and generators - all free and running entirely in your browser.

Browse more tools