IP Address to Binary/Hex Converter
Convert any IPv4 address to binary, hexadecimal, decimal, and IPv6-mapped formats instantly with our free IP address to binary/hex converter. Enter an IP in any format - dotted-decimal, decimal integer, packed hex, or packed binary - and see all 7 representations simultaneously with IP class detection and special address identification. All conversion happens locally in your browser - no signup required.
Convert any IPv4 address to dotted-decimal, hexadecimal, binary, packed hex, decimal integer, and IPv6-mapped formats instantly. Enter an IP in any supported format and see all representations simultaneously. All conversion is performed locally in your browser. Press ⌘+↵ to convert.
Supports dotted-decimal (192.168.1.1), decimal integer (3232235777), packed hexadecimal (C0A80101), and packed binary (32-bit). Conversion happens in real-time as you type.
Why Use Our IP Address to Binary/Hex Converter?
Instant Multi-Format IP Address Conversion
Our IP address to binary/hex converter instantly transforms any IPv4 address into 7 different formats: dotted-decimal, dotted-hex, packed hex, dotted-binary, packed binary, decimal integer, and IPv6-mapped. Enter an IP in any supported format and see all representations simultaneously with real-time conversion as you type.
Smart Input Detection & Real-Time Conversion
The IP address to binary/hex converter automatically detects your input format - whether you paste a dotted-decimal IP, a decimal integer, packed hex, or a binary string. Conversion happens in real-time as you type, with the ability to click "Convert IP Address" or press ⌘+↵ for explicit conversion.
Secure & Private Browser-Based Processing
Your IP address data never leaves your device. All IP address to binary/hex conversion is performed locally in your browser using JavaScript. No data is sent to any server, making this the most private IP address converter available online.
IP Address Converter Online - No Installation
Use our free IP address to binary/hex converter directly in your browser with no downloads, no plugins, and no account required. Includes IP class detection, special address identification (private, loopback, link-local, multicast), and built-in preset examples for quick testing.
Common Use Cases for IP Address to Binary/Hex Converter
Network Engineering & Subnetting
Network engineers use IP address to binary converters to understand subnet boundaries, calculate network addresses, and verify routing decisions. Converting IP addresses to binary helps visualize how subnet masks work and why certain addresses belong to specific subnets.
Programming & Network Programming
Developers often need to convert IP addresses between formats for socket programming, network configuration files, database storage, and API parameters. Use the IP address to binary/hex converter to get the decimal integer for storing IPs as integers in databases, or the packed hex for low-level network protocols.
Firewall & ACL Configuration
Firewall rules and Access Control Lists often represent IP addresses in different formats depending on the platform. The IP address to binary/hex converter helps convert IPs to the format required by Cisco IOS, iptables, pfSense, or Windows Firewall rules, including wildcard mask calculation for ACL entries.
Security Analysis & Forensics
Security analysts working with packet captures, log files, and threat intelligence feeds encounter IP addresses in various formats. The IP address to binary/hex converter helps decode hexadecimal IPs in packet headers, binary IPs in raw socket data, and decimal IPs in database logs for investigative analysis.
Education & Learning Networking
Students learning networking fundamentals use IP address converters to understand the relationship between dotted-decimal notation and the underlying binary representation. Seeing how 192.168.1.1 becomes 11000000.10101000.00000001.00000001 makes subnetting and CIDR concepts much easier to grasp.
Embedded Systems & IoT Development
Embedded systems developers working with microcontrollers and IoT devices often need to represent IP addresses in compact formats for memory-constrained environments. The IP address to binary/hex converter provides the packed hex and decimal integer formats ideal for firmware configuration and EEPROM storage.
Understanding IP Address Representations
What is an IP Address and Why Convert It?
An IP (Internet Protocol) address is a unique numerical identifier assigned to every device connected to a computer network. IPv4 addresses are 32-bit numbers, but they can be represented in several different formats. While dotted-decimal notation (e.g., 192.168.1.1) is the most common human-readable form, network engineers and developers frequently need to work with IP addresses as binary (for subnet calculations), hexadecimal (for packet headers), or decimal integers (for database storage and network programming). An IP address to binary/hex converter bridges these representations instantly.
How Our IP Address to Binary/Hex Converter Works
- Enter an IP Address: Type or paste an IP address into the input field in any supported format - dotted-decimal (e.g.
192.168.1.1), decimal integer (e.g.3232235777), packed hex (e.g.C0A80101), or packed binary (e.g.11000000101010000000000100000001). - Automatic Detection & Conversion: The tool automatically detects the input format and parses the IP address into its four octets. The conversion engine then computes all 7 output formats simultaneously, displaying them in real-time as you type or when you click the convert button.
- Review & Copy Results: Each format is displayed in its own card with a clear label, the converted value in monospace font, and a plain-English description. Hover over any card to reveal a copy button for instant clipboard access. IP classification badges show the address class and special properties.
IP Address Representations Explained
- Dotted Decimal: The standard human-readable format. Four octets (8-bit numbers from 0 to 255) separated by dots. Example:
192.168.1.1. This is the most commonly used representation for IPv4 addresses in web interfaces, configuration files, and documentation. - Hexadecimal: Each octet is represented as two hexadecimal digits. Dotted hex shows them separated by dots (
C0.A8.01.01), while packed hex concatenates them into a single 8-digit value (C0A80101). Hex representation is commonly used in packet analysis and low-level networking. - Binary: Each octet is shown as 8 bits. Dotted binary separates them with dots for readability (
11000000.10101000.00000001.00000001), while packed binary shows the full 32-bit string (11000000101010000000000100000001). Binary is essential for understanding subnet masks and routing. - Decimal Integer: The entire 32-bit IP address represented as a single unsigned integer (0 to 4,294,967,295). Example:
3232235777. This format is often used for efficient IP address storage in databases and for network programming APIs.
Privacy, Security & Availability
Our IP address to binary/hex converter processes everything entirely in your browser. The IP addresses you enter never leave your device - no data is uploaded, stored, or logged on any server. This complete privacy ensures you can safely convert any IP address, including internal corporate addresses and sensitive infrastructure IPs. The tool is 100% free with no signup, no usage limits, and no tracking. Use it as many times as you need, for as many IP addresses as you need, completely free forever. No installation or downloads are required - just open your browser and start converting.
Related Tools
DMARC Record Checker
Check DMARC records for any domain via Cloudflare DNS-over-HTTPS. Validate email authentication policy (none/quarantine/reject), analyse alignment settings (adkim, aspf), and extract reporting addresses (rua, ruf) - free online DMARC record checker.
DNS Leak Test
Check if DNS queries and WebRTC are leaking your real IP outside your VPN tunnel. Detects local IPs via WebRTC STUN requests, checks public IP and geolocation via free APIs, and identifies DNS resolvers - free online DNS leak test.
DNS Record Comparator
Compare DNS records across Cloudflare, Google, and Quad9 nameservers automatically. Detects differences in A, MX, NS, CNAME, TXT, AAAA, and SOA records with severity indicators - free online DNS comparison tool.
Reverse DNS Lookup
Look up PTR records for any IPv4 or IPv6 address via Cloudflare DNS-over-HTTPS. Instantly find the hostname behind any IP address with DNSSEC validation status and query time - free online reverse DNS lookup tool.
Frequently Asked Questions About IP Address to Binary/Hex Converter
An IP address to binary/hex converter is a tool that takes an IPv4 address in any format (dotted-decimal, decimal integer, packed hex, or packed binary) and converts it to all other common representations simultaneously. It shows the dotted-decimal format, dotted-hex, packed hex, dotted-binary, packed binary (32-bit), decimal integer, and IPv6-mapped format for any valid IPv4 address.
To convert an IP address to binary manually, convert each octet (the numbers between the dots) from decimal to 8-bit binary. For example, 192 in binary is 11000000, 168 is 10101000, 1 is 00000001, and 1 is 00000001. Combined with dots: 11000000.10101000.00000001.00000001. Our IP address to binary/hex converter does this instantly for you.
The decimal integer representation treats the entire 32-bit IP address as a single unsigned integer. For example, 192.168.1.1 becomes 3232235777. This is calculated by: (192 × 256³) + (168 × 256²) + (1 × 256¹) + (1 × 256⁰) = 3232235777. This format is commonly used for storing IP addresses in databases and for network programming APIs.
No. Our IP address to binary/hex converter processes everything entirely in your browser using JavaScript. The IP addresses you enter never leave your device. We do not store, log, or transmit your IP address data to any server. Your conversions are completely private.
Our IP address to binary/hex converter supports four input formats: dotted-decimal (e.g., 192.168.1.1), decimal integer (e.g., 3232235777), packed hexadecimal with or without 0x prefix (e.g., C0A80101 or 0xC0A80101), and packed binary (e.g., 11000000101010000000000100000001). The tool automatically detects which format you are using.
The IPv6-mapped format (::ffff:192.168.1.1) embeds an IPv4 address into an IPv6 address using the ::ffff:0:0/96 prefix. This is used in dual-stack networking where applications and systems need to represent IPv4 addresses within IPv6 address fields. It allows IPv6-only sockets to communicate with IPv4 hosts transparently.
IP address classes are determined by the first octet: Class A (0-127) for large networks, Class B (128-191) for medium networks, Class C (192-223) for small networks, Class D (224-239) for multicast, and Class E (240-255) for reserved/experimental use. Our converter automatically detects and displays the IP class along with special address types like private, loopback, link-local, and multicast.