ToolerCat / IP Address Validator

IP Address Validator

Is it a valid IP? Exact errors, type (private, public, reserved) and conversions.

Try:

Subnet calculator → · What is my IP? →

What makes an IP address valid

IPv4: four decimal numbers 0–255 separated by dots. Leading zeros (192.168.01.1) are rejected: some systems read them as octal, so 010 may mean 8. IPv6: eight groups of 1–4 hex digits; one run of zero groups can be shortened to ::, and the last 32 bits may be written as IPv4 (::ffff:192.0.2.1). The normalized form follows RFC 5952 (lowercase, shortest).

FAQ

Is 10.x.x.x a public IP?

No — 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 are private (RFC 1918) and not routed on the internet. The validator shows the type of every address.

Why convert an IP to an integer?

Databases often store IPv4 as an unsigned 32-bit integer to compare ranges quickly.

How do I find my own IP?

See What is my IP.

More about this tool

Validate IPv4 and IPv6 addresses and see whether an address is public, private, loopback, link-local or reserved.

Useful for input validation, firewall and allow-list rules, and for understanding addresses that appear in logs.