IP range to CIDR & IP in network check

Convert an IPv4 range to the minimal list of CIDR blocks and check whether an IP address belongs to a network.

Runs in your browser ยท nothing is sentIP & subnetting

IP range to CIDR

8 CIDR blocks

192.168.1.10/31 192.168.1.12/30 192.168.1.16/28 192.168.1.32/27 192.168.1.64/26 192.168.1.128/26 192.168.1.192/29 192.168.1.200/32

Is an IP address in a network?

The address is inside this network.

About this tool

Two tools in one: turn a start and end IP into CIDR blocks for firewall rules, or test if an address falls inside a network.

๐Ÿ”’ Your input stays in your browser and is never sent anywhere.

Frequently asked questions

Why do I get several CIDR blocks?

A range that does not align to a power of two cannot be written as a single block, so it is split into the fewest blocks possible.

What to do next

Also useful

Found a problem or have a suggestion? Tell us