PB
Available
swap_horiz
lock Free · Private · In-Browser

Binary IP Converter

Convert an IPv4 address between dotted decimal, binary, integer, and hex.

One address, every representation

The same IPv4 address can be written as dotted decimal, as four bytes of binary, as a single 32-bit integer, or in hexadecimal — and different tools expect different forms. Enter the dotted address and this shows all four at once.

192.168.0.1 is 11000000.10101000.00000000.00000001 in binary, 3,232,235,521 as an integer, and 0xC0A80001 in hex. The integer form in particular is what many databases store for fast range queries.

Consistent and private

Each form is derived from the same underlying 32-bit value, so they always agree, and the whole conversion runs locally in your browser.

Frequently Asked Questions

Which formats does it convert?

Dotted decimal (192.168.0.1), dotted binary, the single 32-bit integer, and hexadecimal. Enter any recognised form and it fills in the others.

Why convert an IP to an integer?

Databases and range checks often store addresses as integers because comparing and sorting them is far simpler than parsing dotted strings.

Is anything uploaded?

No. The conversion is pure arithmetic in your browser and nothing you enter is sent anywhere.

Take it further
All Free Tools

Browse the full set of free, private, in-browser tools.

Learn More arrow_forward