Skip to content
🌐

Random IP Generator

Generate random IPv4 and IPv6 addresses for testing. Choose version, count up to 50, exclude private/reserved ranges. Runs in your browser.

Version

How does the IP generator work?

This tool generates cryptographically random IPv4 (4 octets, 0-255 each) or IPv6 (8 groups of 16-bit hex) addresses using crypto.getRandomValues(). The "exclude private ranges" option skips RFC 1918 private blocks (10/8, 172.16/12, 192.168/16), loopback (127/8), link-local (169.254/16), and reserved ranges so generated IPs are routable test addresses.

Reserved IPv4 ranges (excluded when option is on)

  • 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 — RFC 1918 private networks.
  • 127.0.0.0/8 — loopback (localhost).
  • 169.254.0.0/16 — link-local (APIPA).
  • 0.0.0.0/8, 224.0.0.0/4, 240.0.0.0/4 — reserved/multicast/experimental.

Common uses

  • Network testing — populate IP allowlists, firewall rules, and log fixtures.
  • Database seeding — fill inet columns with diverse test data.
  • UI mockups — render server tables and analytics dashboards.
  • Educational demos — illustrate IP address structure and ranges.

Privacy

All addresses are generated 100% in your browser. No data is sent to any server.