Random IP Address Generator
Make sample IP addresses for tests, documentation and mock data.
OUTPUT
CHARS: 0WORDS: 0LINES: 0
How the Random IP Address Generator works
IPv4 addresses are four random bytes. By default the generator skips private ranges such as 10.x.x.x, 172.16 to 172.31 and 192.168.x.x, as well as loopback, link local, multicast and documentation ranges, so the result looks like an ordinary public address. IPv6 addresses are eight random 16 bit groups written in full.
Add a suffix such as /24 or /64 to produce network ranges instead of single hosts.
Random IP Address Generator examples
Generate mock IPv4 test addresses
Input
[Type: IPv4, Count: 2]
Result
198.51.100.42 203.0.113.19
When it is useful
- •Filling test databases and log samples.
- •Writing documentation and tutorials without exposing real addresses.
- •Testing validation code for IP fields.
- •Creating mock firewall or access logs.
Frequently Asked Questions
Are these addresses real hosts?
A random public address might belong to a real device. Do not scan or connect to them. For documentation, use the reserved example ranges 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24.
Why are private ranges skipped?
They cannot appear as public internet addresses. Turn the option off to include them.
Does it generate IPv6 in short form?
It writes all eight groups. Short forms like :: compression are not applied.
Related tools
- UUID GeneratorCreate unique identifiers for databases, tests and APIs.
- Random Number GeneratorSet a range and a count and get unbiased random numbers.
- Strong Password GeneratorCreate passwords that are long, random and different every time.
- Random Choice GeneratorList your options, press Pick and let chance decide.
- Hash GeneratorGet the SHA family checksums of a string.