Random IPv4 Address Generator

Generate sample IPv4 addresses within a range you choose. Copy or download the results for learning and testing.

IPv4 options

Choose an IPv4 Range

Enter a start and end address, then choose between 1 and 10,000 results. The range includes both addresses. For example, 192.0.2.10 through 192.0.2.30 gives the generator 21 possible values. If you ask for 40 results from that range, some addresses must repeat.

Each field takes a four-part address such as 192.0.2.10. Enter the two ends separately; a CIDR range such as 192.0.2.0/24 is not accepted in either field. The start must be no greater than the end.

What the Results Mean

Each line is a separate random pick from your range. The list is not sorted and does not guarantee unique addresses. Copy addresses puts every line on the clipboard; Download text file saves the same list as plain text.

The default range, 0.0.0.0 through 255.255.255.255, covers every numeric IPv4 value. That includes addresses with special uses as well as addresses assigned to networks. This tool checks the format and range you entered; it does not check whether a result is available or usable on your network.

Use Documentation Addresses in Public Examples

If a screenshot, tutorial, or sample log will be public, use a range reserved for examples. A practical setting is 192.0.2.10 to 192.0.2.30. Two other documentation blocks are 198.51.100.0/24 and 203.0.113.0/24. These blocks are specified in RFC 5737.

For a local test, choose the range your test environment expects. A random address from the full IPv4 space is not a substitute for an address assigned to your device or service.

Try a Few Useful Checks

Set the start and end to the same address to see how your form handles repeated values. Use a small range to test duplicates, or generate a larger list to check imports and line-by-line parsing. The generator accepts decimal parts from 0 to 255 and rejects incomplete addresses and parts with leading zeros.

Need colon-separated addresses instead? Use the Random IPv6 Address Generator.

Frequently Asked Questions

Yes. Each address is drawn independently. Repeats are especially likely when you request many results from a small range.

Enter its first and last addresses in the two fields. The fields do not accept CIDR notation.

No. The output is sample data. It does not change your network settings or assign an address.

Recently Updated Pages