Bulk CIDR Aggregator & Optimizer

Clean, merge, and optimize large sets of IPv4 addresses or CIDR blocks. This tool handles thousands of entries to find the absolute minimal set of covering prefixes for your firewall rules or BGP advertisements.

Paste IPs or CIDRs (one per line). Overlapping or adjacent ranges will be automatically merged.

🗜️

Paste your IPv4 CIDR blocks above and click Aggregate & Optimize
to calculate the smallest set of covering supernets.

How to use Route Aggregator

Paste IPv4 routes to merge contiguous address ranges into the smallest exact list of CIDR blocks.

Worked example

10.0.0.0/25 and 10.0.0.128/25 aggregate losslessly to 10.0.0.0/24.

Common mistake

A broad summary is safe only if all addresses it advertises are actually covered by the input routes.

Authoritative references