IPv4 Address Generator
Generate up to 1,000 distinct IPv4 addresses within a CIDR network, a range, a class or the private, documentation or public ranges, computed locally.
Prepare test datasets, lab mock-ups or documentation examples: choose a mode, check the available capacity, then generate addresses without duplicates.
Input
Enable JavaScript to generate addresses locally in your browser. The explanations remain available without JavaScript.
Results
Choose a mode and its settings, then generate the addresses.
Addresses computed locally as examples: none is reserved, assigned or available to you.
Frequently asked questions
What is an IPv4 address generator used for?
To produce valid addresses for tests, mock-ups, training or documentation. For published examples, prefer RFC 5737 documentation addresses (192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24).
Is a generated address free or assignable?
No. The calculation is local: no address is contacted, checked, reserved or assigned. Public addresses may belong to others: test data only, never targets.
Why exclude network and broadcast addresses?
The first address identifies the network and the last is used for broadcast: neither goes to hosts. Exception: a /31 or /32, whose addresses are all usable (RFC 3021); a range excludes none.
Which special ranges can be excluded?
Those of the IANA special-purpose address registry (version of 9 October 2025) and multicast (RFC 5771). Private (RFC 1918), protocol-reserved and not globally reachable addresses are distinct categories.
Are classes A, B and C still used?
Not for real allocation: CIDR replaced them (RFC 4632). The class mode is for teaching and excludes protocol-reserved ranges by default, such as 127.0.0.0/8.
How does the draw avoid duplicates and bias?
Capacity is computed exactly, then each address is drawn uniformly without replacement using the browser’s secure random source. A request above capacity is refused, never truncated.
