AZ Tools

IPv4 Address Converter

Network

Enter an IPv4 address in any common form — dotted-decimal (192.168.1.1), a 32-bit integer (3232235777) or hex (0xC0A80101) — and this tool shows all of them at once, plus the binary octets. It also classifies the address: private, public, loopback, link-local, multicast, broadcast, shared (CGNAT) or reserved. Useful for firewall and ACL rules, database storage (IPs are often kept as integers), log parsing and learning how addresses map to numbers. Everything is computed locally in your browser.

Dotted decimal

192.168.1.1

Integer (uint32)

3232235777

Hexadecimal

0xC0A80101

Binary

11000000.10101000.00000001.00000001

TypePrivate

How to use

  1. Type or paste an IPv4 address, a 32-bit integer, or a 0x hex value.
  2. Read the dotted-decimal, integer, hex and binary forms side by side.
  3. Copy whichever representation you need; the address type is shown below.

Frequently asked questions

Why store an IP as an integer?
A 32-bit integer is compact and fast to index and compare in databases, so ranges and lookups are efficient. 192.168.1.1 is the integer 3232235777.
How is the integer calculated?
Each octet is a byte: integer = a×2²⁴ + b×2¹⁶ + c×2⁸ + d. So 192.168.1.1 = 192×16777216 + 168×65536 + 1×256 + 1 = 3232235777.
What do the address types mean?
Private (10/8, 172.16/12, 192.168/16) and loopback (127/8) aren't routable on the internet; link-local (169.254/16) is auto-assigned; shared (100.64/10) is carrier-grade NAT; the rest is public.
Does it support IPv6?
This tool is for IPv4. For IPv6 work, use a dedicated IPv6 tool such as the IPv6 expander.

Related tools