IP Address Converter

Free online IP address converter: instantly convert between IPv4 standard, binary, hexadecimal, decimal, and octal formats with auto-detection and octet breakdown charts.

Convert IP addresses between IPv4, binary, hex, decimal, and octal

About This Calculator

The IP Address Converter is a free online tool for network engineers, students, and IT professionals who need to convert IPv4 addresses between different numeric formats. Whether you are troubleshooting network configurations, studying for a networking exam, or working with low-level network programming, this converter handles all common IP address representations.

The converter supports five formats: standard IPv4 dotted decimal (e.g. 192.168.0.1), binary (both dotted and compact 32-bit), hexadecimal (8-character hex string), decimal (the 32-bit integer value), and octal (dotted octal representation). The auto-detect feature intelligently identifies the input format so you can simply paste any valid representation and get instant results.

The conversion uses standard networking formulas. For IPv4 to decimal, the base-256 formula is used: a.b.c.d = a × 256³ + b × 256² + c × 256 + d. For binary and octal, each octet is independently converted to its 8-bit binary or 3-digit octal equivalent. Hexadecimal pairs represent each byte of the address in base-16 notation.

Each conversion produces an interactive octet chart and a detailed breakdown table showing every format side by side, making it easy to compare representations and understand how an IP address maps across different number systems.

Frequently Asked Questions

How does the IP address converter work?

Enter an IP address in standard IPv4, binary, hex, decimal, or octal format. The converter auto-detects the input format or lets you select it manually, then instantly displays the equivalent value in all five formats along with an octet-by-octet breakdown chart.

How do I convert an IP address to binary manually?

Split the IP address into its four octets (e.g., 192.168.0.1). Convert each decimal octet to an 8-bit binary number. 192 becomes 11000000, 168 becomes 10101000, 0 becomes 00000000, and 1 becomes 00000001. Join them with dots: 11000000.10101000.00000000.00000001.

How do I convert an IP address to hexadecimal?

Split the IP into its four decimal octets. Convert each octet to a two-digit hexadecimal value. For example, 192 = C0, 168 = A8, 0 = 00, 1 = 01. Join them: C0A80001. Each hexadecimal pair represents one byte or octet of the IP address.

How do I convert an IP address to decimal?

Use the base-256 formula: a.b.c.d = a x 256^3 + b x 256^2 + c x 256 + d. For 192.168.0.1: 192 x 16777216 + 168 x 65536 + 0 x 256 + 1 = 3221225472 + 11010048 + 1 = 3232235521. This is the 32-bit integer representation of the IPv4 address.

Is this IP address converter free?

Yes, it is completely free to use with no registration required. All conversions happen instantly in your browser.

What is the auto-detect feature?

Auto-detect analyzes your input to determine whether it is an IPv4 address, binary, hexadecimal, decimal, or octal value. If the input is valid in more than one format, the converter will ask you to select the format manually to avoid ambiguity.

Can I share my conversion results?

Yes, the URL saves your input value and format so you can share the exact conversion with others. Simply copy the URL from your browser after calculating.

What is the difference between dotted binary and compact binary?

Dotted binary separates the four octets with dots (e.g., 11000000.10101000.00000000.00000001) for readability, while compact binary removes the dots to show the full 32-bit string (e.g., 11000000101010000000000000000001). Both represent the same IP address.