Skip to content
toolgrid

No tool found. Try another word.

Random IP Address Generator

Generate random IPv4 or IPv6 addresses: public, private (LAN), documentation ranges or any, for testing, log samples and examples.

Runs in your browser. What you enter is kept for 30 days to improve Toolgrid, then deleted.

How to use the Random IP Address Generator

  1. 1 Choose IPv4 or IPv6 and the kind of address.
  2. 2 Set how many addresses you need.
  3. 3 Copy or download the list.

About the Random IP Address Generator

The IP address generator makes random addresses for test data, log examples, firewall rules, documentation and teaching. Public IPv4 addresses skip every reserved block, such as 10.0.0.0/8, 127.0.0.0/8, 169.254.0.0/16 and multicast, so they look like real internet addresses.

Private addresses come from the LAN ranges 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 (RFC 1918) or, for IPv6, unique local addresses in fd00::/8. Documentation addresses come from 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 or 2001:db8::/32, ranges reserved for examples that never appear on the internet (RFC 5737 and RFC 3849).

IPv6 addresses are written in the standard short form: lowercase, leading zeros dropped and the longest run of zero groups replaced by "::". For examples in documentation, the documentation ranges are the safe choice.

Frequently asked questions

Which addresses should I use in documentation?

The documentation ranges: 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 for IPv4 and 2001:db8::/32 for IPv6. They are reserved for examples and never belong to real hosts.

Are the public addresses in use?

Possibly. A random public address may belong to a real server or home connection, so don't scan or attack them; use them only as data.

What are private IP addresses?

Addresses for local networks that are not routed on the internet: 10.x.x.x, 172.16–31.x.x and 192.168.x.x for IPv4, fd00::/8 for IPv6.

Why do IPv6 addresses contain "::"?

The double colon replaces the longest run of zero groups, as RFC 5952 prescribes, which makes the address shorter.