IP address converter

Convert IPv4/IPv6 between dotted, decimal, hex, and binary.

This IP address converter translates an IPv4 address between its dotted notation and raw numeric forms like decimal, hexadecimal, and binary. Behind the familiar dotted format, an IPv4 address is really a single 32-bit number, and converting to that integer is often needed for database storage, access-control lists, or range comparisons. Enter an address and the tool shows each equivalent representation side by side. The conversion is computed locally in your browser.

Frequently asked questions

Why convert an IP address to a decimal number?

Storing addresses as integers makes range queries and sorting far more efficient than comparing strings, which is common in databases and firewalls.

What is the 32-bit integer form?

Each of the four octets is one byte; combined they form a single number from 0 to 4,294,967,295. That integer is the address in its most compact numeric form.

Does it validate the address?

Yes. Malformed addresses are flagged so you do not convert an invalid value by mistake.

How does IPv6 conversion differ from IPv4?

IPv6 is a 128-bit address written as eight hex groups, versus IPv4's 32 bits in four decimal octets. The integer form of an IPv6 address is therefore a much larger number, but the principle is identical.

What does an IP look like in binary?

Each IPv4 octet becomes 8 bits, so 192.168.1.1 is 11000000.10101000.00000001.00000001. Binary is useful for understanding subnet masks, where the boundary between network and host bits matters.

Why would I need the hexadecimal form?

Hex appears in packet captures, some log formats, and low-level networking code. Converting to hex (for example C0A80101 for 192.168.1.1) lets you cross-reference those representations quickly.

Share this tool: X LinkedIn Facebook Reddit Email

We use essential cookies to run SJ Monitor (sign-in, security). See our privacy policy.