Skip to tool

IP Validator

Validate IPv4 and IPv6 addresses and get normalized form.

How to Use This Tool

  1. Enter an IP address (IPv4 or IPv6) in the input field.
  2. The tool validates the address and shows whether it is valid, its type (IPv4 or IPv6), and the normalized form.

Learn More About IP Validator

IPv4 and IPv6

IPv4 addresses are 32-bit numbers, usually written as four decimal octets (e.g. 192.168.1.1). IPv6 addresses are 128-bit, written as eight groups of hex digits with colons; compression with :: is allowed (e.g. ::1 for localhost).

Related Tools

About IP Validator

The IP Validator checks whether a string is a valid IPv4 or IPv6 address. For valid addresses it shows the type (IPv4 or IPv6) and a normalized form. This is useful when configuring servers, validating user input, or writing scripts that work with IP addresses.
Validate IPv4 and IPv6 addresses and get normalized form.
Platform
Web-based
Cost
Free
IPv4 and IPv6
Yes

Examples

Valid IPv4

Validate a private IPv4 address.
Input
192.168.1.1
Output
Valid, Type: IPv4, Normalized: 192.168.1.1

Valid IPv6

Validate localhost IPv6.
Input
::1
Output
Valid, Type: IPv6, Normalized: ::1

Invalid input

Check an invalid string.
Input
256.1.1.1
Output
Invalid (octet > 255)

Features

IPv4 and IPv6

Supports both IPv4 and IPv6 address validation.

Normalized Output

Shows the canonical form of valid addresses.

Instant Check

Validation runs in the browser with no server call.

Use Cases

  • Validate IP addresses before saving to config or database.
  • Check user input in forms that accept IPs.
  • Normalize IPs to a canonical form for comparison or display.
  • Debug network or firewall configuration.

Frequently Asked Questions

Explore other IP and network tools.