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
How to use
- Type or paste an IPv4 address, a 32-bit integer, or a 0x hex value.
- Read the dotted-decimal, integer, hex and binary forms side by side.
- 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
MAC Address Formatter
Reformat a MAC address between colon, hyphen, Cisco dot and no-separator notation, in upper or lower case — and see its unicast/multicast and universal/local type.
Port Number Reference
Searchable cheat sheet for ~60 standard TCP / UDP port numbers — from 22 (SSH) and 80 (HTTP) to 6379 (Redis) and 27017 (MongoDB).
DNS Record Reference
Searchable cheat sheet for DNS record types — A, AAAA, CNAME, MX, TXT, NS, SOA, PTR, SRV, CAA, DNSSEC, SVCB / HTTPS — with examples.
Subnet Calculator (IPv4 / CIDR)
Parse an IPv4 CIDR into network address, broadcast, netmask, wildcard, host range, and class. Shows binary breakdown and private/public status.
User Agent Parser
Parse a User-Agent string into browser, engine, OS, device, and CPU. Detects 20+ bots including GPTBot, ClaudeBot, PerplexityBot.
HTTP Status Code Reference
Searchable list of every HTTP status code (1xx-5xx) with summary, RFC, when to use, and common pitfalls.