toolqik

15 · Random Values

Random IP Generator

Random IPv4 and IPv6 addresses: documentation, private, public or your own CIDR.

Runs in your browser
Version
IPv6
IP addresses

    About this tool

    Logs, firewall rules, rate-limiter tests, analytics fixtures and documentation all need IP addresses that look real. This random IP generator produces IPv4 and IPv6 addresses from the range you choose, or from inside any CIDR block you type in.

    Which range to use

    RangeIPv4IPv6Use it for
    Documentation192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 (RFC 5737)2001:db8::/32 (RFC 3849)Docs, slides, screenshots, sample logs. Never routed on the internet, so they can’t point at anyone’s server.
    Private10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 (RFC 1918)fd00::/8 unique local (RFC 4193)Internal networks, VPCs, Docker and Kubernetes test configs.
    PublicAny unicast address outside reserved, private and multicast rangesGlobal unicast 2000::/3Load and geo-IP tests that need realistic spread. These may belong to real organisations, so don’t publish them as examples.

    Generating inside a CIDR block

    Choose Inside a CIDR block and enter a network such as 10.20.0.0/16 or 2001:db8:abcd::/48. Addresses are spread evenly across the block. For IPv4 blocks larger than /31, the network and broadcast addresses are skipped, so every result is a usable host address.

    IPv6 formatting

    IPv6 addresses are shown in the canonical form from RFC 5952: lowercase, leading zeros dropped, and the longest run of zero groups replaced by ::. Turn on Full form to get all eight four-digit groups, which some databases and spreadsheets expect.

    FAQ

    What IP address should I use in documentation?

    Use 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 and never used on the internet.

    Can I generate IPs from a specific subnet?

    Yes. Choose “Inside a CIDR block” and type the network, such as 192.168.10.0/24 or fd12:3456:789a::/48.

    Are the public addresses real?

    They are random addresses in public unicast space, so many belong to real networks. Use them only for internal testing, not in published examples.

    What is a private IP address?

    An address in 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16 (or fd00::/8 for IPv6) that is used inside networks and is not reachable directly from the internet.

    esc
    ↑↓ navigate↵ open