Random IP Address Generator

Random IPv4 & IPv6 addresses, public-only option included.

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

Generate random IPv4 and IPv6 addresses for test fixtures, mock data, documentation examples, and load-testing inputs. For IPv4 you can keep public addresses only enabled to skip private and reserved ranges, so your sample data looks like real internet traffic. Set a count, click Generate, and copy the list.

How it works

For IPv4, the tool draws four random octets (0–255) using secure browser randomness and joins them with dots. With public addresses only enabled, it re-draws any address that falls inside a private or reserved block — RFC 1918 (10/8, 172.16/12, 192.168/16), carrier-grade NAT (100.64/10), loopback (127/8), link-local (169.254/16), the TEST-NET documentation ranges, and multicast/reserved space (224/4 and above) — so only globally routable-looking addresses remain.

For IPv6, it generates eight random 16-bit groups and formats them as colon-separated hex. No address is ever pinged, resolved, or looked up; these are sample values only, produced entirely in your browser.

Example

With IPv4 and public only selected, a batch of three might be:

203.0.113.45
198.51.100.7
8.34.219.160

Switching to IPv6 produces values such as:

2a01:4f8:1c0c:abcd:0:0:0:1
VersionExamplePublic-only filter
IPv4203.0.113.45Skips RFC 1918, CGN, loopback, link-local, multicast
IPv62a01:4f8:1c0c:abcd::1n/a

Nothing is pinged or uploaded — addresses are generated entirely in your browser.

Ad placeholder (rectangle)