Binary to IP Converter
Paste a 32-bit binary number (with or without dots) and get the dotted-decimal IPv4 address back; 128 bits give IPv6.
Processed locally in your browser· Your data stays in your browser.
What is Binary to IP Converter?
Routers and exam questions often present addresses as raw bits. This converter removes any separators (dots, spaces, colons, dashes or underscores), checks that only 0 and 1 remain and that the length is exactly 32 bits (IPv4) or 128 bits (IPv6), and prints the corresponding address.
IPv6 results can be shown in compressed RFC 5952 form or fully expanded. Multiple lines are converted independently, and any invalid line is flagged with the reason (wrong length or invalid character) without stopping the rest.
How does it work?
- Paste one binary address per line, grouped or continuous, optionally with a 0b prefix.
- For 128-bit input pick compressed or expanded IPv6 output.
- Read the address list; invalid lines are listed as warnings with the reason.
- Use Swap to convert the addresses back to binary.
Common use cases
- Checking the answer to a subnetting exercise written in bits.
- Decoding an address found in a protocol dump or a bit-field diagram.
- Converting a mask such as 11111111.11111111.11111111.00000000 to 255.255.255.0.
- Cross-checking hand conversions between binary and dotted decimal.
Examples
Try this input in the tool above:
11000000.10101000.00000001.00000001 00001010000000000000000011111111
192.168.1.1 10.0.0.255
Privacy
Binary to IP Converter runs entirely in your browser. The text or files you provide are processed on your device and are not uploaded, logged or stored on our servers.
Limitations
Input must be exactly 32 or 128 bits; shorter values are not zero-padded automatically, to avoid silently producing the wrong address.
Frequently asked questions
Do the dots have to be in the right place?
No. Separators are stripped before decoding, so 32 continuous bits work the same as four dotted octets.
What does a 128-bit input produce?
An IPv6 address, shown compressed by default (for example 2001:db8::1) or fully expanded on request.
Why is my 31-bit string rejected?
An IPv4 address is exactly 32 bits. Pad it on the left with zeros yourself if you intended a smaller number.
Related tools
IP to Binary Converter
See any IP address as bits, for example 192.168.1.1 → 11000000.10101000.00000001.00000001.
Network Tools
Decimal to IP Converter
Turn a decimal, 0x hexadecimal or 0b binary integer into the IPv4 or IPv6 address it represents.
Network Tools
IP to Decimal Converter
Get the integer behind an IP address, in decimal or hex, for one address or a whole list.
Network Tools
IPv4 Address Validator
Paste one or many IPv4 addresses to see whether each is valid, why not if it is not, and what kind of address it is.
Network Tools
Binary to Decimal Converter
Read binary as a decimal number, either as a plain unsigned value or as a signed two’s complement integer.
Developer Tools
CIDR Calculator
Type a network such as 192.168.1.0/24 and get every subnet detail at once: masks, host range, address counts and class.
Network Tools