What does this tool check?
This validator checks whether the given address follows the official IPv4 or IPv6 pattern. It validates structure (format) and allowed characters — it does not test connectivity, ping, or geolocation.
IPv4 at a glance
An IPv4 has 4 decimal octets separated by dots (e.g., 192.168.0.1), each ranging from 0 to 255. Leading zeros are allowed but usually avoided for readability.
- Format: N.N.N.N (N ∈ 0–255).
- Private ranges: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.
- Reserved/Special: 127.0.0.0/8 (loopback), 169.254.0.0/16 (link-local), 224.0.0.0/4 (multicast), 240.0.0.0/4 (reserved).
IPv6 at a glance
An IPv6 has 8 hexadecimal groups (0–FFFF) separated by “:”. Zero sequences may be compressed with “::” only once per address.
- Format: hhhh:hhhh:hhhh:hhhh:hhhh:hhhh:hhhh:hhhh.
- Shortcuts: drop leading zeros and use “::” to compress a zero sequence (once only).
- Useful ranges: fc00::/7 (ULA/private), fe80::/10 (link-local), ::1/128 (loopback), ff00::/8 (multicast).
How to tell if it’s private, public, or reserved?
After validating the structure, check the address range:
- Private IPv4 → 10/8, 172.16/12, 192.168/16.
- IPv4 loopback → 127/8. Link-local → 169.254/16. Multicast → 224/4.
- Private IPv6 (ULA) → fc00::/7. Link-local → fe80::/10. Loopback → ::1. Multicast → ff00::/8.
- Other ranges are typically public (routable on the internet).