Random IP Generator

Generate random IPv4 or IPv6 addresses one at a time or in bulk — up to 1,000 per click — from public ranges, the Class A, B or C private ranges, or a range you define. Runs entirely in your browser.

Runs 100% in your browser
Need IPv6 instead?

Other Tools

What this generator does

Press Generate and the tool produces random addresses — for IPv4, four numbers between 0 and 255, like 187.44.209.13. You choose how many (up to 1,000 at once), and which type they come from. Working with the newer protocol instead? Use the IPv6 switch in the panel and the generator produces random global-unicast IPv6 addresses (2000::/3), shown in compressed form.

  • Any (Public) — addresses drawn from the routable internet range, skipping the main reserved blocks.
  • Class A Private — 10.0.0.0/8, the huge private block used by large organisations.
  • Class B Private — 172.16.0.0/12, the mid-size private block.
  • Class C Private — 192.168.0.0/16, the familiar home and small-office block. Perfect for lab networks and documentation that should look real without touching the public internet.
  • Custom range — set a start and end address and generate inside it, for example all addresses within your test subnet.

Results appear as a clean list you can copy in one click, or download as a TXT, CSV or JSON file — ready to paste into scripts, spreadsheets, test fixtures or firewall test rules.

Why generate random IPs at all?

  • Software testing — seed databases, test IP-parsing code, load-test log pipelines and validate forms with realistic data that won't collide with your real users.
  • Network labs and training — build practice topologies, exam questions and firewall exercises without exposing production addresses.
  • Documentation and examples — realistic-looking sample addresses for guides and screenshots. (For published documentation, the reserved example ranges 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 exist precisely for this — but for internal work, generated private addresses are often clearer.)
  • Simulations — generate traffic sources, test geo-routing logic, or feed addresses into the IP Lookup to explore how real blocks are distributed.

How "random" are they?

The generator uses your browser's cryptographic random source (the same one used for security tokens) to pick each octet, so results are uniform and unpredictable — no patterns, no repeats by design (though with 500 draws from billions of addresses, an accidental duplicate is astronomically unlikely; the tool de-duplicates within a batch anyway). Nothing is sent to a server: generation happens locally on your device, instantly, even for the full 500.

A quick tour of IPv4 space

Not every address is equal. The generator's pools reflect how IPv4 is carved up:

  • Private (RFC 1918): 10.x, 172.16–31.x, 192.168.x — never routed on the public internet.
  • Loopback: 127.x — always your own machine.
  • Link-local: 169.254.x — self-assigned when DHCP fails.
  • Multicast: 224–239.x — group delivery, not devices.
  • Documentation: 192.0.2.x, 198.51.100.x, 203.0.113.x — reserved for examples.

Understanding these ranges is also what makes the numbers in other tools meaningful — for instance when the IP to Decimal Converter turns an address into a single 32-bit number, or when the IPv4 to IPv6 Converter maps it into the newer address family.

Bulk tips

Generating for a script? Download the .txt and consume it line by line. Testing a subnet's worth of hosts? Use the custom-range mode set to that subnet. Need test data that stays stable between runs for a demo? Generate once, download, and reuse the file — random sources are supposed to change every time.

What this tool is not

Generated addresses are random numbers, not checked against live allocations. A "public" result may coincide with a real allocated address belonging to someone — that's expected from pure randomness and is fine for testing, but don't treat a generated address as unassigned or safe to use in production routing. For real assignments, addresses come from your ISP or regional registry.

Generating responsibly

Because generation is instant and local, it is easy to forget the outputs are real-format addresses. Two habits keep test data harmless: prefer the private pool (or documentation ranges) whenever the data might leak into screenshots, tickets or repos — a public-looking address in a public screenshot invites pointless questions — and label generated datasets as synthetic wherever you store them, so a future colleague never mistakes them for production inventories. With those two habits, generated addresses are the safest filler data in networking.

Frequently asked questions

How many IP addresses can I generate at once?

Up to 1,000 per click. You can generate again for more batches, and download each list as a TXT, CSV or JSON file.

Can I generate private IP addresses?

Yes — choose the Class A (10.0.0.0/8), Class B (172.16.0.0/12) or Class C (192.168.0.0/16) private type, or set a custom start and end address to generate inside any range you define.

Are the generated IPs real or assigned to anyone?

They are purely random numbers in valid IPv4 format. Public-pool results can coincide with real allocated addresses; they are meant for testing, labs and examples, not as production assignments.

Is anything uploaded to a server?

No. Generation uses your browser's cryptographic random generator and runs entirely on your device. The list exists only in your browser until you copy or download it.

Can I generate IPv6 addresses?

This generator focuses on IPv4, which is what most testing and lab work still uses. To convert a generated IPv4 address into its IPv6 mapped form, try the IPv4 to IPv6 Converter.

Looking for something else? Browse all 15 free IP tools or read the router guides on the blog.