Random IP Generator

Generate random IPv4 and IPv6 addresses for testing, development, and network configuration mockups.

Everything runs in your browser. Your data never leaves your device.
12505007501,000

Configure your options and click Generate

IPv4, IPv6, or a mix — up to 100 addresses at once

Common Use Cases

Populate a database fixture with realistic-looking IP addresses for integration testing
Test a geolocation or IP validation library against a large variety of IPv4 and IPv6 inputs
Generate mock access log entries with random client IPs for firewall or analytics demos
Create sample network configuration documents with plausible private IP addresses

About Random IP Generator

IP addresses are the foundational identifiers of networked devices. IPv4, introduced in 1981, uses a 32-bit address space expressed as four decimal octets (e.g. 203.0.113.42), yielding roughly 4.3 billion unique addresses. Despite exhaustion of the public IPv4 pool, it remains dominant in practice thanks to NAT (Network Address Translation), which allows millions of devices to share a single public IP behind a router.

IPv4 reserves several ranges for private use under RFC 1918: 10.0.0.0/8 (10.x.x.x), 172.16.0.0/12 (172.16.x.x–172.31.x.x), and 192.168.0.0/16 (192.168.x.x). These ranges are non-routable on the public internet and are used freely within intranets, home networks, and cloud VPCs. The 127.x.x.x range is reserved for loopback, 169.254.x.x for link-local (APIPA), and 224.x.x.x and above for multicast and reserved uses.

IPv6 was designed to replace IPv4, using a 128-bit address space expressed as eight groups of four hexadecimal digits separated by colons (e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334). This provides approximately 3.4 × 10³⁸ unique addresses — enough for every atom on Earth's surface to have its own address. The prefix 2001:db8::/32 is specifically reserved for documentation and examples (RFC 3849), making it ideal for testing and mockups.

When building applications, generating realistic-looking test IP addresses is useful for populating database fixtures, testing geolocation parsers, simulating log files, verifying network validation logic, and creating realistic demo data. This tool generates cryptographically unsecured but structurally valid IP addresses entirely in your browser using JavaScript — no server calls, no data stored.

Frequently Asked Questions