IP address converter for IPv4 decimal, binary, hex, and octal forms, plus full and compressed IPv6. Enter an address and compare its representations.
The IP Address Converter shows equivalent forms of an address. The same IPv4 address: for example 192.168.1.1: can also be written as a single decimal integer (3232235777), a binary string (11000000.10101000.00000001.00000001), a hexadecimal value (0xC0A80101), or even an octal form. IPv6 addresses likewise have a long "full" form and a shorter "compressed" form using :: to collapse zero groups. Use the available outputs to compare address representations before copying one into a configuration.
Enter an IP address or supported numeric form. Review the detected format, any validation message, and the equivalent representations. Copy the format expected by your configuration or application.
IPv4 Dotted-Decimal ↔ Decimal integer: e.g. 192.168.1.1 ↔ 3232235777
IPv4 Dotted-Decimal ↔ Binary: e.g. 192.168.1.1 ↔ 11000000.10101000.00000001.00000001
IPv4 Dotted-Decimal ↔ Hexadecimal: e.g. 192.168.1.1 ↔ 0xC0A80101 or C0.A8.01.01
IPv4 Dotted-Decimal ↔ Octal: e.g. 192.168.1.1 ↔ 0300.0250.0001.0001
IPv6 Full ↔ Compressed: e.g. 2001:0db8:0000:0000:0000:ff00:0042:8329 ↔ 2001:db8::ff00:42:8329
IPv4-mapped IPv6: e.g. ::ffff:192.168.1.1 shown alongside its pure-IPv6 form
Auto-detects input format: you don't have to tell it whether you've typed IPv4 or IPv6
Validates the address (reports clearly if it's out of range or malformed)
One-click copy for every output format
Shows the address class (A / B / C / D / E) and whether it's private (RFC 1918), loopback, link-local, multicast, or public
IPv6 compression removes leading zeros and compresses a run of zero groups
Dark mode matches your system preference
Paste or type your IP address into the input box.
The tool detects the format (IPv4, IPv6, decimal, binary, hex) and validates it.
The available equivalent representations appear in the results table.
Click Copy next to any format to copy it to your clipboard.
Address conversion can help with these tasks:
Firewall & ACL rules: some platforms require decimal integers, others require dotted-decimal, others CIDR-style ranges.
Log file analysis: web server logs occasionally store IPs as 32-bit integers (especially in MySQL INET_ATON columns); convert back to dotted-decimal to make sense of them.
Network classroom homework: CCNA, Network+, and CS-courses regularly ask students to convert between binary and dotted-decimal by hand. Verify your answer here.
Embedded systems: microcontroller code often stores IPs as uint32_t; convert from human notation to the integer the firmware expects.
CIDR / subnet planning: binary representation makes it obvious how many host bits remain in a subnet mask.
IPv6 deployment: switching between long and compressed forms for documentation vs. config files.
Reverse-DNS investigation: some dig -x outputs use compressed IPv6, but your hosting console may want the full form.
Applications may expect different address formats. Compare the output with what your destination accepts rather than assuming every parser handles it identically. Tools such as inet_pton and dig have their own input and output conventions.
192.168.1.1 equal to 3232235777?An IPv4 address is a 32-bit number. 192.168.1.1 in binary is 11000000 10101000 00000001 00000001. Concatenate those 32 bits and interpret as a single integer: 11000000101010000000000100000001 = 3232235777. The formula: (192 × 2563) + (168 × 2562) + (1 × 256) + 1.
2001:db8::ff00:42:8329 mean?That's the compressed form of 2001:0db8:0000:0000:0000:ff00:0042:8329. The :: stands for "one or more consecutive groups of zeros": it can only appear once per address. Leading zeros within each group are also dropped (0db8 → db8, 0042 → 42).
192.168.1.1 a public or private IP?Private. RFC 1918 reserves three IPv4 blocks for private networks: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. Addresses in those ranges are not routed on the public internet and can be reused across separate private networks.
IPv4-mapped IPv6 addresses look like ::ffff:192.168.1.1. They're used by dual-stack systems to represent an IPv4 endpoint as a 128-bit value so the same socket code can handle both protocols. The first 80 bits are zero, the next 16 are ffff, and the last 32 are the IPv4 address.
Dotted-decimal is the address itself (192.168.1.1). CIDR adds a prefix length to denote a range (192.168.1.0/24 = "the 256 addresses from 192.168.1.0 to 192.168.1.255"). This tool converts addresses; for subnet planning use a dedicated CIDR calculator.
%eth0)?Yes: zone IDs after a % are preserved through conversion but don't affect the address itself. They're a local-only labeling mechanism, not part of the on-wire address.
How to Use IP Address Converter - IPv4 and IPv6 Formats
Paste an IPv4 or IPv6 address, or a supported decimal, binary, or hexadecimal representation.
Review any validation message. Compare the equivalent values in the results table.
Click Copy beside the format your application expects. For subnet planning, check the range separately rather than treating address conversion as a subnet calculation.
IP address converter for IPv4 decimal, binary, hex, and octal forms, plus full and compressed IPv6. Enter an address and compare its representations.
Tool Use:
31Added:
Jun 10, 2026Type:
Free ToolPrivacy:
Client SideDNS lookup for domain records, including A, AAAA, MX, TXT, CNAME, and NS. Choose a record type and review the returned values and TTLs.
Compare today or another selected date in common formats and check a custom pattern before copying.