IP Address Info
Analyze IPv4/IPv6 address technical details
关于此工具
Enter any IPv4 or IPv6 address to instantly see its class, type (public, private, loopback, link-local), binary representation, subnet info, and broadcast address. Use the 'My IP' button to auto-fill your current public IP via a free API. All analysis runs locally in your browser.
使用方法
- 1 Enter an IPv4 or IPv6 address in the input field, or click 'My IP' to use your current public IP.
- 2 The tool validates the format and highlights any errors.
- 3 View the IP class, type, and binary representation instantly.
- 4 For IPv4, see the default /24 subnet mask, network address, and broadcast address.
What the numbers in an IP address actually mean
An IPv4 address such as 192.168.1.10 is not really four separate numbers — it is a single 32-bit integer written in dotted-decimal form for human readability. Each of the four octets holds 8 bits, so each can range from 0 to 255, and the whole address spans 232 (about 4.3 billion) possibilities. This tool takes whatever you type, splits it on the dots, validates that every octet is a number between 0 and 255, and then derives everything else — class, type, binary form, and subnet boundaries — from those four values alone. Nothing about the address is looked up remotely; the analysis is pure arithmetic that runs in your browser.
Class and type: two different questions
The first octet decides the historical class. The tool reads it directly: 1–126 is Class A, 128–191 is Class B, 192–223 is Class C, 224–239 is Class D (multicast), and the rest is Class E (reserved). Notice that 127 is carved out separately as loopback. Classful addressing is mostly a teaching concept today — real networks use CIDR — but it still explains why default masks are /8, /16, and /24.
The type answers a more practical question: is this address routable on the public internet, or does it only have meaning on a local network? The tool flags the three private ranges defined by RFC 1918 — 10.0.0.0/8, 172.16.0.0 through 172.31.255.255, and 192.168.0.0/16 — plus loopback (127.x), link-local (169.254.x, the address your machine self-assigns when DHCP fails), and reserved blocks. So 192.168.1.10 reports as Class C but, more usefully, as Private, which tells you it can never appear as a source address on the open internet.
A worked example in binary
Enter 192.168.1.10 and the binary panel converts each octet with an 8-bit, zero-padded representation:
| Octet | Decimal | Binary |
|---|---|---|
| 1 | 192 | 11000000 |
| 2 | 168 | 10101000 |
| 3 | 1 | 00000001 |
| 4 | 10 | 00001010 |
The full string becomes 11000000.10101000.00000001.00001010. Seeing the bits is the fastest way to understand subnetting: with a /24 mask, the first 24 bits (the first three octets) are the network portion and the last 8 bits are the host portion. That is why every device on this network shares 192.168.1.x and differs only in the final octet.
The subnet panel and its /24 assumption
For any IPv4 address this tool reports the default /24 subnet, which holds 256 addresses. Two of those are not usable for hosts: the network address (here 192.168.1.0, all host bits zero) identifies the network itself, and the broadcast address (192.168.1.255, all host bits one) reaches every host at once. That leaves 254 usable hosts, from .1 to .254. Keep in mind this is an assumption for illustration — a real network might use a /16 or a /28, which would change the host count dramatically. If your actual mask differs, treat the panel as a /24 reference rather than ground truth.
IPv6: compression and expansion
When your input contains a colon, the tool switches to IPv6 mode. IPv6 addresses are 128 bits, written as eight groups of four hex digits. Because they are long, they use a :: shorthand that collapses one run of all-zero groups. The tool validates that only one :: appears, identifies the type from the prefix (::1 is loopback, fe80 is link-local, fc/fd is unique-local, ff is multicast), and then expands the compressed form back to its full eight-group representation so you can see exactly which groups the shorthand was hiding.
Practical tips and common mistakes
- Don't read 127.x.x.x as public. Anything in 127 is loopback — traffic never leaves the machine. The tool labels it explicitly so you won't mistake it for a real host.
- 172 is only private in the middle. A frequent error is assuming all of 172.x is private. Only 172.16 through 172.31 qualify; 172.15 and 172.32 are public.
- The "My IP" button is the one network call. Clicking it fetches your public address from a free third-party API (ipify). Typing an address to analyze sends nothing — you can verify by going offline and analyzing any IP manually.
- Leading zeros are invalid here. Octets are parsed as plain numbers, so stick to standard decimal notation without padding.