← All Docs

CIDR Summarizer

Merge a list of IPv4 or IPv6 networks into the smallest set of CIDR blocks: duplicates removed, contained blocks dropped, sibling subnets joined.

Try CIDR Summarizer →

What Does the CIDR Summarizer Do?

The CIDR Summarizer takes a messy list of networks and single addresses and returns the shortest list of CIDR blocks that covers exactly the same addresses. Duplicates are removed, blocks that sit inside a larger block are dropped, and neighboring blocks that together form an aligned supernet are merged, so 192.168.0.0/24 through 192.168.3.0/24 become 192.168.0.0/22.

The result never covers an address that was not in the input. That makes it safe for firewall allow lists, route filters, and cloud security groups, where a too-wide summary would open access you did not intend.

How Do I Summarize a List of Networks?

  1. Open IP Tools > CIDR Toolkit from the top menu; the Summarize tab opens first.
  2. Paste your networks and IPs, one per line or separated by commas or spaces. IPv4 and IPv6 can be mixed, and text after # is ignored.
  3. Press Summarize, or Ctrl+Enter (Cmd+Enter on Mac) inside the box.
  4. Read the counts: entries in, unique entries, blocks out, and the total number of addresses covered.
  5. Check the notice for entries that had host bits set (such as 10.0.2.7/24); they are normalized to their network address.
  6. Use Copy or Download .txt to take the summarized list into your config.

Why Are Some Neighbors Not Merged?

Two blocks merge only when they are the two halves of a larger aligned block. 10.0.0.0/24 and 10.0.1.0/24 are the halves of 10.0.0.0/23, so they merge. 10.0.1.0/24 and 10.0.2.0/24 are adjacent, but no single CIDR block starts at 10.0.1.0 and covers both, so the summarizer keeps them as two entries rather than widening the range.

When Would I Use the CIDR Summarizer?

  • Firewall and ACL cleanup: shrink long allow lists without changing what they match.
  • Route aggregation: find the supernets to advertise for a set of site subnets.
  • Cloud provider ranges: collapse published IP range feeds into fewer rules.
  • Audits: spot duplicate and overlapping entries in inherited configs.

Frequently Asked Questions

What is CIDR summarization?

CIDR summarization, also called route aggregation or supernetting, replaces several contiguous networks with the fewest CIDR blocks that cover exactly the same addresses. Four consecutive /24 networks that start on a /22 boundary become one /22.

Can the summary include addresses that were not in my list?

No. The summarizer only merges blocks whose union is exactly an aligned larger block, so the output covers the same addresses as the input, nothing more and nothing less.

Does the summarizer handle IPv6?

Yes. IPv4 and IPv6 entries can be mixed in one list. Each family is summarized separately, IPv4 blocks are listed first, and IPv6 output uses the RFC 5952 compressed form.

What happens to an entry like 10.0.2.7/24?

It has host bits set, so it is normalized to its network address, 10.0.2.0/24, and listed in a notice so you can fix the source.

Are my IP lists sent to a server?

No. Every calculation runs in your browser with exact 128-bit math. Nothing you paste is uploaded, logged, or saved, and the page works the same offline once loaded.