Start a project

Tool 416 of 425 · Networking

CIDR Aggregator & Range Merger

Collapses IPv4 lists into the fewest CIDR blocks, with optional exclusions.

CIDR Aggregator & Range Merger

Your input

Result

CIDRFirstLastAddresses
Merged list

01

What it does

Collapses IPv4 lists into the fewest CIDR blocks, with optional exclusions.

  • CIDRs, single IPs and a–b ranges
  • Overlaps and neighbours merged
  • Exclude list subtracted
  • Range to CIDR conversion

02

Private by design

Everything happens in your browser. Nothing you type, paste or upload is sent anywhere, and it keeps working offline once the page has loaded.

03

What you get

Merged CIDRs and address counts, with a Copy and a Download button on every result.

  • CIDR
  • IPv4
  • Allow lists

Why it matters

Firewall rules, allow lists and cloud security groups have limits on entries; merging adjacent blocks keeps them short and readable.

The exclusion box handles the opposite case: allow a range except a few addresses.

How to use it

  1. Type or paste your input; the example shows the format.
  2. Press Merge ranges. Results also update as you type.
  3. Read the summary line, then the table, notes or output below it.
  4. Copy or download what you need. Nothing leaves this page.

FAQ

Does it handle IPv6?

Not yet: this version is IPv4 only. IPv6 lines are listed as skipped.

Why do some ranges need several CIDRs?

A CIDR block must start on a boundary of its own size, so an arbitrary range splits into several blocks.

Is my input uploaded?

No. The tool runs in your browser and nothing you type, paste or open is sent anywhere.

Can I rely on the result?

It follows the public specification or formula named on this page and says where it simplifies. Check anything critical against the official tool or documentation before you ship it.

Work with me

Want a site that gets these right?

I build fast, accessible websites and web apps that pass these checks from day one. Tell me about your project and I'll reply personally with honest next steps.

All developer tools · Back to leej.uk