Random IP Generator

Random public, private or documentation IPv4/IPv6 addresses in bulk.

About this tool

Choose IPv4 or IPv6 and a range: public, private, documentation-safe, or inside a CIDR block you enter. Set how many addresses you need (up to 1,000) and whether duplicates are allowed, then copy the list.

Choosing the right kind of random IP

Public mode draws from the whole IPv4 space but rejects every special-use block in the IANA registry, including private (10/8, 172.16/12, 192.168/16), loopback (127/8), link-local (169.254/16), carrier-grade NAT (100.64/10), multicast and reserved ranges. A test of 3,000 addresses produced none from those blocks. For IPv6 it uses global unicast space (2000::/3). Private mode gives RFC 1918 IPv4 addresses or IPv6 unique local addresses (fd00::/8), which suit internal network diagrams and lab configs. Documentation mode uses ranges reserved for examples: 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 (RFC 5737) and 2001:db8::/32 (RFC 3849). These are never assigned to anyone, so they're the right choice for blog posts, docs, screenshots and slides. CIDR mode picks addresses inside a block you specify, which is handy for firewall or allow-list tests. Randomness comes from crypto.getRandomValues without modulo bias. Honest limits: public-looking addresses belong to real organisations, so never scan or contact them, and use documentation ranges in published material. IP range to CIDR, the subnet calculator and the MAC address generator are related.

Frequently asked questions

Which IP addresses are safe to use in documentation?

192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 and 2001:db8::/32, which are reserved for examples.

What are private IP ranges?

10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 for IPv4, and fc00::/7 (usually fd00::/8) for IPv6.

Are the random public IPs real?

They're valid public addresses that may belong to real networks, so don't scan or contact them.

Is anything uploaded?

No. The file is generated in your browser and nothing is stored or sent.