Networks

How to check the syntax of an IPv6 address

IPv6 allows runs of zero groups to be abbreviated. Syntax checking helps before recording an example, but does not test connectivity.

Before you start

Text is processed in the browser. Consider the content before using it and read the privacy policy.

Privacy

How to use it

  1. Enter 2001:db8::1 in the IPv6 validator and validate.

  2. Check the expanded form and documentation classification.

  3. Try 2001::db8::1: two :: abbreviations make the input invalid.

IPv6 Validator

Worked example

The expanded form is 2001:0db8:0000:0000:0000:0000:0000:0001; 2001:db8::/32 is reserved for documentation.

Result: 2001:db8::1 valid; 2001::db8::1 invalid.

RFC 3849: IPv6 documentation

Limits and checks

The tool does not accept zone identifiers with %. Valid syntax does not guarantee assignment, a route or reachability.

Next step

To calculate the network for an address with a prefix, see the IPv6 /64 example.

How to identify an IPv6 network from its prefix
Back to the blog