← All tools
// NUMBERS

Random IP Generator online

Generate random IPv4 addresses — public, private, or from any custom range.

Random IP Address Generator logo
by
CHUNKY
MUNSTER
Count: Type:
Click Generate IPs to start…

About Random IP Generator

Generates random IPv4 addresses. The "Private" option generates addresses from the RFC 1918 private ranges (10.x.x.x, 172.16-31.x.x, 192.168.x.x). Useful for testing, dummy data, and network documentation. Runs entirely in your browser.

How to Use the Random IP Address Generator

  1. Paste or enter your input into the text field.
  2. Configure any options (format, delimiter, encoding, or mode) using the controls above the output.
  3. The result updates instantly — no submit button required for most operations.
  4. Click Copy or Download to take the output to your next step.

This generator returns dotted-quad IPv4 addresses sampled uniformly from one of three ranges: the public internet (everything outside RFC 1918 / loopback / link-local / multicast), one of the three RFC 1918 private blocks, or a CIDR you supply. The bulk mode produces up to a thousand at a time.

How the Random IP Address Generator Works

Random "public" IPs are useful for unit tests, log-line generation, and load-test fixtures — but the IPv4 space is almost fully allocated, so every address you generate already belongs to someone. Never point real traffic at randomly-generated IPs. The custom-range mode is the safer option for tests that need a controlled subnet (use a TEST-NET range like 198.51.100.0/24 from RFC 5737).

Frequently Asked Questions

What counts as a "public" IP for this tool?

Anything that is not in the RFC 1918 private space (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), the loopback (127/8), the link-local 169.254/16 block, or the multicast 224/4 block. The result is a plausible routable IPv4.

Are the addresses guaranteed to be unallocated?

No. The IPv4 space has been almost entirely assigned to real organisations for over a decade. Random "public" IPs will hit real hosts — never use them for traffic, only for test data and fixtures.

How does the custom range mode work?

Provide a CIDR block (for example 198.51.100.0/24) and the tool samples uniformly across the host portion. /32 returns the single address; /0 covers the whole space.

Why no IPv6?

IPv6 random generation is a different problem (128-bit addresses, different reserved ranges, formatting choices around :: and zero-compression). It deserves its own dedicated tool rather than being bolted onto an IPv4 page.

Explore the full suite of NUMBERS tools and 290+ other free utilities at Chunky Munster.