Random IP address generator
Random IP address generator for IPv4 and IPv6, with options for public, private or documentation ranges. Handy for test data.
About the random ip address generator
Random IP address generator for IPv4 and IPv6, with options for public, private or documentation ranges. Handy for test data.
Part of SmartCalcy’s data & networking tools. It runs in your browser with no account, uses your own currency and units (change them at the top of the page), and gives estimates for information only, so check official guidance before you rely on a result.
How to use the random ip address generator
What it calculates and when to use it
Generates random IPv4 or IPv6 addresses for test data, examples and documentation. Choose public-looking, private or documentation ranges. It uses your browser’s secure random number generator.
How to use it, step by step
- Choose IPv4 or IPv6.
- Pick the type: public, private, documentation or any.
- Set how many addresses you need, up to 200.
- Press “Generate again” for a new set, then copy the result.
What each input means
- Version – IPv4 or IPv6.
- Type – Public (routable), private (RFC 1918 or unique local), documentation (TEST-NET or 2001:db8::/32), or any.
- How many – From 1 to 200.
How to read the results
- Addresses – One address per line, ready to copy.
The formula
Each address is built from random bytes. For public IPv4, results in private, loopback, link-local, multicast, reserved and documentation ranges are rejected and redrawn. Private picks from 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. IPv6 public addresses start in 2000::/3, private in fc00::/7.
A worked example
Five public IPv4 addresses might look like 187.208.201.208 and 49.150.245.104. They are random and may belong to real networks.
Assumptions and limits
- Random public addresses may belong to real organisations. Do not scan or contact them.
- For documentation, use the documentation type, which is reserved for examples and never routed.
Common mistakes
- Using random public addresses in a real test against live systems.
- Putting random addresses into a firewall rule or allow list.
- Expecting the same list after pressing the button again.
Frequently asked questions
Are the addresses real?
They are random, so some will belong to real networks. They are not tied to any device or person.
Which addresses are safe for examples?
Use the documentation ranges: 192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 and 2001:db8::/32.
Is the generator truly random?
It uses the browser’s cryptographic random source.
Can I generate private addresses?
Yes. Choose the private type.
Related tools
Addresses
120.224.225.125 53.137.192.178 83.185.205.186 110.217.143.127 157.178.108.5