IP Address Generator
Generate random IPv4 and IPv6 addresses in bulk.
How to Use
- Select the IP version: IPv4, IPv6, or both.
- Choose the address range: Public, Private, or Any.
- Set the quantity (1–100) using the slider.
- 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
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.