Random IP Address Generator (IPv4 & IPv6)
Generate up to 1,000 random IPv4 or IPv6 addresses: public only, inside a CIDR range such as 10.0.0.0/8, unique, sorted, with an optional random port.
Random IP addresses are handy for test data, log samples, firewall rule tests, load-testing scripts and documentation. This generator makes up to 1,000 IPv4 or IPv6 addresses at once. It can keep to public space, skipping private networks, loopback, link-local, carrier-grade NAT, documentation blocks and the other IANA special-purpose ranges. It can also stay inside a range you give, such as 10.0.0.0/8 for an internal lab, with no duplicates and an optional random port.
How to use this tool
- Choose IPv4 or IPv6 and how many addresses you need.
- Optionally enter a CIDR range; leave it empty for the whole address space.
- Keep "public only" for realistic internet addresses, or untick it to allow private and reserved ones.
- Choose duplicates, sorting and a port range, then press Calculate and copy the list.
Formula
address = network + random(0 … 2^(32 − prefix) − 1) for IPv4, or network | random host bits for IPv6
Small ranges (up to 65,536 addresses) are listed first and drawn without replacement, so "no duplicates" is exact and a /30 never yields more than its addresses. Large ranges draw random host bits and discard special-purpose or repeated values. Public IPv6 addresses come from 2000::/3, the global unicast block.
Example
With the range 10.0.0.0/30 and network/broadcast skipped, only 10.0.0.1 and 10.0.0.2 are left, so asking for two unique addresses always returns those two, and asking for ten is refused. With no range and "public only", an IPv4 list never contains 10.x, 172.16–31.x, 192.168.x, 127.x or 169.254.x addresses.
Frequently asked questions
Are these addresses safe to put in public documentation?
For manuals and examples, use the documentation ranges instead: 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 for IPv4, 2001:db8::/32 and 3fff::/20 for IPv6. Enter one as the range and untick "public only". Random public addresses can belong to real networks.
Can I use a random address on my network?
Only inside your own private range and outside your DHCP pool. Generate inside, say, 192.168.1.0/24 and check that the address is free before assigning it.
Why are some ranges never chosen?
With "public only" on, blocks that IANA reserves for special purposes are skipped because they never appear as internet hosts. Untick the option to include them.
Sources
Last updated:
Page address with these inputs: https://kakao.mobile/tools/random-ip-generator/
Cite or embed this tool
kakaoCalc. (2026, November 8). Random IP Address Generator (IPv4 & IPv6). https://kakao.mobile/tools/random-ip-generator/
“Random IP Address Generator (IPv4 & IPv6).” kakaoCalc, 8 Nov. 2026, kakao.mobile/tools/random-ip-generator/.
Paste this code into your page. The widget runs in your visitors' browsers, shows no ads and keeps a link back to this page. Embedding terms