Code tool

Random IPv6 Generator

Create local IPv6 examples for documentation and testing. Every result stays inside the IETF documentation prefix 2001:db8::/32 and is not a real routable address.

In-browser processingNo account requiredPrivacy details ↗

Every result is a random documentation address from 2001:db8::/32. These addresses are non-routable examples for documentation and testing.

A QUICK WALKTHROUGH

How to use this tool

  1. Choose how many addresses to generate, from 1 to 100.
  2. Generate a batch using secure browser randomness.
  3. Copy the newline-separated examples for documentation or tests.

IETF documentation prefix only

Every address begins with 2001:db8::/32, the IPv6 prefix reserved for documentation. These values are non-routable examples and must not be treated as assigned public addresses.

Secure randomness and unique batches

The browser Web Crypto API supplies the random 96-bit suffix. A Set removes duplicates within each batch; the tool does not check whether any value is used elsewhere.

Local and private by design

Generation happens in this page and sends no address data to a server. Use the results in documentation, fixtures, and tests, not for network configuration or Internet reachability.

GOOD TO KNOW

Common questions

Can I route one of these addresses?

No. 2001:db8::/32 is reserved for documentation and is not a real allocation. Request an address from your provider or registry for a routable deployment.

Are duplicate results possible?

The tool removes duplicates within the current batch. It cannot compare results with other batches or networks.

What makes the generator secure?

It uses crypto.getRandomValues when available and stops with an error if secure browser randomness is unavailable.