IP to Binary Converter
See any IP address as bits, for example 192.168.1.1 → 11000000.10101000.00000001.00000001.
Processed locally in your browser· Your data stays in your browser.
What is IP to Binary Converter?
Every IPv4 address is a 32-bit number written as four bytes; every IPv6 address is 128 bits. Networking rules such as subnet masks and CIDR prefixes operate on those individual bits, so seeing the binary form makes it obvious where the network part ends and the host part begins.
Enter one address per line. Choose grouped output (8-bit octets for IPv4, 16-bit groups for IPv6) or a continuous bit string, and optionally label each result with its source address.
How does it work?
- Paste IPv4 or IPv6 addresses, one per line.
- Choose grouped or continuous output.
- Tick "Show input = result" when converting several lines and you want to keep the pairing.
- Use Swap to convert the binary back to an address.
Common use cases
- Learning why 255.255.255.0 is a /24 by looking at its 24 leading ones.
- Checking which bits two addresses share when designing a subnet boundary.
- Producing bit strings for networking exercises or documentation.
- Verifying hand calculations from an exam or lab.
Examples
Try this input in the tool above:
192.168.1.1 10.0.0.255
11000000.10101000.00000001.00000001 00001010.00000000.00000000.11111111
Privacy
IP to Binary 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
Only valid, strictly formatted addresses are converted (no leading zeros or shorthand like 127.1). Use the IPv4 validator to see why an address is rejected.
Frequently asked questions
How is 192.168.1.1 written in binary?
11000000.10101000.00000001.00000001: each octet is padded to eight bits.
Does it support IPv6?
Yes. IPv6 addresses give 128 bits, grouped in sixteen-bit blocks separated by colons when grouping is enabled.
What if I need the reverse?
Use the Binary to IP converter, which accepts 32 or 128 bits with or without separators.
Related tools
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.
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
Decimal to IP Converter
Turn a decimal, 0x hexadecimal or 0b binary integer into the IPv4 or IPv6 address it represents.
Network 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
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
Decimal to Binary Converter
Turn decimal integers into binary, including negative numbers as two’s complement at the bit width you need.
Developer Tools
IP to Hex Converter
Turn IP addresses into their hexadecimal form, one address per line, for IPv4 and IPv6.
Network Tools