IP Address Generator

Generate random IPv4 and IPv6 addresses in bulk.

IP Address Generator
IPv4 IPv6 Both
Any Public only Private only
10

📐 How to Use

  1. Select the IP version: IPv4, IPv6, or both.
  2. Choose the address range: Public, Private, or Any.
  3. Set the quantity (1–100) using the slider.
  4. Click Generate, then Copy All to copy the list.

🎯 When to Use This

  • Seeding a database column or fixture file with plausible addresses, so an index on an inet or varchar field is exercised against realistic variety.
  • Populating a dashboard or log-viewer mockup with source addresses, so the layout gets reviewed against full-width values instead of a repeated 1.1.1.1.
  • Feeding a parser or validator a long list of distinct inputs, checking it handles every octet from 1 to 254 without an off-by-one error.
  • Drawing a network diagram or training exercise with private-range addresses that look like a real LAN without naming anyone's actual hosts.

❓ Frequently Asked Questions

QWhat is an IPv4 address?
IPv4 is the most common IP format — four numbers (0–255) separated by dots, e.g. 192.168.1.1. It supports about 4.3 billion unique addresses.
QWhat is an IPv6 address?
IPv6 uses 128 bits expressed as eight groups of four hex digits, e.g. 2001:0db8:85a3:0000:0000:8a2e:0370:7334. It supports a virtually unlimited number of addresses.
QWhat are private IP ranges?
Private IPv4 ranges are 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, and 192.168.0.0–192.168.255.255. These are reserved for local networks and not routable on the internet.
QWhat are these IP addresses used for?
Generated IPs are random/fake — useful for test data, database seeding, UI mockups, and network simulation scenarios.

ℹ️ About This Tool

An IPv4 address is 32 bits written as four decimal octets; IPv6 is 128 bits written as eight groups of four hex digits. Large parts of both spaces are reserved rather than routable. RFC 1918 sets aside 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 for private networks, 127.0.0.0/8 is loopback, 169.254.0.0/16 is link-local, and everything from 224.0.0.0 upward is multicast or reserved. Test data that ignores those boundaries can end up pointing at something real.

Quantity runs from 1 to 100. IPv4 addresses are built octet by octet with Math.random, the first octet landing between 1 and 223 and the last between 1 and 254. Public mode redraws whenever it hits loopback, link-local, RFC 1918 or multicast space; private mode picks one of the three RFC 1918 blocks. IPv6 output is eight random 16-bit groups. Everything is produced locally in your browser.

⚠️ Notes & Limits

  • Public mode skips RFC 1918, loopback, link-local and multicast, but not 100.64.0.0/10 carrier-grade NAT or the 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 documentation blocks.
  • Addresses are random, not reserved for you. One may belong to a real organization, so treat the output as strings for test data and never send traffic to it.
  • In Both mode the public and private chips have no effect: IPv4 values are drawn from the whole 1 to 223 first-octet range whatever is selected.
  • IPv6 output is always the full uncompressed eight-group form, never the :: shorthand that RFC 5952 prefers, so a parser tested only on this list has not seen compressed notation.