IPv6 Address Regex Tester

Paste IPv6 addresses and verify them against a regex that handles all valid shorthand forms.

Pattern (IPv6 address (simplified))

/^([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}$/

Summary

Paste IPv6 addresses and verify them against a regex that handles all valid shorthand forms.

How it works

  1. Paste IPv6 addresses one per line
  2. Click Test
  3. See valid or invalid per line
  4. Copy the pattern

Use cases

  • Validating IPv6 firewall rule inputs
  • Parsing IPv6 from log files
  • Checking dual-stack configuration values

Frequently Asked Questions

Last updated: 2026-06-09 · Reviewed by Nham Vu