Random IP address generator

Generate random, valid IPv4 addresses for testing. Choose public, private, or any, and how many you need. Everything runs in your browser.

Valid test addresses on demand

Sometimes you just need a handful of IP addresses that look real: to seed a database, populate a test fixture, or check that a form validates the format. This generator draws random valid IPv4 addresses and skips the ones that would not make sense, such as 0.x, loopback 127.x, and the multicast and reserved ranges above 224.

If you are writing public documentation, pick the private option or use the reserved documentation ranges by hand, because a random public address might belong to a real network. To inspect any address you generate, drop it into the subnet calculator or the IP converter.

Frequently asked questions

What is a random IP generator for?

It produces valid IPv4 addresses for testing: seed data, log samples, load-test targets, or filling a form field. The addresses are syntactically valid but not tied to any real host.

Can I generate only private IP addresses?

Yes. Choose the private option to get addresses from the RFC 1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), which are safe to use in lab and internal examples.

Are the generated IPs safe to use in examples?

For public documentation, prefer the reserved ranges 192.0.2.0/24, 198.51.100.0/24, and 203.0.113.0/24. Random public IPs may belong to real networks, so use private or documentation ranges when publishing.

How are the addresses generated?

In your browser, using the cryptographic random number generator when available. Nothing is requested from a server, so the tool works offline once loaded.