Free Online Utility • Binary Studio • Base-2 Engine

Convert Binary to IP Address

Convert 32-bit binary strings or dotted binary octets back into standard IPv4 addresses with hex and integer readouts.

Formula & Quick Reference Base-2 Engine
Split 32 bits -> 4 x 8-bit octets -> A.B.C.D
11000000.10101000.00000001.00000001 -> 192.168.1.1
01111111...00000001127.0.0.1 (Loopback)
11111111...00000000255.255.255.0 (/24)
00000000...000000000.0.0.0 (Default)
32-BIT BINARY TO IPV4
Decoded IPv4 Address

        
100% client-side exact Binary Engine Instant

Session Calculation Log

No entries recorded in this session yet.

How Convert Binary to IP Address Works

Convert Binary to IP Address takes any 32-bit binary value (dotted, spaced, or raw continuous bits) and decodes it into standard dotted-decimal IPv4 format.

Binary arithmetic and base-2 encoding form the physical foundation of digital microprocessors, network packets, memory buffers, and cryptographic primitives. Every calculation in this utility runs directly inside your browser using exact JavaScript BigInt and typed-array pipelines, so arbitrary-length bitstreams, 128-bit addresses, and raw byte buffers never suffer from 53-bit IEEE floating-point truncation or server latency.

32-Bit Octet Extraction

oct_i = parseInt(bits.slice(i*8, i*8 + 8), 2)  for i in 0..3
IPv4 = oct_0 + "." + oct_1 + "." + oct_2 + "." + oct_3

Dots, spaces, and separators are stripped cleanly before slicing into four 8-bit octets, so raw packet captures and dotted binary masks decode effortlessly.

Worked Reference Examples

InputOutputStep / Bit Note
11000000.10101000.00000001.00000001192.168.1.14 octets = 192, 168, 1, 1
01111111000000000000000000000001127.0.0.1IPv4 loopback address
11111111111111111111111111111111255.255.255.255Limited broadcast address

Practical Engineering Applications

Packet Header Forensics

Translate 32-bit source and destination fields from raw IPv4 header captures into readable IPs.

Networking Exam Verification

Verify manual subnetting calculations (network ID, broadcast ID, usable host ranges).

Precision, Edge Cases & Best Practices

Enable Left-Pad to 32 bits if decoding compact binary strings that omit leading zero bits.

All input parsing strips harmless formatting whitespace, underscores, or common prefixes such as 0b where applicable, while preserving exact bit order and padding width so outputs drop straight into C/C++, Rust, Verilog, VHDL, Python, and embedded firmware test harnesses.

Frequently Asked Questions

Can I paste 32 binary bits without dots or spaces?
Yes. Both continuous 32-bit strings and dot/space-delimited octets decode automatically.
What happens if my binary input has fewer than 32 bits?
By default it warns you about the exact bit count; switch Short Input to Left-Pad to 32 bits to zero-fill the high bits automatically.
Does it decode subnet masks too?
Yes — any 32-bit binary mask like 24 ones followed by 8 zeros decodes to 255.255.255.0.