Random IP Generator for IPv4 and IPv6 Address Testing
Generate random IPv4 or IPv6 addresses for testing, fixtures, and seed data. Choose public scope, which excludes all reserved ranges; private scope, for RFC 1918 or unique-local addresses; or any scope. You can also limit IPv4 results to a CIDR range and enforce uniqueness, then generate a batch and copy the values you need.
Random IP Generator creates random IPv4 or IPv6 addresses for test data, fixtures, and other development tasks. Choose a scope to shape the results: public excludes all reserved ranges, private covers RFC 1918 or unique-local addresses, and any lets you generate addresses without choosing public or private scope. You can also enforce uniqueness for the generated results.
To generate addresses, select IPv4 or IPv6 and set the options you need. For IPv4, you can optionally limit results to a CIDR range; this range option is not available for IPv6. Generate a batch at once, then copy the values you want to use. These controls make it easy to prepare address data for different testing scenarios without typing each value yourself.
IPv4 and IPv6 are distinct address formats with different address spaces, so the right choice depends on what your code or test environment needs to handle. A scope can help produce public or private address examples, while a CIDR limit can narrow IPv4 results to a specific range. Random IP values are useful when you need sample addresses for development rather than manually chosen examples.
The Random IP Generator runs entirely in your browser, and the addresses are processed on your device rather than sent to a server. Once the page has loaded, it works offline without a server dependency. This makes it convenient to generate test data while keeping the process local.
Developers and DevOps engineers can use the tool to prepare values for tests, fixtures, seed data, and network-related workflows. Whether you need one address or a batch, the scope, optional IPv4 CIDR range, and uniqueness setting help tailor the generated results to your task.
Step 1: Choose IPv4 or IPv6 and set the scope to public, private, or any. Public scope excludes all reserved ranges, while private scope uses RFC 1918 or unique-local addresses.
Step 2: For IPv4, optionally enter a CIDR range to limit the addresses generated. The CIDR option is for IPv4 only.
Step 3: Enable uniqueness if you want the generated results to avoid duplicates.
Step 4: Generate the addresses. You can create a batch at once instead of making values by hand.
Step 5: Copy the values you need for your tests, fixtures, or seed data.
Use case: Create random IP values for automated tests, fixtures, or seed data without inventing addresses by hand.
Use case: Generate a batch of addresses when a test dataset needs multiple values at once.
Use case: Use public-scope addresses to test workflows that need addresses outside reserved ranges.
Use case: Use private-scope addresses when preparing test data for RFC 1918 or unique-local address scenarios.
Use case: Limit IPv4 results to a CIDR range when a test needs addresses from a particular network range.
Use case: Enforce uniqueness when duplicate addresses would make a generated test dataset less useful.