IP Address to Binary Converter
Convert any IPv4 or IPv6 address to its full binary representation instantly, octet by octet.
Use the IP Address to Binary Converter
IP Address Input
Quick examples
Binary Result
Enter an IP address to see its binary form
Full binary
Segment breakdown
Summary
This tool converts any valid IPv4 or IPv6 address into its binary representation, displaying each segment in 8-bit (IPv4) or 16-bit (IPv6) binary groups. It helps network engineers, students, and developers understand how IP addresses map to binary at the protocol level. The conversion is done entirely in your browser — no data is sent to any server.
How it works
- Enter an IPv4 address (e.g. 192.168.1.1) or IPv6 address (e.g. 2001:db8::1) in the input field.
- The tool automatically detects whether the address is IPv4 or IPv6.
- Each octet (IPv4) or 16-bit group (IPv6) is converted to its binary equivalent.
- Results are displayed with zero-padded binary segments separated by dots or colons.
- Copy the full binary result or individual segments with one click.
Use cases
- Study subnetting and CIDR notation in networking courses.
- Debug network configurations by visualizing IP addresses in binary.
- Learn how subnet masks apply to IP addresses at the bit level.
- Verify binary representations when writing network scripts.
- Teach or demonstrate binary IP concepts in the classroom.
- Cross-check manual binary IP calculations instantly.
Frequently Asked Questions
Last updated: 2026-05-23 · Reviewed by Nham Vu