IP Address Validator

Validate IPv4 / IPv6 — shows class and private vs public

IP Address

Free Online Tool

IP Address Validator — Complete Guide & Instructions

MakeCard IP Address Validator checks whether an IP string is well-formed and, for IPv4, reports its class and whether it belongs to private or public space. Paste any address, hit Validate IP, and the result card shows the version (IPv4/IPv6), class and scope — or a plain-language reason the input failed. It is a quick sanity check for firewall rules, config files and networking homework.

How to Use IP Address Validator

  1. 1 Type or paste the IP into the field — e.g. 192.168.1.1 or 2001:db8::1.
  2. 2 Or click “Sample” to fill a valid example and see the output format.
  3. 3 Press “Validate IP”.
  4. 4 Read the result: a green badge with the version, plus rows for Class and Scope (private vs public).
  5. 5 If invalid, the red badge states exactly why the string was rejected.

Key Features & Capabilities

  • Validates both IPv4 dotted-quad and IPv6 colon-hex formats, including compressed :: notation.
  • Reports the IPv4 class — A, B, C, D or E.
  • Detects private/reserved ranges vs publicly routable space.
  • Specific failure reasons instead of a bare “invalid”.
  • Sample button inserts a working example instantly.

Supported Formats & Specifications

Parameter Specification
Accepted Formats IPv4 (192.168.1.1), IPv6 (2001:db8::1) incl. :: compression
IPv4 Analysis Version, class (A–E), private vs public scope
IPv6 Analysis Version confirmation and validity
Processing Client-side regex and range checks — instant

Practical Everyday Use Cases

  • Verifying an IP before adding it to a firewall allowlist or router config.
  • Checking whether a logged address is private LAN space or a public client.
  • Validating server IPs pasted into deployment scripts and .env files.
  • Confirming IPv6 entries written with :: shorthand are legal.
  • Networking students testing address-class theory on real examples.

Pro Tips for Best Results

  • Remember the private IPv4 blocks: 10.x.x.x, 172.16–31.x.x and 192.168.x.x — the Scope row flags these automatically.
  • IPv6 accepts compressed form — 2001:db8::1 is valid even though it has empty groups.
  • An address can be syntactically valid but unroutable (like 127.x or 0.x) — check the Scope result, not just Valid.
  • Use the Sample button to compare formatting when you are unsure what a valid IPv6 looks like.

Common Problems & Solutions

Check for hidden spaces, a pasted subnet suffix like /24 (remove it — this tool validates the address, not CIDR), or octets above 255.

IPv6 needs hex groups separated by colons; letters beyond f, more than 8 groups, or two :: compressions make it invalid.

The address belongs to RFC1918 or reserved ranges — 10.x, 172.16–31.x and 192.168.x always report as private.

Privacy & Security

100% Client-Side Execution

Validation runs entirely in your browser — IP addresses you test are never sent anywhere or stored.

No server uploads No data logging Safe for personal documents
FAQ Section

Frequently Asked Questions

Everything you need to know about using IP Address Validator

Paste it into the field and press Validate IP — a green badge confirms IPv4 or IPv6 validity; a red badge explains the exact problem.

Private IPs (10.x.x.x, 172.16–31.x.x, 192.168.x.x) work only inside local networks and are not routable on the internet; public IPs are globally unique and reachable.

Classful ranges from the original IPv4 scheme: A = 0–127, B = 128–191, C = 192–223, D = 224–239 (multicast), E = 240–255 (experimental), based on the first octet.

Yes — :: is legal compression of consecutive zero groups, and db8 uses valid hex digits, so the tool reports it as a valid IPv6.

Related FreeToolsBazaar Tools

Ready to Use IP Address Validator?

100% free, browser-based, and private. No installation, registration, or file upload to external servers required.

Start Using IP Address Validator