Route Summary: fit a CIDR list into a rule limit
Paste an IPv4 allow or block list and your rule limit. Get CIDRs that fit, with the fewest extra addresses, and see every range that was added.
What it does
Exact CIDR merging adds no addresses, so it stops when the list is still longer than your rule limit. This page merges exactly first. If that is not enough, it widens blocks, choosing the set that adds the fewest addresses for the number of entries you have free. Example: 10.0.0.0/25, 10.0.0.128/26 and 10.0.1.0/24 fit in the single block 10.0.0.0/23, which adds the 64 addresses from 10.0.0.192 to 10.0.0.255.
How to use it
- Paste your list, one address or CIDR per line, or choose a text file.
- Enter the number of rule slots you have free, choose allowlist or blocklist, and press Fit.
- Read every added range, then copy the CIDR list or download the CSV for your change ticket.
What it does not do
- IPv4 only. It reads single addresses and CIDRs, not first-to-last ranges, host names or JSON.
- Fewest extra addresses is the only measure. It does not know who owns an added address or whether you can safely admit or block it.
- A tight limit on a scattered list can add millions of addresses, up to the whole IPv4 space.
- It does not connect to a cloud account, change a firewall or know your quota. Count only the slots that are free.
- Up to 1 MB of text, 50,000 entries, 20,000 CIDRs after exact merging, and a limit of 10,000.
Questions
How do I fit more IP addresses than my network ACL rule limit allows?
Paste the list and enter the free slots. AWS network ACLs default to 20 rules per direction and can be raised to at most 40, and other rules use some of them. Check the current figure at docs.aws.amazon.com/vpc/latest/userguide/amazon-vpc-limits.html (read 2026-12-02).
Can I reduce a CIDR list without adding any addresses?
Only as far as exact merging goes. The page shows that count. Going below it always admits or blocks addresses that were not on your list.
Should I ask for a quota increase instead?
Compare the table of limits. It shows the extra addresses at your limit, at 5 more slots and at 10 more.
Is my IP list uploaded?
No. The page computes the result in your browser and does not send the list anywhere.
