ipcow.com

Privacy-first IP, DNS & email tools · 30 years of serving your IP

IP Range → CIDR

IP

Convert an inclusive IP range into the minimal set of CIDR blocks.

Use this from the command line
curl -s https://ipcow.com/api/tools/ip-range-to-cidr \
  -H 'content-type: application/json' \
  -d '{"start":"192.0.2.0","end":"192.0.2.130"}'