OneTool

Subnet / CIDR Range Expander & Aggregator

Expand a range into individual IPs, or aggregate ranges into minimal CIDR blocks.

Mode

256 total addresses

What is this tool?

Expand mode lists every host IP in a single CIDR or IP range (capped at 4,096 addresses to keep the page responsive — larger ranges show a count plus first/last addresses instead). Aggregate mode takes multiple CIDRs, IP ranges, and/or bare IPs (auto-promoted to /32, so raw access logs or IP lists paste in directly), merges overlapping or adjacent ones, and summarizes the result into the minimal set of properly-aligned CIDR blocks — the standard greedy CIDR-summarization algorithm used by routers and firewall rule generators. Distinct from the IPv4 Subnet Calculator, which computes network/broadcast/host-range details for a single CIDR rather than expanding or merging ranges.

How to use it

  1. Choose Expand or Aggregate.
  2. Expand: enter one CIDR or IP range. Aggregate: enter multiple CIDRs/ranges/bare IPs, one per line.
  3. Copy the resulting address list or minimal CIDR blocks.