Home › Random Generators › Random IP Generator
Random IP Address Generator
Generate random IPv4 (public or private) or IPv6 addresses for testing and development.
Free Random IP Address Generator — IPv4 & IPv6 Online
Generating random IP addresses is a surprisingly common task in software development, network testing, security research, and data engineering. This tool lets you generate random IPv4 public addresses, IPv4 private addresses, or IPv6 addresses — whichever your use case calls for.
IPv4 Public addresses are routable on the public internet. They follow the format A.B.C.D where each octet is 0–255. Our generator avoids reserved ranges like loopback (127.x.x.x), multicast (224.x.x.x), and the private ranges — giving you addresses that look like real public IPs from ISPs and hosting providers.
IPv4 Private generates from the three RFC 1918 ranges that are reserved for internal networks: 10.x.x.x, 172.16–31.x.x, and 192.168.x.x. These are the addresses you'd see on a LAN, a VPN, or a Docker network. They're useful for testing firewall rules, network diagrams, and internal routing configurations.
IPv6 generates full 128-bit addresses in the standard 8-group hexadecimal format (xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx). IPv6 addresses are increasingly common as IPv4 space gets exhausted, and having realistic fake ones for test data is genuinely useful.
Common real-world uses: populating database fixtures with IP address fields, stress-testing IP filtering logic, creating mock server logs, designing network architecture diagrams, and testing geolocation logic with varied inputs. Security researchers also use random IP generation when creating synthetic datasets for machine learning models that analyze network traffic.
The generator runs entirely in your browser. Generate 1 at a time or up to 50 in a batch. Results stack and can be copied individually or all at once as newline-separated text.