IP ⇄ Binary / Decimal Converter

Turn a dotted-decimal IPv4 address into its binary and 32-bit integer forms, and back again. Useful for subnetting by hand and for storing addresses as numbers.

private This tool runs entirely in your browser. Nothing you enter is sent to our server or anyone else.

Why the three forms

An IPv4 address is really a single 32-bit number; the four dotted octets are just a readable way to write it. Databases often store addresses as the integer form because it sorts and range-queries cleanly. The binary form is how you see subnet boundaries — the prefix length is simply how many leading bits are fixed.

More utilities