IP Address Tools

Free IP address validator: check if an IPv4 or IPv6 address is valid and see its type, such as private or loopback, plus its IPv4 class or full IPv6 form.

Runs in your browser. Files never leave your device.

About the IP Address Tools

Paste an IP address and this IP validator tells you whether it is a well-formed IPv4 or IPv6 address. For IPv4 it also checks that every number is between 0 and 255, and shows the address class and what kind of address it is: private, public, loopback, link-local, multicast or another reserved range. For IPv6 it writes out the full eight-group form and names the type, such as link-local or unique local. Check an address here before it goes into a router, firewall, DNS or server setting, and a typo shows up before it causes trouble.

The reference table below lists the reserved IPv4 ranges in CIDR notation, such as 192.168.0.0/16, so you can see the blocks the type label refers to.

How the address is checked

An IPv4 address is four numbers of one to three digits joined by dots, for example 192.168.1.1. Each number (an octet) must be 0 to 255, so 192.168.1.300 is rejected, and an octet with a leading zero, such as 01, is rejected too because some systems read it as an octal number. The class comes from the first octet: 0–127 is A, 128–191 B, 192–223 C, 224–239 D (multicast) and 240–255 E (reserved).

The type is found by checking the address against the special-purpose blocks in the IANA registry: the three RFC 1918 private ranges, loopback, link-local, carrier-grade NAT, the documentation ranges, benchmarking, multicast, reserved and broadcast. An address in none of them is labelled public.

An IPv6 address is up to eight groups of one to four hexadecimal digits separated by colons. A single :: may stand for a run of zero groups, the last two groups may be written as an IPv4 address (::ffff:192.0.2.1), and a zone such as %eth0 may follow. The tool expands the address to its full form and names its type, such as loopback (::1), link-local (fe80::/10), unique local (fc00::/7), documentation (2001:db8::/32) or global unicast.

The check runs in your browser as you type. Nothing is looked up online, which also means it can't tell you who owns an address or where it is.

Assumptions and limits

  • The type label says which reserved block an address falls in, not whether it's actually in use or reachable from where you are.
  • Classes are historical: networks have used CIDR prefixes instead since 1993. The class is shown because many courses and older documentation still use it.
  • Enter one address at a time. Spaces or line breaks before and after it are ignored, but a /prefix such as 192.168.0.0/24 is a range, and the tool asks for the address on its own because it doesn't calculate ranges. A port (192.168.1.1:8080) or URL brackets ([::1]) get the same request.
  • Shortened IPv4 forms that some programs accept, such as 10.1 or a single number, are reported as an invalid format.

Worked examples

Check a home router address

192.168.1.1 is the default gateway on many home routers. It passes the check, its first octet of 192 gives class C, and it is in the private 192.168.0.0/16 block.

Input: 192.168.1.1
✓ Valid IPv4 Address
Address: 192.168.1.1
Class: C
Type: Private (192.168.0.0/16, RFC 1918)

Catch a typo in a server address

Typing 256.1.1.1 instead of 25.1.1.1 gives "✗ Invalid IPv4 — octets must be 0-255", because 256 can't fit in one byte. A missing dot, as in 10.0.05, fails the format check and the output shows a valid IPv4 and IPv6 example to compare against. 10.0.0.05 has all its dots but is rejected for the leading zero in 05.

Validate an IPv6 address

2001:0db8:85a3:0000:0000:8a2e:0370:7334 is valid, and so is its short form 2001:db8:85a3::8a2e:370:7334, where leading zeros are dropped and the two zero groups become ::. Both give the full form 2001:0db8:85a3:0000:0000:8a2e:0370:7334 and the type Documentation, because addresses starting 2001:db8: are reserved for examples.

Reserved IPv4 ranges at a glance

Range (CIDR)AddressesUsed for
10.0.0.0/810.0.0.0 – 10.255.255.255Private networks (RFC 1918)
172.16.0.0/12172.16.0.0 – 172.31.255.255Private networks (RFC 1918)
192.168.0.0/16192.168.0.0 – 192.168.255.255Private networks, most home routers (RFC 1918)
127.0.0.0/8127.0.0.0 – 127.255.255.255Loopback: this computer (127.0.0.1)
169.254.0.0/16169.254.0.0 – 169.254.255.255Link-local: no DHCP address was given
100.64.0.0/10100.64.0.0 – 100.127.255.255Carrier-grade NAT used by ISPs
224.0.0.0/4224.0.0.0 – 239.255.255.255Multicast
0.0.0.0/80.0.0.0 – 0.255.255.255"This network"; 0.0.0.0 means any address

How to use the IP Address Tools

  1. Paste one IP address. Type an IPv4 address like 8.8.8.8 or an IPv6 address like 2001:db8::1 into the Input box, with no spaces.
  2. Press Process. The result appears straight away and updates as you type.
  3. Read the result. Check the valid or invalid mark, then the class and type for IPv4, or the full form and type for IPv6.

Frequently asked questions

How do I know if an IP address is valid?

An IPv4 address needs exactly four numbers separated by dots, each from 0 to 255, such as 203.0.113.7. An IPv6 address uses up to eight groups of hexadecimal digits separated by colons. Paste it here: the result says whether the format is valid and, for IPv4, whether an octet is outside 0 to 255.

What is the difference between a private and a public IP address?

Private addresses (10.x, 172.16–31.x and 192.168.x) are used inside homes and offices and can't be reached directly from the internet. Your router shares one public address, assigned by your ISP, for all the devices behind it.

What does /24 mean after an IP address?

It's CIDR notation: the first 24 bits are the network part, leaving 8 bits, or 256 addresses, for hosts. 192.168.1.0/24 covers 192.168.1.0 to 192.168.1.255. A /16 has 65,536 addresses and a /8 about 16.7 million.

Is 127.0.0.1 a private IP address?

Not strictly. It's a loopback address: traffic sent to it never leaves your own computer, which is why it's used to test local servers. It isn't in the RFC 1918 private ranges, so this tool labels it Loopback rather than Private.

Why is IPv6 written with double colons?

To shorten long runs of zeros. IPv6 addresses are 128 bits long, so one run of all-zero groups may be shortened to ::. 2001:db8:0:0:0:0:0:1 becomes 2001:db8::1. The shortcut may appear only once in an address, otherwise its length would be ambiguous.

Can this tool find the location or owner of an IP address?

No. It checks the address format offline in your browser and doesn't look anything up, so the address you enter isn't sent anywhere. Use a WHOIS or IP geolocation service for ownership and location.

This tool runs entirely in your browser. What you enter or upload stays on your device and is never sent to our servers.