LazyTools

🔒 Every tool runs in your browser — the files and values you enter are never uploaded to any server. How it works

🔢 IP Address Converter

Type an IP in any form — dotted (192.168.1.1), decimal integer (3232235777), hex (0xC0A80101) or binary — and see all four representations at once.

Dotted decimal192.168.1.1
Decimal (32-bit integer)3232235777
Hexadecimal0xC0A80101
Binary11000000.10101000.00000001.00000001

Per-octet breakdown

192

11000000

× 256^3

168

10101000

× 256^2

1

00000001

× 256^1

1

00000001

× 256^0

All four representations encode the same 32-bit number. Computed locally.

Rate this tool:
Anonymous — no account, no identifier

How the ip address converter works

An IPv4 address is just a 32-bit number; the familiar dotted form is one of several encodings of it. The converter accepts dotted-decimal, a plain integer (0–4294967295), hex (with or without 0x) or 32 binary bits, and renders all the forms together, plus the per-octet binary breakdown. The integer form appears in database storage and log formats; hex shows up in packet captures and ARP output; binary is what subnet masks actually operate on — seeing the same address all four ways is the fastest route to understanding why 192.168.1.1 equals 3232235777.

Historical quirk worth knowing: many tools still accept "shortened" dotted forms like 192.168.257 or even a bare integer typed into a browser address bar — inetd-era parsing rules that map them onto the same 32-bit number. If a log shows an impossible-looking IP, converting via the integer form usually explains it.

Frequently asked questions

Why would an IP address appear as a plain number?

Databases and some log formats store IPv4 addresses as their raw 32-bit integer — it’s compact and sortable. 3232235777 is 192.168.1.1: each dotted octet is one byte of the number.

How do I convert dotted decimal to integer by hand?

Multiply and add place values: a.b.c.d = a×16,777,216 + b×65,536 + c×256 + d. For 192.168.1.1: 192×2^24 + 168×2^16 + 1×256 + 1 = 3,232,235,777.

What is the binary form useful for?

Subnetting. Masks operate on bits, so seeing 192.168.1.1 as 11000000.10101000.00000001.00000001 makes it obvious which bits a /26 keeps and which it zeroes.

Does it work for IPv6?

IPv6 needs 128-bit handling and different notation rules — use the dedicated IPv6 subnet calculator and IPv6 expand/compress tools for that.

Related network tools