IPv4 Range Expander

Expand an IPv4 address, CIDR or inclusive range into an address list with exact totals, explicit output limits and optional CIDR endpoint exclusion.

Expand an inclusive range

Enter 192.0.2.7, 192.0.2.0/30, or 192.0.2.10 - 192.0.2.15. A CIDR is normalized to its network boundary even if the entered address has host bits. A start–end range includes both endpoints. Decimal octets must be 0–255 without leading zeroes.

The result contains the first and last selected addresses, exact total, emitted count, truncation flag and an ordered address array. For the /30 example, excluding endpoints produces 192.0.2.1 and 192.0.2.2. Copy or download the JSON result for inventory or fixture generation.

Large ranges and endpoint rules

The display limit is 1–10,000 addresses; a larger range is not fully materialized. For 0.0.0.0/0 the exact total is 4,294,967,296 while only the configured first portion is emitted. A true truncation flag means more addresses exist. No network scan or reachability check is performed.

The endpoint option applies only to CIDR /0 through /30. /31 preserves both addresses and /32 preserves its single address. Explicit start–end ranges are left inclusive. This is arithmetic, not a claim that every listed address is assignable, reachable or public. Use the existing subnet calculator for masks and subnet details.

Reference

Questions & answers

Why does a /24 start at .0 when I entered .37?

A CIDR identifies a whole aligned network. The host bits are cleared before its address range is expanded.

Are the output addresses scanned?

No. The list is computed locally using integer arithmetic. It makes no network requests.

Is my input uploaded?

No. Parsing and generation run in your browser. Engines and datasets load from this site; the tool does not store input or send it to a processing API.

Other Languages