IP Address Generator - Generate Random IPv4 and IPv6 Addresses

Generate random IP addresses in both IPv4 and IPv6 format. Avoids reserved ranges for realistic addresses suitable for network testing, security testing and test automation. Bulk generation with export to Excel, CSV and JSON.

Note:All generated data is entirely fictional and not suitable for use as real personal information.

Count:

Understanding IP Addresses

An IP (Internet Protocol) address is a numerical label that identifies a device on a network. There are two versions currently in use: IPv4 and IPv6.

IPv4 Format

IPv4 addresses are 32-bit numbers written as four decimal octets separated by dots, e.g. 203.0.113.42. Each octet ranges from 0 to 255, giving approximately 4.3 billion possible addresses. Many ranges are reserved for special purposes (private networks, loopback, multicast).

IPv6 Format

IPv6 addresses are 128-bit numbers written as eight groups of four hexadecimal digits separated by colons, e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334. IPv6 provides a vastly larger address space (2^128 addresses) to accommodate the growing number of internet-connected devices.

Reserved Ranges

  • 10.0.0.0/8— Private network (Class A).
  • 172.16.0.0/12— Private network (Class B).
  • 192.168.0.0/16— Private network (Class C).
  • 127.0.0.0/8— Loopback (localhost).

This generator avoids all reserved ranges to produce realistic public IP addresses.

For network device simulation, combine IP addresses with MAC addresses and UUIDs for comprehensive test data.

Frequently Asked Questions

What is an IP address and what are IPv4 and IPv6?
An IP (Internet Protocol) address is a numerical label assigned to each device on a network. IPv4 uses 32-bit addresses in dotted decimal notation (e.g., 192.0.2.1) with about 4.3 billion possible addresses. IPv6 uses 128-bit addresses in hexadecimal notation with colons (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334) with a virtually unlimited address space. Both formats are essential for network communication.
Does the generator avoid reserved IP ranges?
Yes. For IPv4, the generator avoids reserved and private ranges including: 0.0.0.0/8 (current network), 10.0.0.0/8 (private), 127.0.0.0/8 (loopback), 169.254.0.0/16 (link-local), 172.16.0.0/12 (private), 192.168.0.0/16 (private), and 224.0.0.0/4 and above (multicast/reserved). For IPv6, it avoids the unspecified address, link-local, and multicast ranges. This ensures generated addresses resemble realistic public addresses.
Can I choose between IPv4 and IPv6?
Yes. You can select IPv4 only, IPv6 only, or a random mix of both. IPv4 addresses are generated in standard dotted decimal notation (e.g., 203.0.113.42). IPv6 addresses are generated as full 8-group hexadecimal addresses (e.g., 2001:0db8:85a3:0000:0000:8a2e:0370:7334). Select the version that matches your testing needs.
What are common use cases for generated IP addresses?
Random IP addresses are used for: testing IP address input validation and parsing, testing geolocation services and IP-to-country lookups, populating firewall and access control test configurations, testing log analysis and SIEM tools with realistic data, network simulation and load testing, testing IP reputation and blocklist checks, and filling test databases with network-related test data.
Can I generate IP addresses in bulk?
Yes, you can generate up to 10,000 unique random IP addresses at once. Choose IPv4, IPv6, or a mix. All addresses are generated in your browser — no data is sent to a server. Export the results to Excel (.xlsx), CSV, or JSON for use in network testing, security testing, or test automation.
Does the generator store any generated IP addresses?
No. The IP address generator runs entirely in your browser (client-side). No addresses are stored on a server or transmitted anywhere. Once you leave the page, the generated addresses are gone — unless you exported them. Complete privacy is guaranteed.

Related Tools