PufferKit
HomeDeveloperIP Range to CIDR
Default
India11
East Asia3
Other Countries3
Buy me a coffee

IP Range to CIDR

Compute the minimal sorted set of CIDR blocks covering any start–end IPv4 range.

Minimal CIDR blocks (1)

192.168.1.0/24

Your input is processed locally in this browser tab.

How to use IP Range to CIDR

  1. Enter the First IPv4 address and Last IPv4 address of any inclusive range.

  2. Computes the smallest exact set of non-overlapping CIDR blocks covering that range.

  3. Copy the generated CIDR list cleanly for firewall rules or routing tables.

Frequently asked questions

What happens if the range starts cleanly on a CIDR block boundary like .0 to .255?

It collapses directly into a single canonical block (e.g. 192.168.1.0/24).

What if First address is higher than Last address?

A clear validation error explains that first must be less than or equal to last.

A LITTLE SUPPORT GOES A LONG WAY

Enjoying PufferKit?

If these tools made your day a little easier, you can buy me a coffee and support what I’m building.

Support
With or without a coffee, you’re always welcome here.

Processing locally

File and data operations run locally inside this browser tab. Static assets such as fonts and qpdf.wasm load from this site origin, while PufferKit never uploads your files or tracks usage. HTTP client tools send requests to endpoints you choose. Preferences and saved drafts stay in this browser’s storage until you clear them.

How it works →

Find a tool

Compress Image to KBImagesImage ConverterImagesImage ResizerImagesImage CropperImagesImage RotatorImagesImage DimensionsImagesImage ViewerImagesImage FlipperImagesImage MetadataImages · SecurityRemove MetadataImages · SecurityImage OptimizerImagesImage to Base64Images · DeveloperSVG to PNGImages · DesignJPG to PNGImagesPNG to JPGImagesJPG to WebPImagesPNG to WebPImagesWebP to JPGImagesWebP to PNGImagesAVIF to JPGImagesAVIF to PNGImagesBMP to PNGImagesImage FiltersImagesImage EffectsImagesPixelate ImageImagesBlur ImageImagesSharpen ImageImagesAdjust BrightnessImagesAdjust ContrastImagesAdjust SaturationImages