Random IP Address Generator

Random IPv4 and IPv6 addresses for testing, teaching and documentation.

Example: 10 documentation-safe IPv4 addresses (seed "example"). Choose a preset and click Generate.

How to Generate Random IP Addresses

A random IP generator creates IPv4 or IPv6 addresses for test data, demos and teaching. Choose public, private, a range of your own, or documentation-only addresses (192.0.2.0/24, 2001:db8::/32) that never belong to anyone.

Pick a preset, the quantity (up to 1,000) and a format; copy or export the list. "No duplicates" keeps every address once; "Repeatable list" gives the same list every time for the same seed, which suits test fixtures. Links like /random-ip-generator?preset=doc4&count=50 open with those settings. Need hardware addresses too? Use the MAC address generator.

Which Preset Should I Use?

Use documentation ranges in examples, private ranges for lab networks, and realistic public IPs only for load or geo tests you control.

PresetRangeGood for
Documentation-safe IPv4 / IPv6192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 · 2001:db8::/32Docs, tutorials, screenshots, sample configs: never anyone's address
Private LAN IPv410.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16Lab networks, router and firewall configs, mock device inventories
Private IPv6 (ULA)fd00::/8Internal IPv6 test networks
From my CIDRAny range you enterAddresses inside your own subnet, e.g. to test an allow-list
Public IPv4 (realistic)Everything except the reserved blocks belowLog anonymisation, parser and geolocation tests on data you own
IPv6 global unicast2000::/3, minus special blocksRealistic-looking public IPv6 for parsers and databases

Are Random IP Addresses Real?

A random public IPv4 is almost always assigned to someone; never use one in documentation or to target anything.

The IPv4 space ran out years ago, so nearly every public address belongs to a provider, a company or a home connection. A "fake IP address" from a generator is just a number: it doesn't change the address websites see for you. To hide your own IP, use a VPN, a proxy or Tor (how to hide your IP). And to check what a real address is, use the public or private IP checker.

Diagram: an IP address as four random numbers from 0 to 255; the public preset redraws addresses that land in a reserved block, the documentation-safe preset uses only 192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24
An IPv4 address is four numbers from 0 to 255; the public preset skips the reserved blocks.

Reserved Ranges We Exclude

Public mode skips every special-purpose block in the IANA registry: private, CGNAT, loopback, link-local, documentation, benchmarking, multicast and reserved.

BlockUse
0.0.0.0/8"This network"
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16Private networks (RFC 1918)
100.64.0.0/10Carrier-grade NAT (RFC 6598)
127.0.0.0/8Loopback
169.254.0.0/16Link-local
192.0.0.0/24IETF protocol assignments
192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24Documentation (RFC 5737)
192.31.196.0/24, 192.175.48.0/24AS112 DNS service
192.52.193.0/24Automatic Multicast Tunneling
192.88.99.0/24Former 6to4 relay anycast
198.18.0.0/15Network benchmarking (RFC 2544)
224.0.0.0/4Multicast
240.0.0.0/4Reserved, including 255.255.255.255 (broadcast)

For IPv6 global unicast we also skip 2001::/23 (IETF protocols, incl. Teredo), 2001:db8::/32 and 3fff::/20 (documentation) and 2002::/16 (6to4).

How This Generator Works

ItemDetail
Where it runsIn your browser; nothing is sent to our server.
RandomnessYour browser's secure generator (crypto.getRandomValues); with a seed, a fixed pseudo-random sequence (xmur3 + mulberry32), so it is repeatable but not secret.
Public IPv4Random 32-bit numbers, redrawn while they fall in a reserved block (IANA special-purpose registry, checked 10 November 2026).
CIDRRandom host part; IPv4 network and broadcast addresses skipped (except /31 and /32).
LimitsUp to 1,000 addresses per list; "No duplicates" stops at the size of a small range.
Last verified10 November 2026

Frequently Asked Questions

How do I generate a random IP address?
Choose a preset and a quantity above and click Generate; everything runs in your browser. Copy the list or download it as text, CSV, JSON or SQL.
Is a random IP address a real address?
A random public IPv4 address almost always belongs to a real network, a company or a home. For examples and tutorials, use the documentation ranges (192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24, 2001:db8::/32), which are never assigned to anyone.
Can I use a fake IP address to hide my IP?
No. A generated address doesn't change your connection: websites still see your real IP. To hide it you need a VPN, a proxy or Tor; see how to hide your IP address.
What IP addresses are safe to use in documentation?
192.0.2.0/24, 198.51.100.0/24 and 203.0.113.0/24 for IPv4 (RFC 5737), and 2001:db8::/32 for IPv6 (RFC 3849). The "Documentation-safe" presets use only these.
Can I generate random IPs within a specific subnet?
Yes. Choose "From my CIDR" and enter the range, for example 10.20.0.0/16 or 2001:db8:abcd::/48. For IPv4 the network and broadcast addresses are skipped.
Can I get the same list again?
Yes. Tick "Repeatable list" and type a seed: the same seed, preset and quantity always give the same list, which is handy for test fixtures.

Next steps

Related Tools

Public or Private IP Checker
Public, private or special-use: many addresses at once.
Subnet Calculator
Network, broadcast, mask and host range of any IPv4 subnet.
IP Address Validator
Is it a valid IPv4 or IPv6 address? Many at once.
IP Sorter
Sort and dedupe a list of IPv4 and IPv6 addresses.
MAC Address Generator
Random MAC addresses to go with your test IPs.

Related Guides

Guide Public vs private IP
which ranges are private, and why.
Guide How to hide your IP
what actually changes the address websites see.