IP Parser
Parse, validate, and analyze IPv4 and IPv6 addresses — CIDR calculator, classification, conversions, batch mode, all local to your browser.
Loading tool…
What is an IP address?
An IP address identifies a network interface. IPv4 addresses are 32 bits written as four decimal octets, giving about 4.3 billion possibilities — long since exhausted, which is why IPv6 exists with 128 bits written as eight hexadecimal groups, usually abbreviated with a double colon where a run of zeros is omitted.
Addresses are rarely used alone. CIDR notation appends a prefix length, so 192.168.1.0/24 means the first 24 bits are the network and the remaining 8 identify hosts — 256 addresses, of which 254 are usable. Certain ranges are reserved and never routed on the public internet: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 for private networks, plus loopback and link-local ranges. Parsing an address means resolving all of this into readable facts: the network and broadcast addresses, the usable host range, and whether the address is public or private.
Why we built this tool
Network work needs this arithmetic constantly — planning subnets, writing firewall rules and security-group entries, reading server logs, and diagnosing why two machines cannot see each other.
The addresses involved describe your internal network topology, which is precisely the information an attacker would like to have. Sending it to a third-party calculator to do binary maths is an unnecessary leak. Ours computes everything in your browser with plain JavaScript, so the addresses never leave your machine and nothing is logged. It also works offline — genuinely useful when you are configuring a network that has no working internet connection yet.
Tips and common mistakes
- A
/24holds 256 addresses but only 254 usable hosts, once the network and broadcast addresses are excluded. - Private ranges are never routed on the public internet, so a public-looking problem may just be a private address.
- Plan subnets with room to grow; renumbering a live network later is far more work than allocating generously now.
- IPv6 abbreviation with a double colon may appear only once in an address.
Open IP Parser with a link
Assistants and scripts can open IP Parser with its input already in the link, after the #, which never leaves your device:
#text=— the text to work on
Example: https://mygadgets.ink/tools/ip-parser/#text=... · also compressed gz fields and ?url=. How tool links work
Quick start: using IP Parser
- Enter an IP address, with a CIDR prefix if you have one.
- Read the parsed output: version, network address, and prefix length.
- Check the usable host range and total address count for the subnet.
- Note whether the address falls in a private, loopback, or reserved range.
- Copy the values into your firewall rule, route table, or documentation.
Working on URLs rather than addresses? URL Parser breaks those apart the same way.
IPv4 and IPv6
There are two kinds of IP address in use:
- IPv4 — four numbers 0–255 separated by dots, like
192.168.1.10. The original scheme, still dominant, but the world has run out of unique ones. - IPv6 — eight groups of hex digits separated by colons, like
2001:0db8:85a3::8a2e:0370:7334. Vastly larger address space, increasingly common, often abbreviated with::for runs of zeros.
Parsing recognizes which type you have and expands or normalizes it.
Public vs. private addresses
A key thing parsing reveals is whether an address is private — reserved for internal networks and not routable on the public internet. The main private IPv4 ranges are:
- 10.0.0.0 – 10.255.255.255
- 172.16.0.0 – 172.31.255.255
- 192.168.0.0 – 192.168.255.255
If your home router hands out 192.168.1.x, that is why — it is a private range. Public addresses, by contrast, are unique across the whole internet. Recognizing the difference matters when configuring networks or reading logs: a private source IP came from inside your network.
Subnets, briefly
An IP paired with a subnet mask (like /24) defines a network — the block of addresses that belong together. The mask determines how many addresses are in the block and which portion of the address identifies the network versus the individual host. Parsing with a mask shows the network address, broadcast address, and usable host range, which is essential for planning or troubleshooting a network.
Common uses
- Tell public from private addresses in logs or configs.
- Understand a subnet's range and size.
- Normalize an IPv6 address.
- Troubleshoot network configuration.