ToolSphere

IP Address Converter

Computer science

Convert IPv4 addresses between dotted-decimal, 32-bit integer, binary, hexadecimal, and octal notations. Instant network address representation converter.

IP address converter

Convert an IPv4 address between dotted-decimal, binary, hex, octal, and 32-bit integer.

Decimal (32-bit)
3232235777
Binary
11000000.10101000.00000001.00000001
Hexadecimal
0xc0a80101
Octal
300.250.001.001

On this browser only

Give feedback

Did this tool help?

Tell us what worked, what didn’t, or what you’d like next.

Opens Google Forms in a new tab with this tool’s name filled in. No sign-in or email required. Feedback is optional.

About IP Address Converter

One Address, Several Representations

An IPv4 address is fundamentally a single 32-bit number, and dotted-decimal notation (like 192.168.1.1) is just the most human-readable of several equally valid ways to write that same underlying value (see IP Address Notations for the full breakdown of why each format exists). Binary reveals exactly what a CIDR/subnet prefix operates on — a count of fixed leading bits — which is far more transparent when written out in binary than reasoned about in decimal.

The packed 32-bit integer form matters specifically for anywhere IP addresses are stored or compared at scale — many databases and geolocation datasets store addresses as a single integer rather than four separate octets, since a single integer is both more storage-efficient and trivially comparable for range queries ("is this address between X and Y") — a comparison that's awkward to express directly across four separate decimal octets.

Converting between these representations by hand is genuinely error-prone (each octet's positional weight in the integer form is a power of 256, not 10), which is exactly the kind of mechanical conversion worth automating rather than risking a manual arithmetic mistake in something like a firewall rule or database query.

Guides and tutorials

Frequently asked questions

Is dotted-decimal the "real" underlying format for an IP address?

No — it's simply the most human-readable of several equally valid representations of the same 32-bit value; binary, hex, and the packed integer form all represent the identical address, just notated differently.

Why do some systems store IP addresses as a plain integer instead of the usual dotted format?

A packed integer is more storage-efficient and makes range comparisons (is this address between X and Y) a simple numeric operation, which is significantly more awkward to express directly across four separate decimal octets.

Why is binary notation useful for understanding subnetting specifically?

A CIDR prefix is literally a count of fixed leading bits — this is far more transparent to verify when the address is written out in binary than when reasoning about it purely in decimal octets.

Have a suggestion for IP Address Converter?Share your feedback ↗