IP Address Validator
Check whether a string is a valid IPv4 address or IPv6 address, including compressed forms.
This tool runs entirely in your browser. Your files are never uploaded to a server.
Valid: The value is a valid IPv6 address.
- Uses zero-group compression.
Clear the entered value before starting another check. Validation runs locally and does not check against any external registry, server, or account.
What this tool does
Checks whether a string is a valid IPv4 address in dotted-decimal form or a valid IPv6 address, including zero-compressed and IPv4-embedded forms.
How to use it
Enter an address. The checker first tests the strict IPv4 pattern, then falls back to IPv6 parsing, which handles a single :: compression and an embedded trailing IPv4 segment.
Example
Entering ::ffff:192.0.2.128 returns valid as an IPv6 address using an embedded IPv4 tail, while 192.168.01.1 is rejected for its leading zero.
Validation
IPv4 requires four decimal octets from 0–255 with no leading zeros; IPv6 requires eight hexadecimal groups (or fewer with a single :: standing in for the missing groups), each 1–4 hex digits, with no zone identifier.
How to interpret the result
A valid result confirms the address is well-formed — it does not confirm the address is reachable, publicly routable, or assigned to any device.
Limitations
CIDR prefixes (/24), port suffixes, bracket notation and zone identifiers (%eth0) are outside this checker's scope and will be marked invalid; strip them before checking the bare address.
Privacy
All processing uses local browser APIs and this tool does not upload the values you enter.
Frequently Asked Questions
- What does IP Address Validator do?
- Checks whether a string is a valid IPv4 address in dotted-decimal form or a valid IPv6 address, including zero-compressed and IPv4-embedded forms.
- How does it handle invalid input?
- IPv4 requires four decimal octets from 0–255 with no leading zeros; IPv6 requires eight hexadecimal groups (or fewer with a single :: standing in for the missing groups), each 1–4 hex digits, with no zone identifier.
- Is entered data uploaded?
- All processing uses local browser APIs and this tool does not upload the values you enter.