RandomNr

Codes and Test Data

Random IP Address Generator

Generate random IPv4 and IPv6 addresses for test fixtures, with private and public ranges.

Random IP Address Generator

203.0.113.42

IPv4 public

How many addresses

Type

Generate IP addresses

This tool creates random IP addresses for testing, in IPv4 or IPv6. Choose public IPv4, private IPv4 or IPv6, and generate one address or a batch to seed logs, test filters and check validation.

Public, private and IPv6

Public IPv4 addresses avoid the reserved and private ranges, so they look like internet addresses. Private mode draws from the 10, 172.16 to 31 and 192.168 blocks used inside networks. IPv6 mode builds a full eight group address in the modern format.

Test data only

These addresses are for testing and examples. They are generated in your browser from the cryptographic random source, and nothing leaves your device.

Popular generators

Frequently asked questions

What types can I generate

Public IPv4, private IPv4 from the standard internal ranges, and IPv6 in the eight group format.

Do public addresses avoid reserved ranges

Yes. Public mode skips the private and reserved blocks, so the addresses look like real internet addresses.

What are the private ranges

10.x.x.x, 172.16.x.x to 172.31.x.x, and 192.168.x.x, the blocks reserved for internal networks.

Can I make several

Yes, up to 500 at once, ready to copy or export.

Is it free

Yes, free and with no sign up.

Related generators

For a phone test value see the phone number generator, or a device ID with the IMEI generator.