IP to Binary Converter
Convert any IPv4 address into its dotted binary form instantly. Paste one address or many — each octet is zero-padded to 8 bits and results appear line by line.
IPv4 address(es)
Enter one IPv4 address per line in dot-decimal notation.
Example: 192.168.0.1. Everything runs locally in your browser — nothing is uploaded.
Binary outputEach IPv4 address converted to dotted 8-bit binary notation.
Hundreds of addresses convert in under 1ms on modern browsers.
How to convert IP to binary
Convert in 3 steps
Takes ~5 seconds- 1Paste your addresses
Enter one or more IPv4 addresses in dot-decimal format, one per line.
- 2Click Convert to Binary
Each address is split into four octets and each octet is converted to an 8-bit binary string.
- 3Copy the results
Copy the dotted binary output for use in networking tools, studies, or documentation.
Who should use this tool?
- Network engineers analyzing subnets and routing tables
- Students learning binary IP addressing and CIDR notation
- Security analysts inspecting packet data and access control lists
Examples
Convert a common private network address to binary.
192.168.0.1
11000000.10101000.00000000.00000001
Convert a subnet mask with all 255 octets and a zero octet.
255.255.255.0
11111111.11111111.11111111.00000000
Convert a loopback address to its binary representation.
127.0.0.1
01111111.00000000.00000000.00000001
About IP to binary conversion
IPv4 addresses are fundamentally 32-bit numbers. Converting them to binary reveals how routers, firewalls, and operating systems actually process addressing and subnetting decisions.
This IP to binary converter transforms dot-decimal IPv4 addresses into dotted binary notation instantly. Each of the four octets is independently converted to a zero-padded 8-bit binary string and rejoined with dots, making subnet masks, network classes, and CIDR prefixes immediately visible. Use it alongside the binary to IP converter or IP to hex converter for complete IP format workflows.
Each octet is zero-padded to exactly 8 binary digits, including octet 0.
- Zero-padded to 8 bits
- Handles full range 0–255
- Dotted notation preserved
Process multiple IPv4 addresses at once, one per line, in original order.
- Multi-line input
- Line order preserved
- Per-line error reporting
All conversion logic runs in your browser with no server calls.
- No data uploaded
- Works offline
- Instant results
Conversion tips
Get reliable binary output every time by following these guidelines.
- Use standard dot-decimal format (four octets separated by dots) — no CIDR prefix or port numbers.
- Paste a list of addresses to convert in bulk and keep results in the original order.
- Cross-check against the binary-to-IP converter to verify your results are reversible.
Frequently asked questions
Why is octet 0 shown as 00000000 instead of just 0?>
What happens if I enter an IP address with an octet outside 0–255?>
Can I convert IPv6 addresses with this tool?>
How do I use the binary output to identify the network and host portions of an address?>
Related IP tools
Convert 32-character binary strings to IPv4 dot-decimal addresses instantly. Paste one or more lines and get results in your browser.
Convert dotted binary IPv4 addresses to dot-decimal notation instantly. Paste one or more binary IPs and get results in your browser.
Count how many IPv4 addresses exist between two endpoints. Paste start and end IPs to get the total. In your browser.
Convert hexadecimal IPv4 addresses to dot-decimal notation instantly. Accepts dotted hex like C0.A8.00.01 or a single hex value like C0A80001 / 0xC0A80001.
Convert integer IP values to IPv4 dot-decimal format. Paste one integer per line and get IPs instantly. In your browser.
Sort a list of IPv4 addresses from lowest to highest. Paste IPs and get sorted output instantly. Works fast in your browser.
Convert any IPv4 address to a 32-character binary string instantly. Paste one or more IPs and get the full 32-bit binary output in your browser.
Convert IPv4 addresses to hexadecimal instantly. Choose dotted (C0.A8.00.01), contiguous (C0A80001), or 0x-prefixed output. Fast, free, browser-based.
Convert IPv4 dot-decimal addresses to integer format. Paste one IP per line and get numeric output instantly. In your browser.
Generate a list of random IPv4 addresses. Enter how many IPs you need and get them instantly. Works fast in your browser.