Paste an address and this tool tells you whether it is a valid IPv4 or IPv6 address, and if so, what kind. For IPv4 it reports the traditional class, whether the address is private, loopback, link local or a broadcast address, and it rejects octets over 255 or the wrong number of parts. For IPv6 it accepts the compressed double colon form as well as the fully expanded form, validates the hex groups, and flags loopback and unspecified addresses. Getting IP validation right by hand is surprisingly fiddly because of edge cases like leading zeros and the many shapes IPv6 can take, so a single trustworthy check saves time when cleaning data or writing input validation. The result updates as you type. All checks run locally in your browser with no lookups, so the address you test is never transmitted anywhere.
For IPv4 it checks four octets each in the 0 to 255 range, and for IPv6 it checks valid hex groups and shorthand, reporting whether the string is valid.
Yes, it flags private ranges such as 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 and other reserved blocks.
For IPv4 it reports the historical class, A through E, based on the leading bits of the address.
Paste an address and this tool tells you whether it is a valid IPv4 or IPv6 address, and if so, what kind. For IPv4 it reports the traditional class, whether the address is private, loopback, link local or a broadcast address, and it rejects octets over 255 or the wrong number of parts.
Yes. IPv4 and IPv6 Validator is completely free, with no sign-up and no usage limits.
Yes. IPv4 and IPv6 Validator runs in any modern web browser. There is nothing to download or install.
Yes. IPv4 and IPv6 Validator runs entirely on your device in your browser, so nothing you enter is uploaded to a server.
Link this tool from a README, doc or site. The badge links back to this page.
[](https://yourhack.ai/ipv4-validator)